summaryrefslogtreecommitdiffstats
path: root/src/highlight.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-07-24 14:25:26 +0200
committerBram Moolenaar <Bram@vim.org>2019-07-24 14:25:26 +0200
commit06029a857a3d4d90b3162090506c1e00dc84c60b (patch)
treed868ce4168d16c3521aa6bd16b6a81e358ebeb35 /src/highlight.c
parent9bc4dde45d45df732953491d0f2c3fd3b10a627e (diff)
patch 8.1.1739: deleted match highlighting not updated in other windowv8.1.1739
Problem: Deleted match highlighting not updated in other window. Solution: Mark the window for refresh. (closes #4720) Also fix that ambi-width check clears with wrong attributes.
Diffstat (limited to 'src/highlight.c')
-rw-r--r--src/highlight.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/highlight.c b/src/highlight.c
index 6eadcd1d25..d6417038fc 100644
--- a/src/highlight.c
+++ b/src/highlight.c
@@ -3912,7 +3912,7 @@ match_delete(win_T *wp, int id, int perr)
rtype = VALID;
}
vim_free(cur);
- redraw_later(rtype);
+ redraw_win_later(wp, rtype);
return 0;
}