~havi/nvim.d

ba68e95b949cf2060b394e7255f9c7ed2a3394b5 — havi a month ago f375d2b
feat(ftdetect): autocmds for `git`
1 files changed, 6 insertions(+), 0 deletions(-)

A ftdetect/git.vim
A ftdetect/git.vim => ftdetect/git.vim +6 -0
@@ 0,0 1,6 @@
au BufNewFile,BufRead *.git/{,modules/**/,worktrees/*/}{COMMIT_EDIT,TAG_EDIT,MERGE_,}MSG set ft=gitcommit
au BufNewFile,BufRead *.git/config,.gitconfig,gitconfig,.gitmodules set ft=gitconfig
au BufNewFile,BufRead */.config/git/config set ft=gitconfig
au BufNewFile,BufRead *.git/modules/**/config set ft=gitconfig
au BufNewFile,BufRead git-rebase-todo set ft=gitrebase
au BufNewFile,BufRead .gitsendemail.* set ft=gitsendemail
\ No newline at end of file