aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/window.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-12-30 16:24:21 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-12-30 16:26:43 -0500
commit6e6544d645f9a9c151a2e027e23d8f79ecd8f7c9 (patch)
tree0bdbfd3481841a9c22ed6128e7ed5215c62e0003 /src/nvim/window.c
parent22a92a59a68e2b0928a6243c0888b56608a8f8d8 (diff)
downloadrneovim-6e6544d645f9a9c151a2e027e23d8f79ecd8f7c9.tar.gz
rneovim-6e6544d645f9a9c151a2e027e23d8f79ecd8f7c9.tar.bz2
rneovim-6e6544d645f9a9c151a2e027e23d8f79ecd8f7c9.zip
vim-patch:8.1.1739: deleted match highlighting not updated in other window
Problem: Deleted match highlighting not updated in other window. Solution: Mark the window for refresh. (closes vim/vim#4720) Also fix that ambi-width check clears with wrong attributes. https://github.com/vim/vim/commit/06029a857a3d4d90b3162090506c1e00dc84c60b
Diffstat (limited to 'src/nvim/window.c')
-rw-r--r--src/nvim/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/window.c b/src/nvim/window.c
index af78c89618..5d4332c75a 100644
--- a/src/nvim/window.c
+++ b/src/nvim/window.c
@@ -6680,7 +6680,7 @@ int match_delete(win_T *wp, int id, int perr)
rtype = VALID;
}
xfree(cur);
- redraw_later(rtype);
+ redraw_win_later(wp, rtype);
return 0;
}