aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-03-31 19:56:43 +0200
committerChristian Clason <c.clason@uni-graz.at>2024-04-01 12:01:47 +0200
commit000431820e1e0886be99e68c2667633f1e4b18c6 (patch)
tree89bca50e2599db30d8ac919c8b339f80d775117e /runtime/lua
parent19ee281809b37d6de34125e60c568c7c3133ebad (diff)
downloadrneovim-000431820e1e0886be99e68c2667633f1e4b18c6.tar.gz
rneovim-000431820e1e0886be99e68c2667633f1e4b18c6.tar.bz2
rneovim-000431820e1e0886be99e68c2667633f1e4b18c6.zip
vim-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: vim/vim#14370 https://github.com/vim/vim/commit/a917bd58bde0e1fca2affedc6fc0c15cb6b5e9f2 Co-authored-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Diffstat (limited to 'runtime/lua')
-rw-r--r--runtime/lua/vim/filetype.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua
index ff56bfbac0..3fc208c7a4 100644
--- a/runtime/lua/vim/filetype.lua
+++ b/runtime/lua/vim/filetype.lua
@@ -1389,6 +1389,8 @@ local filename = {
['.lsl'] = detect.lsl,
['.busted'] = 'lua',
['.luacheckrc'] = 'lua',
+ ['config.ld'] = 'lua',
+ ['rock_manifest'] = 'lua',
['lynx.cfg'] = 'lynx',
['m3overrides'] = 'm3build',
['m3makefile'] = 'm3build',