summaryrefslogtreecommitdiffstats
path: root/src/highlight.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-07-24 15:28:18 +0200
committerBram Moolenaar <Bram@vim.org>2019-07-24 15:28:18 +0200
commit4ef18dcc2e3a6a9aea2dc90bbdb742c3c9231394 (patch)
treeede90dc723e568ac928e7323084aef70217ac515 /src/highlight.c
parentd08b8c4c04db9433340df38d21f0e26878f28421 (diff)
patch 8.1.1741: cleared/added match highlighting not updated in other windowv8.1.1741
Problem: Cleared/added match highlighting not updated in other window. (Andi Massimino) Solution: Mark the right window for refresh.
Diffstat (limited to 'src/highlight.c')
-rw-r--r--src/highlight.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/highlight.c b/src/highlight.c
index d6417038fc..42fab45e35 100644
--- a/src/highlight.c
+++ b/src/highlight.c
@@ -3850,7 +3850,7 @@ match_add(
prev->next = m;
m->next = cur;
- redraw_later(rtype);
+ redraw_win_later(wp, rtype);
return id;
fail:
@@ -3932,7 +3932,7 @@ clear_matches(win_T *wp)
vim_free(wp->w_match_head);
wp->w_match_head = m;
}
- redraw_later(SOME_VALID);
+ redraw_win_later(wp, SOME_VALID);
}
/*