runtime(vim): Update base syntax, allow legacy script comments after :eval
Commit:
https://github.com/vim/vim/commit/ce5f9f45afebd9f3d06dc4bf240f8c538560709e
Author: Doug Kearns <[email protected]>
Date: Wed Oct 8 18:22:23 2025 +0000
runtime(vim): Update base syntax, allow legacy script comments after :eval
closes: https://github.com/vim/vim/issues/18522
Signed-off-by: Doug Kearns <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/syntax/generator/vim.vim.base
b/runtime/syntax/generator/vim.vim.base
index 3f983e71a..1f86d81c2 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 <h.east.727 ATMARK gmail.com>
" Doug Kearns <[email protected]>
-" Last Change: 2025 Sep 27
+" Last Change: 2025 Oct 08
" Former Maintainer: Charles E. Campbell
" DO NOT CHANGE DIRECTLY.
@@ -1310,7 +1310,7 @@ syn region vimEval
\ end="\ze|"
\ excludenl end="$"
\ nextgroup=vimCmdSep
- \ contains=@vimContinue,@vimExprList,vim9Comment
+ \ contains=@vimContinue,@vimExprList,vim9Comment,vimComment
\ transparent
" Filter: {{{2
diff --git a/runtime/syntax/vim.vim b/runtime/syntax/vim.vim
index 7eb2bd0da..bbfbc6397 100644
--- a/runtime/syntax/vim.vim
+++ b/runtime/syntax/vim.vim
@@ -2,7 +2,7 @@
" Language: Vim script
" Maintainer: Hirohito Higashi <h.east.727 ATMARK gmail.com>
" Doug Kearns <[email protected]>
-" Last Change: 2025 Oct 07
+" Last Change: 2025 Oct 08
" Former Maintainer: Charles E. Campbell
" DO NOT CHANGE DIRECTLY.
@@ -1368,7 +1368,7 @@ syn region vimEval
\ end="\ze|"
\ excludenl end="$"
\ nextgroup=vimCmdSep
- \ contains=@vimContinue,@vimExprList,vim9Comment
+ \ contains=@vimContinue,@vimExprList,vim9Comment,vimComment
\ transparent
" Filter: {{{2
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1v6YvN-002NhC-Eo%40256bit.org.