mirror of
https://github.com/neovim/neovim.git
synced 2026-07-12 04:19:45 +00:00
vim-patch:8.1.0864 Make 'scrolloff' and 'sidescrolloff' options window local (#11854)
Problem: cannot have a local value for 'scrolloff' and 'sidescrolloff'
Author: Bram Moolenar
375e339007
This commit is contained in:
@@ -1990,7 +1990,7 @@ return {
|
||||
},
|
||||
{
|
||||
full_name='scrolloff', abbreviation='so',
|
||||
type='number', scope={'global'},
|
||||
type='number', scope={'global', 'window'},
|
||||
vi_def=true,
|
||||
vim=true,
|
||||
redraw={'all_windows'},
|
||||
@@ -2229,10 +2229,10 @@ return {
|
||||
},
|
||||
{
|
||||
full_name='sidescrolloff', abbreviation='siso',
|
||||
type='number', scope={'global'},
|
||||
type='number', scope={'global', 'window'},
|
||||
vi_def=true,
|
||||
vim=true,
|
||||
redraw={'current_buffer'},
|
||||
redraw={'all_windows'},
|
||||
varname='p_siso',
|
||||
defaults={if_true={vi=0}}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user