Merge pull request #28044 from luukvbaal/vim-9.1.0211

vim-patch:9.1.{0211,0215}
This commit is contained in:
zeertzjq
2024-03-28 19:47:40 +08:00
committed by GitHub
13 changed files with 232 additions and 453 deletions

View File

@@ -4192,7 +4192,7 @@ static void ins_pageup(void)
}
pos_T tpos = curwin->w_cursor;
if (onepage(BACKWARD, 1) == OK) {
if (pagescroll(BACKWARD, 1, false) == OK) {
start_arrow(&tpos);
can_cindent = true;
} else {
@@ -4237,7 +4237,7 @@ static void ins_pagedown(void)
}
pos_T tpos = curwin->w_cursor;
if (onepage(FORWARD, 1) == OK) {
if (pagescroll(FORWARD, 1, false) == OK) {
start_arrow(&tpos);
can_cindent = true;
} else {