~havi/nvim.d

ref: 2df78cd2458498ac93cb52bdce8e4155884e499a nvim.d/ftdetect/git.vim -rw-r--r-- 502 bytes
2df78cd2havi refactor(mappings/core): change fine-cmdline 7 months ago
                                                                                
1
2
3
4
5
6
7
"  https://github.com/razak17/nvim/blob/rolling/after/ftdetect/ftdetect.lua
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