]> granicus.if.org Git - vim/commit
patch 8.0.1072: :highlight command causes a redraw even when nothing changed v8.0.1072
authorBram Moolenaar <Bram@vim.org>
Fri, 8 Sep 2017 10:37:47 +0000 (12:37 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 8 Sep 2017 10:37:47 +0000 (12:37 +0200)
commit99433291b135094d9592c41f96d3ccd60073e2c1
tree3cbe8d99ee6ecdeb74bd44d4bd6f3333e15cac82
parentc6da01a5b8efe9ca4931074c0cf2189d357707a2
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.
src/syntax.c
src/version.c