Mercurial > vim
comparison src/testdir/test_options.vim @ 17229:f1c7b7a4d9e4 v8.1.1614
patch 8.1.1614: 'numberwidth' can only go up to 10
commit https://github.com/vim/vim/commit/f8a071265535b8cc43e50a81f4d5049883ca50e4
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jul 1 22:06:07 2019 +0200
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 https://github.com/vim/vim/issues/4584)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 01 Jul 2019 22:15:05 +0200 |
parents | 5cda6165a5c1 |
children | 0da9bc55c31a |
comparison
equal
deleted
inserted
replaced
17228:da9a9c4265a1 | 17229:f1c7b7a4d9e4 |
---|---|
243 func Test_set_errors() | 243 func Test_set_errors() |
244 call assert_fails('set scroll=-1', 'E49:') | 244 call assert_fails('set scroll=-1', 'E49:') |
245 call assert_fails('set backupcopy=', 'E474:') | 245 call assert_fails('set backupcopy=', 'E474:') |
246 call assert_fails('set regexpengine=3', 'E474:') | 246 call assert_fails('set regexpengine=3', 'E474:') |
247 call assert_fails('set history=10001', 'E474:') | 247 call assert_fails('set history=10001', 'E474:') |
248 call assert_fails('set numberwidth=11', 'E474:') | 248 call assert_fails('set numberwidth=21', 'E474:') |
249 call assert_fails('set colorcolumn=-a') | 249 call assert_fails('set colorcolumn=-a') |
250 call assert_fails('set colorcolumn=a') | 250 call assert_fails('set colorcolumn=a') |
251 call assert_fails('set colorcolumn=1,') | 251 call assert_fails('set colorcolumn=1,') |
252 call assert_fails('set cmdheight=-1', 'E487:') | 252 call assert_fails('set cmdheight=-1', 'E487:') |
253 call assert_fails('set cmdwinheight=-1', 'E487:') | 253 call assert_fails('set cmdwinheight=-1', 'E487:') |