Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
23385:3cc8438a1a7a | 23386:3105546b941f |
---|---|
6319 *'scroll'* *'scr'* | 6319 *'scroll'* *'scr'* |
6320 'scroll' 'scr' number (default: half the window height) | 6320 'scroll' 'scr' number (default: half the window height) |
6321 local to window | 6321 local to window |
6322 Number of lines to scroll with CTRL-U and CTRL-D commands. Will be | 6322 Number of lines to scroll with CTRL-U and CTRL-D commands. Will be |
6323 set to half the number of lines in the window when the window size | 6323 set to half the number of lines in the window when the window size |
6324 changes. If you give a count to the CTRL-U or CTRL-D command it will | 6324 changes. This may happen when enabling the |status-line| or |
6325 'tabline' option after setting the 'scroll' option. | |
6326 If you give a count to the CTRL-U or CTRL-D command it will | |
6325 be used as the new value for 'scroll'. Reset to half the window | 6327 be used as the new value for 'scroll'. Reset to half the window |
6326 height with ":set scroll=0". | 6328 height with ":set scroll=0". |
6327 | 6329 |
6328 *'scrollbind'* *'scb'* *'noscrollbind'* *'noscb'* | 6330 *'scrollbind'* *'scb'* *'noscrollbind'* *'noscb'* |
6329 'scrollbind' 'scb' boolean (default off) | 6331 'scrollbind' 'scb' boolean (default off) |