summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/.gitignore3
-rw-r--r--.config/nvim/ftdetect/gsp.vim1
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