diff options
author | Wu, Zhenyu <wuzhenyu@ustc.edu> | 2024-03-31 19:54:12 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-03-31 19:55:57 +0200 |
commit | a917bd58bde0e1fca2affedc6fc0c15cb6b5e9f2 (patch) | |
tree | 081d11950d0d6f0ddec293b7523efa4bf1ed2741 /runtime/filetype.vim | |
parent | 3b497aa2470ff613fed79569bc8589dae8dc3190 (diff) |
patch 9.1.0249: filetype: rock_manifest and config.ld files are not recognizedv9.1.0249
Problem: filetype: rock_manifest and config.ld files are not recognized
Solution: Detect 'rock_manifest' and 'config.ld' as lua
(Wu, Zhenyu)
closes: #14370
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 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index ca4678cce5..9e842cc960 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1269,7 +1269,10 @@ au BufNewFile,BufRead .luaurc setf jsonc au BufNewFile,BufRead .luacheckrc setf lua " Luarocks -au BufNewFile,BufRead *.rockspec setf lua +au BufNewFile,BufRead *.rockspec,rock_manifest setf lua + +" Luadoc, Ldoc +au BufNewFile,BufRead config.ld setf lua " Linden Scripting Language (Second Life) au BufNewFile,BufRead *.lsl call dist#ft#FTlsl() |