forked from aniani/vim
patch 9.1.0397: Wrong display with 'smoothscroll' when changing quickfix list
Problem: Wrong display with 'smoothscroll' when changing quickfix list. Solution: Reset w_skipcol when replacing quickfix list (zeertzjq). closes: #14730 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
6a4ea471d2
commit
c7a8eb5ff2
@@ -319,6 +319,7 @@ update_topline(void)
|
||||
redraw_later(UPD_NOT_VALID);
|
||||
curwin->w_topline = 1;
|
||||
curwin->w_botline = 2;
|
||||
curwin->w_skipcol = 0;
|
||||
curwin->w_valid |= VALID_BOTLINE|VALID_BOTLINE_AP;
|
||||
curwin->w_scbind_pos = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user