Mercurial > vim
changeset 15414:d7432dcb6b7c v8.1.0715
patch 8.1.0715: superfluous call to redraw_win_later()
commit https://github.com/vim/vim/commit/6f7e555f7440df148350468ad8bc6d559d676d7c
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jan 11 11:55:16 2019 +0100
patch 8.1.0715: superfluous call to redraw_win_later()
Problem: Superfluous call to redraw_win_later().
Solution: Remove the call.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 11 Jan 2019 12:00:10 +0100 |
parents | aeee555c8b0d |
children | ac4c62bf5b1b |
files | src/move.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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);