mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
defaults: scrollback=10000 (#7556)
This commit is contained in:
parent
30a21830d0
commit
67e4529292
@ -4789,7 +4789,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
height with ":set scroll=0".
|
||||
|
||||
*'scrollback'* *'scbk'*
|
||||
'scrollback' 'scbk' number (default: 1000
|
||||
'scrollback' 'scbk' number (default: 10000
|
||||
in normal buffers: -1)
|
||||
local to buffer
|
||||
Maximum number of lines kept beyond the visible screen. Lines at the
|
||||
|
@ -1924,7 +1924,7 @@ return {
|
||||
vi_def=true,
|
||||
varname='p_scbk',
|
||||
redraw={'current_buffer'},
|
||||
defaults={if_true={vi=1000}}
|
||||
defaults={if_true={vi=10000}}
|
||||
},
|
||||
{
|
||||
full_name='scrollbind', abbreviation='scb',
|
||||
|
@ -462,10 +462,10 @@ describe("'scrollback' option", function()
|
||||
screen:detach()
|
||||
end)
|
||||
|
||||
it('defaults to 1000 in terminal buffers', function()
|
||||
it('defaults to 10000 in terminal buffers', function()
|
||||
set_fake_shell()
|
||||
command('terminal')
|
||||
eq(1000, curbufmeths.get_option('scrollback'))
|
||||
eq(10000, curbufmeths.get_option('scrollback'))
|
||||
end)
|
||||
|
||||
it('error if set to invalid value', function()
|
||||
|
Loading…
Reference in New Issue
Block a user