mirror of
https://github.com/vim/vim.git
synced 2025-07-25 10:54:51 -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
|
au BufNewFile,BufRead *.ldif setf ldif
|
||||||
|
|
||||||
" Ld loader
|
" Ld loader
|
||||||
au BufNewFile,BufRead *.ld setf ld
|
au BufNewFile,BufRead *.ld,*/ldscripts/* setf ld
|
||||||
|
|
||||||
" Lean
|
" Lean
|
||||||
au BufNewFile,BufRead *.lean setf lean
|
au BufNewFile,BufRead *.lean setf lean
|
||||||
|
@ -368,7 +368,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
|||||||
kwt: ['file.k'],
|
kwt: ['file.k'],
|
||||||
lace: ['file.ace', 'file.ACE'],
|
lace: ['file.ace', 'file.ACE'],
|
||||||
latte: ['file.latte', 'file.lte'],
|
latte: ['file.latte', 'file.lte'],
|
||||||
ld: ['file.ld'],
|
ld: ['file.ld', 'any/usr/lib/aarch64-xilinx-linux/ldscripts/aarch64elf32b.x'],
|
||||||
ldif: ['file.ldif'],
|
ldif: ['file.ldif'],
|
||||||
lean: ['file.lean'],
|
lean: ['file.lean'],
|
||||||
ledger: ['file.ldg', 'file.ledger', 'file.journal'],
|
ledger: ['file.ldg', 'file.ledger', 'file.journal'],
|
||||||
|
@ -704,6 +704,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
250,
|
||||||
/**/
|
/**/
|
||||||
249,
|
249,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user