mirror of
https://github.com/neovim/neovim.git
synced 2025-09-17 16:58:17 +00:00
refactor: de-curwin-ify update_topline/curs_columns
This commit is contained in:
@@ -5103,7 +5103,7 @@ void buf_reload(buf_T *buf, int orig_mode)
|
||||
curwin->w_topline = old_topline;
|
||||
curwin->w_cursor = old_cursor;
|
||||
check_cursor();
|
||||
update_topline();
|
||||
update_topline(curwin);
|
||||
keep_filetype = FALSE;
|
||||
|
||||
/* Update folds unless they are defined manually. */
|
||||
|
Reference in New Issue
Block a user