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.
06029a857a
This commit is contained in:
Jan Edmund Lazo
2019-12-30 16:24:21 -05:00
parent 22a92a59a6
commit 6e6544d645
2 changed files with 25 additions and 1 deletions

View File

@@ -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;
}