aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/options.lua
diff options
context:
space:
mode:
authorLuuk van Baal <luukvbaal@gmail.com>2024-03-26 19:06:39 +0100
committerLuuk van Baal <luukvbaal@gmail.com>2024-03-28 10:18:09 +0100
commit4147302f4be3fe8a5dae3f20a336477cb5f507a4 (patch)
tree694d7ad69b0ef3e3158c9bee7d6812be9ed2db83 /src/nvim/options.lua
parent19b443251fe0405628a0aa90583e6c6512dd0fd0 (diff)
downloadrneovim-4147302f4be3fe8a5dae3f20a336477cb5f507a4.tar.gz
rneovim-4147302f4be3fe8a5dae3f20a336477cb5f507a4.tar.bz2
rneovim-4147302f4be3fe8a5dae3f20a336477cb5f507a4.zip
vim-patch:9.1.0211: page-wise scrolling does not support smooth-scrolling
Problem: Page-wise scrolling with Ctrl-F/Ctrl-B implements it's own logic to change the topline and cursor. In doing so, skipcol is not handled properly for 'smoothscroll', and virtual lines. Solution: Re-use the logic from Ctrl-E/Ctrl-Y while staying backward compatible as much as possible. https://github.com/vim/vim/commit/b9f5b95b7bec2414a5a96010514702d99afea18e
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r--src/nvim/options.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
index 6bfeee75e6..a7c5a97d02 100644
--- a/src/nvim/options.lua
+++ b/src/nvim/options.lua
@@ -7663,8 +7663,8 @@ return {
highlighted with |hl-NonText|.
You may also want to add "lastline" to the 'display' option to show as
much of the last line as possible.
- NOTE: only partly implemented, currently works with CTRL-E, CTRL-Y
- and scrolling with the mouse.
+ NOTE: only partly implemented, currently works with CTRL-E, CTRL-Y,
+ CTRL-B, CTRL-F and scrolling with the mouse.
]=],
full_name = 'smoothscroll',
pv_name = 'p_sms',