1
0
forked from aniani/vim

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:
Wu, Zhenyu
2024-03-31 19:57:16 +02:00
committed by Christian Brabandt
parent a917bd58bd
commit 4c7098b00a
3 changed files with 4 additions and 2 deletions

View File

@@ -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