summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-10-27 17:27:44 +0200
committerBram Moolenaar <Bram@vim.org>2016-10-27 17:27:44 +0200
commit2f97912800e86a296c001832bbbf2fc425f1e533 (patch)
treee304476d781edf4c5f1603e3c4787b0338cc8c64 /src/screen.c
parent6d5ad4c4118cab5fd96db157621c3aa9af368edb (diff)
downloadvim-2f97912800e86a296c001832bbbf2fc425f1e533.zip
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)
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/screen.c b/src/screen.c
index 78f89ebf6..c98d5670b 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -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