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 /src/syntax.c | |
parent | e2bdce3f5c0fb52a733fa4ba4f8a299c81fc7b29 (diff) | |
download | vim-git-3a7d8c3adb80c26564fa2e25f0edda38c905c3a3.tar.gz |
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)
Diffstat (limited to 'src/syntax.c')
-rw-r--r-- | src/syntax.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |