aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-07-01 22:54:50 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-07-05 21:26:46 -0400
commit8062e6ff88247e434890dfdfcc25ae293dafc257 (patch)
treeb9359e658157af63debd7d3d47b504d1471b6216 /test
parent3c860e25e909531954af31c832816fa22ec835e7 (diff)
downloadrneovim-8062e6ff88247e434890dfdfcc25ae293dafc257.tar.gz
rneovim-8062e6ff88247e434890dfdfcc25ae293dafc257.tar.bz2
rneovim-8062e6ff88247e434890dfdfcc25ae293dafc257.zip
vim-patch:8.1.1614: 'numberwidth' can only go up to 10
Problem: 'numberwidth' can only go up to 10. Solution: Allow up to 20. (Charlie Stanton, closes vim/vim#4584) https://github.com/vim/vim/commit/f8a071265535b8cc43e50a81f4d5049883ca50e4
Diffstat (limited to 'test')
-rw-r--r--test/functional/options/num_options_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/options/num_options_spec.lua b/test/functional/options/num_options_spec.lua
index 88e554c86f..deda5c9118 100644
--- a/test/functional/options/num_options_spec.lua
+++ b/test/functional/options/num_options_spec.lua
@@ -74,7 +74,7 @@ describe(':set validation', function()
should_fail('foldlevel', -5, 'E487')
should_fail('foldcolumn', 13, 'E474')
should_fail('conceallevel', 4, 'E474')
- should_fail('numberwidth', 11, 'E474')
+ should_fail('numberwidth', 21, 'E474')
should_fail('numberwidth', 0, 'E487')
-- If smaller than 1 this one is set to 'lines'-1