Merge pull request #13595 from teto/fix-filler

de curwinify some functions
This commit is contained in:
Björn Linse
2020-12-24 22:43:27 +01:00
committed by GitHub
14 changed files with 345 additions and 331 deletions

View File

@@ -5105,8 +5105,8 @@ void buf_reload(buf_T *buf, int orig_mode)
curwin->w_topline = old_topline;
curwin->w_cursor = old_cursor;
check_cursor();
update_topline();
keep_filetype = FALSE;
update_topline(curwin);
keep_filetype = false;
/* Update folds unless they are defined manually. */
FOR_ALL_TAB_WINDOWS(tp, wp) {