From: Doug Kearns Date: Thu, 22 May 2025 20:48:11 +0000 (+0200) Subject: runtime(vim): Update base-syntax, fix missing luaParenError error X-Git-Tag: v9.1.1404~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f4b2fce71c3b5a4f1cada0e852393efbd493e331;p=thirdparty%2Fvim.git 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 Signed-off-by: Christian Brabandt --- diff --git a/runtime/syntax/generator/vim.vim.base b/runtime/syntax/generator/vim.vim.base index 99d0480dc9..7ee8e71aa9 100644 --- a/runtime/syntax/generator/vim.vim.base +++ b/runtime/syntax/generator/vim.vim.base @@ -2,7 +2,7 @@ " Language: Vim script " Maintainer: Hirohito Higashi " Doug Kearns -" 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 diff --git a/runtime/syntax/vim.vim b/runtime/syntax/vim.vim index d0f3202623..0181a9027e 100644 --- a/runtime/syntax/vim.vim +++ b/runtime/syntax/vim.vim @@ -2,7 +2,7 @@ " Language: Vim script " Maintainer: Hirohito Higashi " Doug Kearns -" 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