mirror of
https://github.com/neovim/neovim.git
synced 2025-12-10 08:32:42 +00:00
vim-patch:8.2.4188: not all gitconfig files are recognized (#17178)
Problem: Not all gitconfig files are recognized.
Solution: Add a few more patterns. (Tim Pope, closes vim/vim#9597)
bcfa11b7df
This commit is contained in:
@@ -893,8 +893,6 @@ local filename = {
|
||||
["EDIT_DESCRIPTION"] = "gitcommit",
|
||||
[".gitconfig"] = "gitconfig",
|
||||
[".gitmodules"] = "gitconfig",
|
||||
["/.config/git/config"] = "gitconfig",
|
||||
["/etc/gitconfig"] = "gitconfig",
|
||||
["gitolite.conf"] = "gitolite",
|
||||
["git-rebase-todo"] = "gitrebase",
|
||||
gkrellmrc = "gkrellmrc",
|
||||
@@ -1149,7 +1147,10 @@ local pattern = {
|
||||
[".*Eterm/.*%.cfg"] = "eterm",
|
||||
[".*%.git/modules/.*/config"] = "gitconfig",
|
||||
[".*%.git/config"] = "gitconfig",
|
||||
[".*/etc/gitconfig"] = "gitconfig",
|
||||
[".*/%.config/git/config"] = "gitconfig",
|
||||
[".*%.git/config%.worktree"] = "gitconfig",
|
||||
[".*%.git/worktrees/.*/config%.worktree"] = "gitconfig",
|
||||
["%.gitsendemail%.msg%......."] = "gitsendemail",
|
||||
["gkrellmrc_."] = "gkrellmrc",
|
||||
[".*/usr/.*/gnupg/options%.skel"] = "gpg",
|
||||
|
||||
Reference in New Issue
Block a user