From: Bram Moolenaar Date: Thu, 19 May 2011 10:14:10 +0000 (+0200) Subject: updated for version 7.3.190 X-Git-Tag: v7.3.190 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3a7d8c3adb80c26564fa2e25f0edda38c905c3a3;p=vim 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) --- 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; diff --git a/src/version.c b/src/version.c index d4c1517e9..c83ba0e2f 100644 --- a/src/version.c +++ b/src/version.c @@ -714,6 +714,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 190, /**/ 189, /**/