mirror of
https://github.com/vim/vim.git
synced 2025-07-24 10:45:12 -04:00
patch 9.1.0250: filetype: ldscripts cannot be recognized
Problem: filetype: ldscripts cannot be recognized Solution: Detect '*/ldscripts/*' as ld (Wu, Zhenyu) closes: #14371 Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
a917bd58bd
commit
4c7098b00a
@ -1183,7 +1183,7 @@ au BufNewFile,BufRead *.sig call dist#ft#FTsig()
|
||||
au BufNewFile,BufRead *.ldif setf ldif
|
||||
|
||||
" Ld loader
|
||||
au BufNewFile,BufRead *.ld setf ld
|
||||
au BufNewFile,BufRead *.ld,*/ldscripts/* setf ld
|
||||
|
||||
" Lean
|
||||
au BufNewFile,BufRead *.lean setf lean
|
||||
|
@ -368,7 +368,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
||||
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'],
|
||||
|
@ -704,6 +704,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
250,
|
||||
/**/
|
||||
249,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user