diff options
author | Wu, Zhenyu <wuzhenyu@ustc.edu> | 2024-03-31 19:57:16 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-03-31 19:57:16 +0200 |
commit | 4c7098b00a5edfb25b24fe3210866a4f30a2d78f (patch) | |
tree | 5952450c9e29e733150c286863e5ee96e58d2893 /runtime/filetype.vim | |
parent | a917bd58bde0e1fca2affedc6fc0c15cb6b5e9f2 (diff) |
patch 9.1.0250: filetype: ldscripts cannot be recognizedv9.1.0250
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>
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r-- | runtime/filetype.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 9e842cc960..1545ea5ef1 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -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 |