mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 07:16:09 +00:00
terminal: global 'scrollback' #6352
Make the 'scrollback' option work like most other buffer-local options: - `:set scrollback=x` sets the global and local value - `:setglobal scrollback=x` sets only the global default - new terminal buffers inherit the global Normal buffers are still always -1, and :setlocal there is an error. Closes #6337
This commit is contained in:

committed by
Justin M. Keyes

parent
2b1398c31e
commit
7bc37ffb22
@@ -1918,7 +1918,7 @@ return {
|
||||
vi_def=true,
|
||||
varname='p_scbk',
|
||||
redraw={'current_buffer'},
|
||||
defaults={if_true={vi=-1}}
|
||||
defaults={if_true={vi=1000}}
|
||||
},
|
||||
{
|
||||
full_name='scrollbind', abbreviation='scb',
|
||||
|
Reference in New Issue
Block a user