Mercurial > vim
diff runtime/doc/options.txt @ 23386:3105546b941f v8.2.2236
patch 8.2.2236: 'scroll' option can change when setting the statusline
Commit: https://github.com/vim/vim/commit/746670604a60cb0356b56c112ffb6d297c679099
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 28 15:41:41 2020 +0100
patch 8.2.2236: 'scroll' option can change when setting the statusline
Problem: 'scroll' option can change when setting the statusline or tabline
but the option context is not updated.
Solution: Update the script context when the scroll option is changed as a
side effect. (Christian Brabandt, closes #7533)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 28 Dec 2020 15:45:03 +0100 |
parents | fab58304f77d |
children | e2e2cc5d0856 |
line wrap: on
line diff
--- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -6321,7 +6321,9 @@ A jump table for the options with a shor local to window Number of lines to scroll with CTRL-U and CTRL-D commands. Will be set to half the number of lines in the window when the window size - changes. If you give a count to the CTRL-U or CTRL-D command it will + changes. This may happen when enabling the |status-line| or + 'tabline' option after setting the 'scroll' option. + If you give a count to the CTRL-U or CTRL-D command it will be used as the new value for 'scroll'. Reset to half the window height with ":set scroll=0".