diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2018-06-03 19:31:37 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-06-04 01:31:37 +0200 |
commit | 7795829767818a3c6cbeed7957a1ad5c03d48d41 (patch) | |
tree | 9c79b6783dc90c93c5db95f6f9b03e48898a1e43 /src/nvim/options.lua | |
parent | 807a16dbc1c6acdf573f6601cb3e6e15843800d6 (diff) | |
download | rneovim-7795829767818a3c6cbeed7957a1ad5c03d48d41.tar.gz rneovim-7795829767818a3c6cbeed7957a1ad5c03d48d41.tar.bz2 rneovim-7795829767818a3c6cbeed7957a1ad5c03d48d41.zip |
vim-patch:8.0.1237: ":set scroll&" often gives an error (#8473)
Problem: ":set scroll&" often gives an error.
Solution: Don't use a fixed default value, use half the window height. Add a
test. (Ozaki Kiichi, closes vim/vim#2104)
https://github.com/vim/vim/commit/af2d20c6285c1d2973e3d9b5e8f727e3ed180493
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 f1f559fff0..47c9f5aa78 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -1922,7 +1922,7 @@ return { no_mkrc=true, vi_def=true, pv_name='p_scroll', - defaults={if_true={vi=12}} + defaults={if_true={vi=0}} }, { full_name='scrollback', abbreviation='scbk', |