runtime(vim): Update base-syntax, fix missing luaParenError error

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>
This commit is contained in:
Doug Kearns
2025-05-22 22:48:11 +02:00
committed by Christian Brabandt
parent 598bbb1941
commit f4b2fce71c
2 changed files with 2 additions and 4 deletions

View File

@ -2,7 +2,7 @@
" 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.
@ -1551,7 +1551,6 @@ let s:interfaces = get(g:, "vimsyn_embed", "lP")
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

View File

@ -2,7 +2,7 @@
" 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.
@ -1612,7 +1612,6 @@ let s:interfaces = get(g:, "vimsyn_embed", "lP")
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