0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

patch 8.0.1072: :highlight command causes a redraw even when nothing changed

Problem:    The :highlight command causes a redraw even when nothing changed.
Solution:   Only set "need_highlight_changed" when an attribute changed.
This commit is contained in:
Bram Moolenaar
2017-09-08 12:37:47 +02:00
parent c6da01a5b8
commit 99433291b1
2 changed files with 109 additions and 86 deletions

View File

@@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1072,
/**/
1071,
/**/