mirror of
https://github.com/neovim/neovim.git
synced 2026-07-12 12:29:44 +00:00
vim-patch:9.2.0356: Cannot apply 'scrolloff' context lines at end of file
Problem: Cannot apply 'scrolloff' context lines at end of file
Solution: Add the 'scrolloffpad' option to keep 'scrolloff' context even
when at the end of the file (McAuley Penney).
closes: vim/vim#19040
a414630393
Co-authored-by: McAuley Penney <jacobmpenney@gmail.com>
This commit is contained in:
@@ -59,6 +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" },
|
||||
{ 'wrap', N_ 'long lines wrap' },
|
||||
{ 'linebreak', N_ "wrap long lines at a character in 'breakat'" },
|
||||
{ 'breakindent', N_ 'preserve indentation in wrapped text' },
|
||||
|
||||
Reference in New Issue
Block a user