]> git.phdru.name Git - dotfiles.git/commitdiff
.vim: Recognize all git temporary commit files
authorOleg Broytman <phd@phdru.name>
Tue, 31 May 2016 15:07:30 +0000 (18:07 +0300)
committerOleg Broytman <phd@phdru.name>
Tue, 31 May 2016 15:07:30 +0000 (18:07 +0300)
.vim/filetype.vim

index 971c75e8a828548c57fef164f54de96a3bf10bd1..20911a0e6519e9e2a12ed11238455a4d3a79b20a 100644 (file)
@@ -31,6 +31,7 @@ augroup filetypedetect
    autocmd BufReadPost /tmp/cvs* setlocal filetype=cvscommit
    autocmd BufReadPost svn-commit.tmp*,svn-commit.*.tmp* setlocal filetype=svncommit
    autocmd BufReadPost /tmp/hg-editor-*.txt setlocal filetype=hgcommit
+   autocmd BufReadPost .git/*MSG setlocal filetype=gitcommit
 
    " Medap-RM Method files
    autocmd BufNewFile,BufReadPost *.rsc setlocal filetype=conf filetype=medaprm-method