Skip to content

Commit d9c06c3

Browse files
committed
updated for version 7.3.190
Problem: When there is a "containedin" syntax argument highlighting may be wrong. (Radek) Solution: Reset current_next_list. (Ben Schmidt)
1 parent 98dad7d commit d9c06c3

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/syntax.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2566,6 +2566,9 @@ check_state_ends()
25662566
#endif
25672567
update_si_attr(current_state.ga_len - 1);
25682568

2569+
/* nextgroup= should not match in the end pattern */
2570+
current_next_list = NULL;
2571+
25692572
/* what matches next may be different now, clear it */
25702573
next_match_idx = 0;
25712574
next_match_col = MAXCOL;

src/version.c

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

715715
static int included_patches[] =
716716
{ /* Add new patch number below this line */
717+
/**/
718+
190,
717719
/**/
718720
189,
719721
/**/

0 commit comments

Comments
 (0)