mirror of
https://github.com/neovim/neovim.git
synced 2026-05-23 21:30:11 +00:00
vim-patch:3918f32: runtime(doc): fix incorrect description of 'scrolloffpad'
closes: vim/vim#20029
3918f3232f
This commit is contained in:
@@ -159,7 +159,7 @@ the same range instances now compare equal.
|
||||
|
||||
OPTIONS
|
||||
|
||||
• 'scrolloffpad' allows keeping 'scrolloff' context at the end of file.
|
||||
• 'scrolloffpad' allows vertically centering cursor at the end of file.
|
||||
• 'winpinned' prevents window from closing unless specifically targeted.
|
||||
|
||||
PERFORMANCE
|
||||
|
||||
@@ -841,7 +841,7 @@ Short explanation of each option: *option-list*
|
||||
'scrollbind' 'scb' scroll in window as other windows scroll
|
||||
'scrolljump' 'sj' minimum number of lines to scroll
|
||||
'scrolloff' 'so' minimum nr. of lines above and below cursor
|
||||
'scrolloffpad' 'sop' keep 'scrolloff' context at end of file
|
||||
'scrolloffpad' 'sop' vertically center cursor at end of file
|
||||
'scrollopt' 'sbo' how 'scrollbind' should behave
|
||||
'sections' 'sect' nroff macros that separate sections
|
||||
'secure' secure mode for reading .vimrc in current dir
|
||||
|
||||
@@ -59,7 +59,7 @@ local options_list = {
|
||||
{ 'scroll', N_ 'number of lines to scroll for CTRL-U and CTRL-D' },
|
||||
{ 'smoothscroll', N_ 'scroll by screen line' },
|
||||
{ 'scrolloff', N_ 'number of screen lines to show around the cursor' },
|
||||
{ 'scrolloffpad', N_ "keep 'scrolloff' context even at end of file" },
|
||||
{ 'scrolloffpad', N_ 'vertically center cursor even at end of file' },
|
||||
{ 'wrap', N_ 'long lines wrap' },
|
||||
{ 'linebreak', N_ "wrap long lines at a character in 'breakat'" },
|
||||
{ 'breakindent', N_ 'preserve indentation in wrapped text' },
|
||||
|
||||
@@ -7272,7 +7272,7 @@ local options = {
|
||||
]=],
|
||||
full_name = 'scrolloffpad',
|
||||
scope = { 'global', 'win' },
|
||||
short_desc = N_("keep 'scrolloff' context even at end of file"),
|
||||
short_desc = N_('vertically center cursor even at end of file'),
|
||||
type = 'number',
|
||||
varname = 'p_sop',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user