Skip to content

Commit bbfd156

Browse files
committed
patch 8.1.2185: syntax test fails
Problem: Syntax test fails. Solution: Add missing file patch.
1 parent cfb3814 commit bbfd156

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

src/testdir/test_syntax.vim

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,14 +555,16 @@ func Test_syntax_c()
555555
\ "\tfor (int i = 0; i < count; ++i) {",
556556
\ "\t break;",
557557
\ "\t}",
558+
\ "\tNote: asdf",
558559
\ '}',
559560
\ ], 'Xtest.c')
560561

561562
" This makes the default for 'background' use "dark", check that the
562563
" response to t_RB corrects it to "light".
563564
let $COLORFGBG = '15;0'
564565

565-
let buf = RunVimInTerminal('Xtest.c', {})
566+
let buf = RunVimInTerminal('Xtest.c', #{rows: 22})
567+
call term_sendkeys(buf, ":syn keyword Search Note\r")
566568
call term_sendkeys(buf, ":set hlsearch\r")
567569
call term_sendkeys(buf, "/endif\r")
568570
call term_sendkeys(buf, "vjfC")

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,8 @@ static char *(features[]) =
741741

742742
static int included_patches[] =
743743
{ /* Add new patch number below this line */
744+
/**/
745+
2185,
744746
/**/
745747
2184,
746748
/**/

0 commit comments

Comments
 (0)