diff options
author | Jakob Schnitzer <mail@jakobschnitzer.de> | 2017-03-24 20:21:05 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-03-27 13:43:20 +0200 |
commit | 7bc37ffb22a84668bba5b2e3589c4c05ad43f7d0 (patch) | |
tree | 5934e78d1ad70956550df31298f571f9ff451890 /src/nvim/options.lua | |
parent | 2b1398c31ea9ab9f4aaa40188f24d7e76a519e2d (diff) | |
download | rneovim-7bc37ffb22a84668bba5b2e3589c4c05ad43f7d0.tar.gz rneovim-7bc37ffb22a84668bba5b2e3589c4c05ad43f7d0.tar.bz2 rneovim-7bc37ffb22a84668bba5b2e3589c4c05ad43f7d0.zip |
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
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r-- | src/nvim/options.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua index 853c2b52d7..ee2b8a563d 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -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', |