mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 15:08:35 +00:00
Merge pull request #28044 from luukvbaal/vim-9.1.0211
vim-patch:9.1.{0211,0215}
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user