summaryrefslogtreecommitdiffstats
path: root/src/move.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-01-11 11:55:16 +0100
committerBram Moolenaar <Bram@vim.org>2019-01-11 11:55:16 +0100
commit6f7e555f7440df148350468ad8bc6d559d676d7c (patch)
tree7505ecddae9b2b3f8355245f6af757e64b451bbd /src/move.c
parentc951522943fc7c1eedaa707d2fa06da5ca17545a (diff)
patch 8.1.0715: superfluous call to redraw_win_later()v8.1.0715
Problem: Superfluous call to redraw_win_later(). Solution: Remove the call.
Diffstat (limited to 'src/move.c')
-rw-r--r--src/move.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/move.c b/src/move.c
index 119941ff46..493f1de518 100644
--- a/src/move.c
+++ b/src/move.c
@@ -137,9 +137,9 @@ redraw_for_cursorline(win_T *wp)
#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 @@ redraw_for_cursorline(win_T *wp)
// 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);