updated for version 7.3.1203
Problem: Matches from matchadd() might be highlighted incorrectly when they
are at a fixed position and inserting lines. (John Szakmeister)
Solution: Redraw all lines below a change if there are highlighted matches.
(idea by Christian Brabandt)
diff --git a/src/screen.c b/src/screen.c
index ca13709..b33a000 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -1638,6 +1638,10 @@
# endif
syntax_check_changed(lnum)))
#endif
+#ifdef FEAT_SEARCH_EXTRA
+ /* match in fixed position might need redraw */
+ || wp->w_match_head != NULL
+#endif
)))))
{
#ifdef FEAT_SEARCH_EXTRA