diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-10-27 14:27:20 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-10-27 14:27:20 +0200 |
commit | d474686a09ef3f7529e65abe00cf8cd2ea8a95eb (patch) | |
tree | 3157c6e5e94d83ea17f0043c2e649eb59a7c5325 /src/testdir | |
parent | 5f57bdcab77bc417ae0357fe8ad6c7259b6d25df (diff) |
patch 8.1.0498: /etc/gitconfig not recognized at a gitconfig filev8.1.0498
Problem: /etc/gitconfig not recognized at a gitconfig file.
Solution: Add pattern to filetype detection. (closes #3568)
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test_filetype.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index 3240f1f1d4..9c537646f5 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -171,7 +171,7 @@ let s:filename_checks = { \ 'gdmo': ['file.mo', 'file.gdmo'], \ 'gedcom': ['file.ged', 'lltxxxxx.txt'], \ 'gitcommit': ['COMMIT_EDITMSG', 'MERGE_MSG', 'TAG_EDITMSG'], - \ 'gitconfig': ['file.git/config', '.gitconfig', '.gitmodules', 'file.git/modules//config', '/.config/git/config'], + \ 'gitconfig': ['file.git/config', '.gitconfig', '.gitmodules', 'file.git/modules//config', '/.config/git/config', '/etc/gitconfig'], \ 'gitolite': ['gitolite.conf'], \ 'gitrebase': ['git-rebase-todo'], \ 'gitsendemail': ['.gitsendemail.msg.xxxxxx'], |