patch 8.1.0373: screen updating still slow when 'cursorline' is set
Problem: Screen updating still slow when 'cursorline' is set.
Solution: Fix setting last_cursorline.
diff --git a/src/move.c b/src/move.c
index 68f8ae4..120ee5a 100644
--- a/src/move.c
+++ b/src/move.c
@@ -153,12 +153,14 @@
// in the same window.
redrawWinline(wp, last_cursorline, FALSE);
redrawWinline(wp, wp->w_cursor.lnum, FALSE);
- last_cursorline = wp->w_cursor.lnum;
redraw_win_later(wp, VALID);
}
else
#endif
redraw_win_later(wp, SOME_VALID);
+#ifdef FEAT_SYN_HL
+ last_cursorline = wp->w_cursor.lnum;
+#endif
}
}
diff --git a/src/version.c b/src/version.c
index 53dbfd9..a4df820 100644
--- a/src/version.c
+++ b/src/version.c
@@ -795,6 +795,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 373,
+/**/
372,
/**/
371,