1 2
autocmd BufNewFile,BufRead COMMIT_EDITMSG,MERGE_MSG,TAG_EDITMSG,PULLREQ_EDITMSG \ setfiletype gitcommit