normal/edit: add missing "need_cursor_line_redraw = false"

vim-patch:8.1.0726: redrawing specifically for conceal feature
This commit is contained in:
Björn Linse 2019-01-12 09:22:21 +01:00
parent db3c797c6b
commit ca58c3a4f5
2 changed files with 2 additions and 0 deletions

View File

@ -1462,6 +1462,7 @@ ins_redraw (
redrawWinline(curwin, conceal_new_cursor_line == 0
? curwin->w_cursor.lnum : conceal_new_cursor_line);
curwin->w_valid &= ~VALID_CROW;
need_cursor_line_redraw = false;
}
if (must_redraw) {

View File

@ -1263,6 +1263,7 @@ static void normal_redraw(NormalState *s)
redrawWinline(curwin, s->conceal_new_cursor_line);
curwin->w_valid &= ~VALID_CROW;
need_cursor_line_redraw = false;
}
if (VIsual_active) {