[RFC] fix the behavior of CTRL-F with 'scrolloff' (#6319)
This commit is contained in:
James McCoy
2017-03-21 10:12:02 -04:00
committed by GitHub
2 changed files with 1 additions and 1 deletions

View File

@@ -1877,6 +1877,7 @@ int onepage(int dir, long count)
} }
} }
foldAdjustCursor(); foldAdjustCursor();
cursor_correct();
check_cursor_col(); check_cursor_col();
if (retval == OK) { if (retval == OK) {
beginline(BL_SOL | BL_FIX); beginline(BL_SOL | BL_FIX);

View File

@@ -433,7 +433,6 @@ func! Test_normal13_help()
endfunc endfunc
func! Test_normal14_page() func! Test_normal14_page()
throw "skipped: Nvim regression: CTRL-F with 'scrolloff'"
" basic test for Ctrl-F and Ctrl-B " basic test for Ctrl-F and Ctrl-B
call Setup_NewWindow() call Setup_NewWindow()
exe "norm! \<c-f>" exe "norm! \<c-f>"