Merge pull request #15580 from seandewar/vim-8.2.3378

vim-patch:8.2.{3378,3379,3384,3386,3398,3400}
This commit is contained in:
Jan Edmund Lazo
2021-09-17 09:39:36 -04:00
committed by GitHub
11 changed files with 238 additions and 90 deletions

View File

@@ -3088,7 +3088,7 @@ void ex_z(exarg_T *eap)
// Vi compatible: ":z!" uses display height, without a count uses
// 'scroll'
if (eap->forceit) {
bigness = curwin->w_height_inner;
bigness = Rows - 1;
} else if (ONE_WINDOW) {
bigness = curwin->w_p_scr * 2;
} else {