vim-patch:8.2.4014: git and gitcommit file types not properly recognized (#16953)

Problem:    Git and gitcommit file types not properly recognized.
Solution:   Adjust filetype detection. (Tim Pope, closes vim/vim#9477)
c689f8c3d9
This commit is contained in:
Christian Clason
2022-01-07 10:27:34 +01:00
committed by GitHub
parent e58071c92c
commit bba679c431
5 changed files with 59 additions and 9 deletions

View File

@@ -868,6 +868,8 @@ local filename = {
["TAG_EDITMSG"] = "gitcommit",
["MERGE_MSG"] = "gitcommit",
["COMMIT_EDITMSG"] = "gitcommit",
["NOTES_EDITMSG"] = "gitcommit",
["EDIT_DESCRIPTION"] = "gitcommit",
[".gitconfig"] = "gitconfig",
[".gitmodules"] = "gitconfig",
["/.config/git/config"] = "gitconfig",