diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-07-24 15:28:18 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-07-24 15:28:18 +0200 |
commit | 4ef18dcc2e3a6a9aea2dc90bbdb742c3c9231394 (patch) | |
tree | ede90dc723e568ac928e7323084aef70217ac515 /src/highlight.c | |
parent | d08b8c4c04db9433340df38d21f0e26878f28421 (diff) | |
download | vim-git-4ef18dcc2e3a6a9aea2dc90bbdb742c3c9231394.tar.gz |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/highlight.c b/src/highlight.c index d6417038f..42fab45e3 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); } /* |