diff options
author | ObserverOfTime <chronobserver@disroot.org> | 2022-09-10 11:04:24 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-10 11:04:24 +0100 |
commit | 9ba2786f15f0b53a90fd221832a5bedfc6dbfe20 (patch) | |
tree | c19d4117e873b0f54a1b0c545bde556d3500c2aa /src/testdir/test_filetype.vim | |
parent | 12553ada3b1ceee0179527abc9980b8392fd6c7e (diff) |
patch 9.0.0434: gitignore files are not recognizedv9.0.0434
Problem: gitignore files are not recognized.
Solution: Add patterns for the gitignore filetype. (closes #11102)
Diffstat (limited to 'src/testdir/test_filetype.vim')
-rw-r--r-- | src/testdir/test_filetype.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index d2bfa91073..e42b8a0da5 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -216,6 +216,7 @@ let s:filename_checks = { \ 'gitattributes': ['file.git/info/attributes', '.gitattributes', '/.config/git/attributes', '/etc/gitattributes', '/usr/local/etc/gitattributes', 'some.git/info/attributes'], \ 'gitcommit': ['COMMIT_EDITMSG', 'MERGE_MSG', 'TAG_EDITMSG', 'NOTES_EDITMSG', 'EDIT_DESCRIPTION'], \ 'gitconfig': ['file.git/config', 'file.git/config.worktree', 'file.git/worktrees/x/config.worktree', '.gitconfig', '.gitmodules', 'file.git/modules//config', '/.config/git/config', '/etc/gitconfig', '/usr/local/etc/gitconfig', '/etc/gitconfig.d/file', 'any/etc/gitconfig.d/file', '/.gitconfig.d/file', 'any/.config/git/config', 'any/.gitconfig.d/file', 'some.git/config', 'some.git/modules/any/config'], + \ 'gitignore': ['file.git/info/exclude', '.gitignore', '/.config/git/ignore', 'some.git/info/exclude'], \ 'gitolite': ['gitolite.conf', '/gitolite-admin/conf/file', 'any/gitolite-admin/conf/file'], \ 'gitrebase': ['git-rebase-todo'], \ 'gitsendemail': ['.gitsendemail.msg.xxxxxx'], |