commit f0fb6d448a61aa0c7ec9e5a9eee905bd258733f4
parent 927927e143bd365264d7a4ef59ad1d2425006cba
Author: zeertzjq <zeertzjq@outlook.com>
Date: Fri, 23 May 2025 07:12:17 +0800
vim-patch:f4b2fce: runtime(vim): Update base-syntax, fix missing luaParenError error (#34130)
We shouldn't assume that the luaParenError syntax group is present in
the, possibly custom, included file or that it hasn't already been
removed. However, issue vim/vim#11277 has been fixed so it no longer needs to
be cleared.
Fixes comment https://github.com/vim/vim/pull/15375#issuecomment-2899791944
related: vim/vim#15375
closes: vim/vim#17357
https://github.com/vim/vim/commit/f4b2fce71c3b5a4f1cada0e852393efbd493e331
Co-authored-by: Doug Kearns <dougkearns@gmail.com>
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/runtime/syntax/vim.vim b/runtime/syntax/vim.vim
@@ -1505,7 +1505,6 @@ let s:interfaces = get(g:, "vimsyn_embed", "l")
if s:interfaces =~# 'l'
syn include @vimLuaScript syntax/lua.vim
unlet b:current_syntax
- syn clear luaParenError " See issue #11277
endif
syn keyword vimLua lua skipwhite nextgroup=vimLuaHeredoc,vimLuaStatement