Skip to content

Commit

Permalink
Merge pull request #6327 from lonerover/issue-#6319
Browse files Browse the repository at this point in the history
[RFC] fix the behavior of CTRL-F with 'scrolloff' (#6319)
  • Loading branch information
jamessan committed Mar 21, 2017
2 parents 2611ba8 + 7418adc commit 5657bb9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/nvim/move.c
Expand Up @@ -1877,6 +1877,7 @@ int onepage(int dir, long count)
}
}
foldAdjustCursor();
cursor_correct();
check_cursor_col();
if (retval == OK) {
beginline(BL_SOL | BL_FIX);
Expand Down
1 change: 0 additions & 1 deletion src/nvim/testdir/test_normal.vim
Expand Up @@ -433,7 +433,6 @@ func! Test_normal13_help()
endfunc

func! Test_normal14_page()
throw "skipped: Nvim regression: CTRL-F with 'scrolloff'"
" basic test for Ctrl-F and Ctrl-B
call Setup_NewWindow()
exe "norm! \<c-f>"
Expand Down

0 comments on commit 5657bb9

Please sign in to comment.