aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKunMing Xie <qqzz014@gmail.com>2018-01-31 03:15:05 +0800
committerJustin M. Keyes <justinkz@gmail.com>2018-01-30 20:15:05 +0100
commit2a1a624878ec70caf1e61b7440a6b9e4dce6c36f (patch)
treee29e83f5d8c276326608107a3498e155e17918fb
parent397ff2c35b7e6ec2db13442b193bfe34f12beda4 (diff)
downloadrneovim-2a1a624878ec70caf1e61b7440a6b9e4dce6c36f.tar.gz
rneovim-2a1a624878ec70caf1e61b7440a6b9e4dce6c36f.tar.bz2
rneovim-2a1a624878ec70caf1e61b7440a6b9e4dce6c36f.zip
vim-patch:8.0.0443: terminal width is set to 80 in test3 (#7933)
Problem: Terminal width is set to 80 in test3. Solution: Instead of setting 'columns' set 'wrapmargin' depending on 'columns. https://github.com/vim/vim/commit/38a3d6c9601b637a28f399059263300e9f65eba4
-rw-r--r--test/functional/legacy/003_cindent_spec.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/legacy/003_cindent_spec.lua b/test/functional/legacy/003_cindent_spec.lua
index 13726050b2..1cede8a7d7 100644
--- a/test/functional/legacy/003_cindent_spec.lua
+++ b/test/functional/legacy/003_cindent_spec.lua
@@ -1957,7 +1957,8 @@ describe('cindent', function()
}
]=])
- feed_command('set tw=0 wm=60 columns=80 noai fo=croq')
+ feed_command('set tw=0 noai fo=croq')
+ feed_command('let &wm = &columns - 20')
feed_command('/serious/e')
feed('a about life, the universe, and the rest<esc>')