summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-09-28 03:01:20 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-09-28 03:01:20 +0200
commitb677662c8c5196cdeaa7c43a90be3fff22f66ee8 (patch)
tree8d54e8e7b5b7ab0fbf1a8bdd84bafe884fe025b1 /.config
parentd0be40e9d357247152a683e859815712d2acc7e8 (diff)
nvim: Autodetect GSP files
Diffstat (limited to '.config')
-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