From 3a7d8c3adb80c26564fa2e25f0edda38c905c3a3 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 19 May 2011 12:14:10 +0200 Subject: 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) --- src/syntax.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/syntax.c') diff --git a/src/syntax.c b/src/syntax.c index 57fab0c9a..da648e398 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -2566,6 +2566,9 @@ check_state_ends() #endif update_si_attr(current_state.ga_len - 1); + /* nextgroup= should not match in the end pattern */ + current_next_list = NULL; + /* what matches next may be different now, clear it */ next_match_idx = 0; next_match_col = MAXCOL; -- cgit v1.2.1