Skip to content

Commit ce5f9f4

Browse files
dkearnschrisbra
authored andcommitted
runtime(vim): Update base syntax, allow legacy script comments after :eval
closes: #18522 Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
1 parent 3c5221f commit ce5f9f4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

runtime/syntax/generator/vim.vim.base

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
" Language: Vim script
33
" Maintainer: Hirohito Higashi <h.east.727 ATMARK gmail.com>
44
" Doug Kearns <dougkearns@gmail.com>
5-
" Last Change: 2025 Sep 27
5+
" Last Change: 2025 Oct 08
66
" Former Maintainer: Charles E. Campbell
77

88
" DO NOT CHANGE DIRECTLY.
@@ -1310,7 +1310,7 @@ syn region vimEval
13101310
\ end="\ze|"
13111311
\ excludenl end="$"
13121312
\ nextgroup=vimCmdSep
1313-
\ contains=@vimContinue,@vimExprList,vim9Comment
1313+
\ contains=@vimContinue,@vimExprList,vim9Comment,vimComment
13141314
\ transparent
13151315

13161316
" Filter: {{{2

runtime/syntax/vim.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
" Language: Vim script
33
" Maintainer: Hirohito Higashi <h.east.727 ATMARK gmail.com>
44
" Doug Kearns <dougkearns@gmail.com>
5-
" Last Change: 2025 Oct 07
5+
" Last Change: 2025 Oct 08
66
" Former Maintainer: Charles E. Campbell
77

88
" DO NOT CHANGE DIRECTLY.
@@ -1368,7 +1368,7 @@ syn region vimEval
13681368
\ end="\ze|"
13691369
\ excludenl end="$"
13701370
\ nextgroup=vimCmdSep
1371-
\ contains=@vimContinue,@vimExprList,vim9Comment
1371+
\ contains=@vimContinue,@vimExprList,vim9Comment,vimComment
13721372
\ transparent
13731373

13741374
" Filter: {{{2

0 commit comments

Comments
 (0)