patch 8.1.0715: superfluous call to redraw_win_later()
Problem: Superfluous call to redraw_win_later().
Solution: Remove the call.
diff --git a/src/move.c b/src/move.c
index 119941f..493f1de 100644
--- a/src/move.c
+++ b/src/move.c
@@ -137,9 +137,9 @@
#endif
)
&& (wp->w_valid & VALID_CROW) == 0
-# ifdef FEAT_INS_EXPAND
+#ifdef FEAT_INS_EXPAND
&& !pum_visible()
-# endif
+#endif
)
{
if (wp->w_p_rnu)
@@ -155,7 +155,6 @@
// the current window.
redrawWinline(wp, wp->w_last_cursorline);
redrawWinline(wp, wp->w_cursor.lnum);
- redraw_win_later(wp, VALID);
}
else
redraw_win_later(wp, SOME_VALID);