Commit: runtime(vim): Update base syntax, allow legacy script comments after :eval

2 views
Skip to first unread message

Christian Brabandt

unread,
Oct 8, 2025, 2:30:17 PM (7 days ago) Oct 8
to vim...@googlegroups.com
runtime(vim): Update base syntax, allow legacy script comments after :eval

Commit: https://github.com/vim/vim/commit/ce5f9f45afebd9f3d06dc4bf240f8c538560709e
Author: Doug Kearns <dougk...@gmail.com>
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 <dougk...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

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 <dougk...@gmail.com>
-" 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 <dougk...@gmail.com>
-" 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
Reply all
Reply to author
Forward
0 new messages