aboutsummaryrefslogtreecommitdiffstats
path: root/ftdetect/changes.vim
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2018-11-06 09:00:11 +0100
committerMatěj Cepl <mcepl@cepl.eu>2024-03-28 16:45:26 +0100
commita17148ea04d7db259537b02541a6855a294733be (patch)
tree36171e9cf0bf2d5ffa410932cca2c31d402c023b /ftdetect/changes.vim
downloadvim-suse-changes-a17148ea04d7db259537b02541a6855a294733be.tar.gz
feat: add detection of SUSE *.changes files and add first snippet.
Requires vim-snipmate compatible engine.
Diffstat (limited to 'ftdetect/changes.vim')
-rw-r--r--ftdetect/changes.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/ftdetect/changes.vim b/ftdetect/changes.vim
new file mode 100644
index 0000000..f29a98b
--- /dev/null
+++ b/ftdetect/changes.vim
@@ -0,0 +1,3 @@
+augroup filetypedetect
+ au BufRead,BufNewFile *.changes :set filetype=changes
+augroup END