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

f4b2fce71c

Co-authored-by: Doug Kearns <dougkearns@gmail.com>
This commit is contained in:
zeertzjq
2025-05-23 07:12:17 +08:00
committed by GitHub
parent 927927e143
commit f0fb6d448a

View File

@ -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