diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-03-31 19:58:49 +0200 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2024-04-01 12:01:47 +0200 |
commit | 2e97ae26647cb52e028d59a6e4e57d28c93e6283 (patch) | |
tree | 346f02959f5715c88bba17c18ede3590f9c7ce56 /runtime/lua/vim | |
parent | 000431820e1e0886be99e68c2667633f1e4b18c6 (diff) | |
download | rneovim-2e97ae26647cb52e028d59a6e4e57d28c93e6283.tar.gz rneovim-2e97ae26647cb52e028d59a6e4e57d28c93e6283.tar.bz2 rneovim-2e97ae26647cb52e028d59a6e4e57d28c93e6283.zip |
vim-patch:9.1.0250: filetype: ldscripts cannot be recognized
Problem: filetype: ldscripts cannot be recognized
Solution: Detect '*/ldscripts/*' as ld
(Wu, Zhenyu)
closes: vim/vim#14371
https://github.com/vim/vim/commit/4c7098b00a5edfb25b24fe3210866a4f30a2d78f
Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r-- | runtime/lua/vim/filetype.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index 3fc208c7a4..86374b26e5 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -1775,6 +1775,7 @@ local pattern = { ['.*%.[Ss][Uu][Bb]'] = 'krl', ['lilo%.conf.*'] = starsetf('lilo'), ['.*/etc/logcheck/.*%.d.*/.*'] = starsetf('logcheck'), + ['.*/ldscripts/.*'] = 'ld', ['.*lftp/rc'] = 'lftp', ['.*/%.libao'] = 'libao', ['.*/etc/libao%.conf'] = 'libao', |