Mercurial > vim
comparison runtime/filetype.vim @ 34741:d51cc27a7bdf v9.1.0249
patch 9.1.0249: filetype: rock_manifest and config.ld files are not recognized
Commit: https://github.com/vim/vim/commit/a917bd58bde0e1fca2affedc6fc0c15cb6b5e9f2
Author: Wu, Zhenyu <wuzhenyu@ustc.edu>
Date: Sun Mar 31 19:54:12 2024 +0200
patch 9.1.0249: filetype: rock_manifest and config.ld files are not recognized
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>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 31 Mar 2024 20:00:07 +0200 |
parents | 7de0133f87f3 |
children | a815610f567b |
comparison
equal
deleted
inserted
replaced
34740:d9ad1d87222f | 34741:d51cc27a7bdf |
---|---|
1267 | 1267 |
1268 " Luacheck | 1268 " Luacheck |
1269 au BufNewFile,BufRead .luacheckrc setf lua | 1269 au BufNewFile,BufRead .luacheckrc setf lua |
1270 | 1270 |
1271 " Luarocks | 1271 " Luarocks |
1272 au BufNewFile,BufRead *.rockspec setf lua | 1272 au BufNewFile,BufRead *.rockspec,rock_manifest setf lua |
1273 | |
1274 " Luadoc, Ldoc | |
1275 au BufNewFile,BufRead config.ld setf lua | |
1273 | 1276 |
1274 " Linden Scripting Language (Second Life) | 1277 " Linden Scripting Language (Second Life) |
1275 au BufNewFile,BufRead *.lsl call dist#ft#FTlsl() | 1278 au BufNewFile,BufRead *.lsl call dist#ft#FTlsl() |
1276 | 1279 |
1277 " Lynx style file (or LotusScript!) | 1280 " Lynx style file (or LotusScript!) |