diff options
author | Bram Moolenaar <Bram@vim.org> | 2011-05-19 12:14:10 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2011-05-19 12:14:10 +0200 |
commit | 3a7d8c3adb80c26564fa2e25f0edda38c905c3a3 (patch) | |
tree | 9cfc9402aeacb9b714c8449349104f1966101125 | |
parent | e2bdce3f5c0fb52a733fa4ba4f8a299c81fc7b29 (diff) |
updated for version 7.3.190v7.3.190
Problem: When there is a "containedin" syntax argument highlighting may be
wrong. (Radek)
Solution: Reset current_next_list. (Ben Schmidt)
-rw-r--r-- | src/syntax.c | 3 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/syntax.c b/src/syntax.c index 57fab0c9a6..da648e398e 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 d4c1517e95..c83ba0e2f2 100644 --- a/src/version.c +++ b/src/version.c @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 190, +/**/ 189, /**/ 188, |