Commit: patch 9.2.0391: tests: Comment in test_vim9_cmd breaks syntax highlighting

2 views
Skip to first unread message

Christian Brabandt

unread,
Apr 25, 2026, 1:30:18 PMApr 25
to vim...@googlegroups.com
patch 9.2.0391: tests: Comment in test_vim9_cmd breaks syntax highlighting

Commit: https://github.com/vim/vim/commit/10b57290d3c15988fdf8b6290ea47c08656af80a
Author: Christian Brabandt <c...@256bit.org>
Date: Sat Apr 25 16:49:21 2026 +0000

patch 9.2.0391: tests: Comment in test_vim9_cmd breaks syntax highlighting

Problem: tests: Comment in test_vim9_cmd breaks syntax highlighting
Solution: Move the comment into the function and use the # as comment
marker instead

Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/testdir/test_vim9_cmd.vim b/src/testdir/test_vim9_cmd.vim
index 1380440c4..22f33edf5 100644
--- a/src/testdir/test_vim9_cmd.vim
+++ b/src/testdir/test_vim9_cmd.vim
@@ -2103,8 +2103,8 @@ def s:check_previewpopup(expected_title: string)
set previewpopup&
enddef

-" Test for the 'previewpopup' option
def Test_previewpopup()
+ # Test for the 'previewpopup' option
CheckFeature quickfix
set previewpopup=height:10,width:60
pedit Xppfile
diff --git a/src/version.c b/src/version.c
index 2e73a46d4..41c175369 100644
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 391,
/**/
390,
/**/
Reply all
Reply to author
Forward
0 new messages