diff options
author | Christian Clason <c.clason@uni-graz.at> | 2025-01-16 00:34:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-16 07:34:25 +0800 |
commit | 524be56042335db589b9fe62dfdae39be3f69a15 (patch) | |
tree | dc3e73249c8c5b984165b31e9bb9b27118f2c32d /runtime | |
parent | f0fdc1de6c950a015ada9550473aedde43b946ce (diff) | |
download | rneovim-524be56042335db589b9fe62dfdae39be3f69a15.tar.gz rneovim-524be56042335db589b9fe62dfdae39be3f69a15.tar.bz2 rneovim-524be56042335db589b9fe62dfdae39be3f69a15.zip |
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
https://github.com/vim/vim/commit/3058087f6f04be788118e94e942e0f0c9fca25f0
Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/lua/vim/filetype.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index 1960bca52b..e5ba3b1211 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -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', |