vim-patch:8.0.0049

Problem:    When a match ends in part of concealed text highlighting, it might
            mess up concealing by resetting prev_syntax_id.
Solution:   Do not reset prev_syntax_id and add a test to verify. (Christian
            Brabandt, closes vim/vim#1092)

2f97912800
This commit is contained in:
Justin M. Keyes
2017-03-21 13:26:02 +01:00
parent 5ee211770d
commit cd9fc4627e
2 changed files with 22 additions and 1 deletions

View File

@@ -2922,7 +2922,6 @@ win_line (
}
} else if (v == (long)shl->endcol) {
shl->attr_cur = 0;
prev_syntax_id = 0;
next_search_hl(wp, shl, lnum, (colnr_T)v,
shl == &search_hl ? NULL : cur);