aboutsummaryrefslogtreecommitdiff
path: root/contrib/vim/ftdetect/gmid.vim
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/vim/ftdetect/gmid.vim')
-rw-r--r--contrib/vim/ftdetect/gmid.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/vim/ftdetect/gmid.vim b/contrib/vim/ftdetect/gmid.vim
new file mode 100644
index 0000000..2a1290c
--- /dev/null
+++ b/contrib/vim/ftdetect/gmid.vim
@@ -0,0 +1,7 @@
+" Vim filetype detection file
+" Language: gmid(1) configuration files
+" Licence: ISC
+
+au BufNewFile,BufRead *.gmid set filetype=gmid
+au BufNewFile,BufRead */etc/gmid/* set filetype=gmid
+au BufNewFile,BufRead gmid.conf set filetype=gmid