vim-patch:9.1.1019: filetype: fd ignore files are not recognized (#32042)

Problem:  filetype: fd ignore files are not recognized
Solution: detect .fdignore files as gitignore filetype

closes: vim/vim#16444

3058087f6f

Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
This commit is contained in:
Christian Clason
2025-01-16 00:34:25 +01:00
committed by GitHub
parent f0fdc1de6c
commit 524be56042
2 changed files with 3 additions and 1 deletions

View File

@@ -1576,6 +1576,7 @@ local filename = {
['.gitignore'] = 'gitignore',
['.ignore'] = 'gitignore',
['.dockerignore'] = 'gitignore',
['.fdignore'] = 'gitignore',
['.npmignore'] = 'gitignore',
['.rgignore'] = 'gitignore',
['.vscodeignore'] = 'gitignore',
@@ -2244,6 +2245,7 @@ local pattern = {
['^dictd.*%.conf$'] = 'dictdconf',
['/lxqt/.*%.conf$'] = 'dosini',
['/screengrab/.*%.conf$'] = 'dosini',
['/%.config/fd/ignore$'] = 'gitignore',
['^${GNUPGHOME}/gpg%.conf$'] = 'gpg',
['/boot/grub/grub%.conf$'] = 'grub',
['/hypr/.*%.conf$'] = 'hyprlang',