diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-09-28 03:01:20 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-09-28 03:01:20 +0200 |
commit | b677662c8c5196cdeaa7c43a90be3fff22f66ee8 (patch) | |
tree | 8d54e8e7b5b7ab0fbf1a8bdd84bafe884fe025b1 | |
parent | d0be40e9d357247152a683e859815712d2acc7e8 (diff) |
nvim: Autodetect GSP files
-rw-r--r-- | .config/nvim/.gitignore | 3 | ||||
-rw-r--r-- | .config/nvim/ftdetect/gsp.vim | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/.config/nvim/.gitignore b/.config/nvim/.gitignore index c4f171b..b32663f 100644 --- a/.config/nvim/.gitignore +++ b/.config/nvim/.gitignore @@ -1,4 +1,5 @@ -/ftdetect +/ftdetect/* +!/ftdetect/gsp.vim /ftplugin /indent /plugin diff --git a/.config/nvim/ftdetect/gsp.vim b/.config/nvim/ftdetect/gsp.vim new file mode 100644 index 0000000..6efd387 --- /dev/null +++ b/.config/nvim/ftdetect/gsp.vim @@ -0,0 +1 @@ +au BufRead,BufNewFile *.gsp setf gsp |