vim-patch:9.1.0397: Wrong display with 'smoothscroll' when changing quickfix list (#28674)

Problem:  Wrong display with 'smoothscroll' when changing quickfix list.
Solution: Reset w_skipcol when replacing quickfix list (zeertzjq).

closes: vim/vim#14730

c7a8eb5ff2
This commit is contained in:
zeertzjq
2024-05-09 06:11:56 +08:00
committed by GitHub
parent 064f3e42e8
commit e4e230a0cd
4 changed files with 165 additions and 16 deletions

View File

@@ -286,6 +286,7 @@ void update_topline(win_T *wp)
}
wp->w_topline = 1;
wp->w_botline = 2;
wp->w_skipcol = 0;
wp->w_valid |= VALID_BOTLINE|VALID_BOTLINE_AP;
wp->w_viewport_invalid = true;
wp->w_scbind_pos = 1;