augroup COMMIT_EDITMSG autocmd! BufRead,BufNewFile COMMIT_EDITMSG set filetype=gitcommit augroup END