]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.2.0391: tests: Comment in test_vim9_cmd breaks syntax highlighting v9.2.0391
authorChristian Brabandt <cb@256bit.org>
Sat, 25 Apr 2026 16:49:21 +0000 (16:49 +0000)
committerChristian Brabandt <cb@256bit.org>
Sat, 25 Apr 2026 16:49:21 +0000 (16:49 +0000)
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 <cb@256bit.org>
src/testdir/test_vim9_cmd.vim
src/version.c

index 1380440c408ebdf2fb5ae70aa2a51a2036ca942d..22f33edf5c18cdbafe427cf7ed889a1fd6258fe9 100644 (file)
@@ -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
index 2e73a46d4fefc4db4d01ff27976f75f5bf8a27bf..41c1753695641c3db88ab33953ac57e86bb982da 100644 (file)
@@ -729,6 +729,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    391,
 /**/
     390,
 /**/