1
0
forked from aniani/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 #4720)  Also fix that
            ambi-width check clears with wrong attributes.
This commit is contained in:
Bram Moolenaar
2019-07-24 14:25:26 +02:00
parent 9bc4dde45d
commit 06029a857a
5 changed files with 40 additions and 1 deletions

View File

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