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".
|
height with ":set scroll=0".
|
||||||
|
|
||||||
*'scrollback'* *'scbk'*
|
*'scrollback'* *'scbk'*
|
||||||
'scrollback' 'scbk' number (default: 1000
|
'scrollback' 'scbk' number (default: 10000
|
||||||
in normal buffers: -1)
|
in normal buffers: -1)
|
||||||
local to buffer
|
local to buffer
|
||||||
Maximum number of lines kept beyond the visible screen. Lines at the
|
Maximum number of lines kept beyond the visible screen. Lines at the
|
||||||
|
@ -1924,7 +1924,7 @@ return {
|
|||||||
vi_def=true,
|
vi_def=true,
|
||||||
varname='p_scbk',
|
varname='p_scbk',
|
||||||
redraw={'current_buffer'},
|
redraw={'current_buffer'},
|
||||||
defaults={if_true={vi=1000}}
|
defaults={if_true={vi=10000}}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
full_name='scrollbind', abbreviation='scb',
|
full_name='scrollbind', abbreviation='scb',
|
||||||
|
@ -462,10 +462,10 @@ describe("'scrollback' option", function()
|
|||||||
screen:detach()
|
screen:detach()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
it('defaults to 1000 in terminal buffers', function()
|
it('defaults to 10000 in terminal buffers', function()
|
||||||
set_fake_shell()
|
set_fake_shell()
|
||||||
command('terminal')
|
command('terminal')
|
||||||
eq(1000, curbufmeths.get_option('scrollback'))
|
eq(10000, curbufmeths.get_option('scrollback'))
|
||||||
end)
|
end)
|
||||||
|
|
||||||
it('error if set to invalid value', function()
|
it('error if set to invalid value', function()
|
||||||
|
Loading…
Reference in New Issue
Block a user