Skip to content

Commit

Permalink
Merge e354237 into 30a2183
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmk committed Nov 14, 2017
2 parents 30a2183 + e354237 commit ddb219e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion runtime/doc/options.txt
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/nvim/options.lua
Expand Up @@ -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',
Expand Down
4 changes: 2 additions & 2 deletions test/functional/terminal/scrollback_spec.lua
Expand Up @@ -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()
Expand Down

0 comments on commit ddb219e

Please sign in to comment.