0
0
mirror of https://github.com/vim/vim.git synced 2025-10-02 05:04:20 -04:00

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 #1092)
This commit is contained in:
Bram Moolenaar
2016-10-27 17:27:44 +02:00
parent 6d5ad4c411
commit 2f97912800
3 changed files with 24 additions and 3 deletions

View File

@@ -3981,9 +3981,6 @@ win_line(
else if (v == (long)shl->endcol)
{
shl->attr_cur = 0;
#ifdef FEAT_CONCEAL
prev_syntax_id = 0;
#endif
next_search_hl(wp, shl, lnum, (colnr_T)v,
shl == &search_hl ? NULL : cur);
pos_inprogress = cur == NULL || cur->pos.cur == 0