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 #11277 has been fixed so it no longer needs to
be cleared.
Fixes comment https://github.com/vim/vim/pull/15375#issuecomment-
2899791944
related: #15375
closes: #17357
Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
" Language: Vim script
" Maintainer: Hirohito Higashi <h.east.727 ATMARK gmail.com>
" Doug Kearns <dougkearns@gmail.com>
-" Last Change: 2025 May 17
+" Last Change: 2025 May 22
" Former Maintainer: Charles E. Campbell
" DO NOT CHANGE DIRECTLY.
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
" Language: Vim script
" Maintainer: Hirohito Higashi <h.east.727 ATMARK gmail.com>
" Doug Kearns <dougkearns@gmail.com>
-" Last Change: 2025 May 17
+" Last Change: 2025 May 22
" Former Maintainer: Charles E. Campbell
" DO NOT CHANGE DIRECTLY.
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