mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 07:18:17 +00:00
scroll: use win->w_viewport_invalid
This commit is contained in:
@@ -1483,13 +1483,8 @@ static void ins_redraw(
|
||||
}
|
||||
|
||||
if (ready && has_event(EVENT_SCROLL)
|
||||
&& (curwin->w_last_topline != curwin->w_topline ||
|
||||
curwin->w_last_leftcol != curwin->w_leftcol)) {
|
||||
|
||||
&& curwin->w_viewport_invalid) {
|
||||
apply_autocmds(EVENT_SCROLL, NULL, NULL, false, curbuf);
|
||||
|
||||
curwin->w_last_topline = curwin->w_topline;
|
||||
curwin->w_last_leftcol = curwin->w_leftcol;
|
||||
}
|
||||
|
||||
if (curwin->w_p_cole > 0 && conceal_cursor_line(curwin)
|
||||
|
Reference in New Issue
Block a user