aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-01-07 10:27:34 +0100
committerGitHub <noreply@github.com>2022-01-07 10:27:34 +0100
commitbba679c431069396ad28952620316e1f1fd97945 (patch)
tree4e871f99bd28222e96e067e6601fb69c55a877c9 /runtime/lua
parente58071c92c98fa54fcb29ab87ac6de7c02ede27b (diff)
downloadrneovim-bba679c431069396ad28952620316e1f1fd97945.tar.gz
rneovim-bba679c431069396ad28952620316e1f1fd97945.tar.bz2
rneovim-bba679c431069396ad28952620316e1f1fd97945.zip
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) https://github.com/vim/vim/commit/c689f8c3d98fffe7e13730e198ce120934528f9c
Diffstat (limited to 'runtime/lua')
-rw-r--r--runtime/lua/vim/filetype.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua
index 54b20f7391..196e782f4e 100644
--- a/runtime/lua/vim/filetype.lua
+++ b/runtime/lua/vim/filetype.lua
@@ -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",