aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorLuuk van Baal <luukvbaal@gmail.com>2023-04-28 16:22:42 +0200
committerLuuk van Baal <luukvbaal@gmail.com>2023-05-02 13:11:47 +0200
commit4e4383ffa2b9ec94e703ecbd6178737fc24f6866 (patch)
tree43e43a2879420cea7099e3756c3b097723358efd /runtime
parent9b9ccac62563326c1ad59a403aa89851a379ddbb (diff)
downloadrneovim-4e4383ffa2b9ec94e703ecbd6178737fc24f6866.tar.gz
rneovim-4e4383ffa2b9ec94e703ecbd6178737fc24f6866.tar.bz2
rneovim-4e4383ffa2b9ec94e703ecbd6178737fc24f6866.zip
vim-patch:9.0.1247: divide by zero with 'smoothscroll' set and a narrow window
Problem: Divide by zero with 'smoothscroll' set and a narrow window. Solution: Bail out when the window is too narrow. https://github.com/vim/vim/commit/870219c58c0804bdc55419b2e455c06ac715a835 Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/options.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 7cb88441f1..ab86e56a62 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -5657,8 +5657,10 @@ A jump table for the options with a short description can be found at |Q_op|.
local to window
Scrolling works with screen lines. When 'wrap' is set and the first
line in the window wraps part of it may not be visible, as if it is
- above the window.
- NOTE: only partly implemented, works with CTRL-E and CTRL-Y.
+ above the window. "<<<" is displayed at the start of the first line,
+ highlighted with |hl-NonText|.
+ NOTE: only partly implemented, currently works with CTRL-E, CTRL-Y
+ and scrolling with the mouse.
*'softtabstop'* *'sts'*
'softtabstop' 'sts' number (default 0)