diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-03-01 23:01:09 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-03-02 00:35:52 -0500 |
commit | f32acc70e84a3ea4a61e856e4d723ccc433e687c (patch) | |
tree | 0744a8c90289f7a7c98c0c5b242e3cd13b4d50c4 /runtime | |
parent | a5bacdbfb4f10652598d45e339c9f670b477ac8d (diff) | |
download | rneovim-f32acc70e84a3ea4a61e856e4d723ccc433e687c.tar.gz rneovim-f32acc70e84a3ea4a61e856e4d723ccc433e687c.tar.bz2 rneovim-f32acc70e84a3ea4a61e856e4d723ccc433e687c.zip |
vim-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 vim/vim#7533)
https://github.com/vim/vim/commit/746670604a60cb0356b56c112ffb6d297c679099
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/options.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 73ec5af28e..c4d5df84cf 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -4856,7 +4856,9 @@ A jump table for the options with a short description can be found at |Q_op|. 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". |