aboutsummaryrefslogtreecommitdiff
path: root/vim/ftdetect/gitcommit.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/ftdetect/gitcommit.vim')
-rw-r--r--vim/ftdetect/gitcommit.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/ftdetect/gitcommit.vim b/vim/ftdetect/gitcommit.vim
new file mode 100644
index 00000000..1c21544a
--- /dev/null
+++ b/vim/ftdetect/gitcommit.vim
@@ -0,0 +1,4 @@
+" Git commit messages
+autocmd BufNewFile,BufRead
+ \ COMMIT_EDITMSG,MERGE_MSG,TAG_EDITMSG
+ \ setfiletype gitcommit