aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/executable_spec.lua
diff options
context:
space:
mode:
authorglepnir <glephunter@gmail.com>2026-06-04 12:21:59 +0800
committerGitHub <noreply@github.com>2026-06-04 06:21:59 +0200
commit5e3b655ad455977ae2a396a0bae78454b0d22217 (patch)
tree79600d913a77198d6911a9e4ce02deef1b2aed61 /test/functional/vimscript/executable_spec.lua
parent85b607d79783f55fb4eb281517bf43b2f4d0db26 (diff)
downloadrneovim-5e3b655ad455977ae2a396a0bae78454b0d22217.tar.gz
rneovim-5e3b655ad455977ae2a396a0bae78454b0d22217.tar.bz2
rneovim-5e3b655ad455977ae2a396a0bae78454b0d22217.zip
vim-patch:9.2.0591: 'scrolljump' ignored when scrolling up (#40106)
Problem: srolljump=-100 only scrolls half a page going up, but works fine going down. update_topline() always falls back to scroll_cursor_halfway() when the cursor is far above topline. Solution: Only center when sj is smaller than half the window. Otherwise call scroll_cursor_top like the downward path does (glepnir). fixes: vim/vim#1527 closes: vim/vim#20366 https://github.com/vim/vim/commit/a4a60c0fdb8aeec21dcd14871c465fe0f2e6fbc3
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions