mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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
4c7098b00a
Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
This commit is contained in:
parent
000431820e
commit
2e97ae2664
@ -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',
|
||||
|
@ -358,7 +358,7 @@ func s:GetFilenameChecks() abort
|
||||
\ 'kwt': ['file.k'],
|
||||
\ 'lace': ['file.ace', 'file.ACE'],
|
||||
\ 'latte': ['file.latte', 'file.lte'],
|
||||
\ 'ld': ['file.ld'],
|
||||
\ 'ld': ['file.ld', 'any/usr/lib/aarch64-xilinx-linux/ldscripts/aarch64elf32b.x'],
|
||||
\ 'ldif': ['file.ldif'],
|
||||
\ 'lean': ['file.lean'],
|
||||
\ 'ledger': ['file.ldg', 'file.ledger', 'file.journal'],
|
||||
|
Loading…
Reference in New Issue
Block a user