diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-07-01 22:06:07 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-07-01 22:06:07 +0200 |
commit | f8a071265535b8cc43e50a81f4d5049883ca50e4 (patch) | |
tree | 9a9853212002909960c51efbf60b42b3e708d50c /src/option.c | |
parent | a83e70000f106a1e1e0f86e8e362ec94c0df074c (diff) | |
download | vim-git-f8a071265535b8cc43e50a81f4d5049883ca50e4.tar.gz |
patch 8.1.1614: 'numberwidth' can only go up to 10v8.1.1614
Problem: 'numberwidth' can only go up to 10.
Solution: Allow up to 20. (Charlie Stanton, closes #4584)
Diffstat (limited to 'src/option.c')
-rw-r--r-- | src/option.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/option.c b/src/option.c index 941ea66ff..cd50e8d62 100644 --- a/src/option.c +++ b/src/option.c @@ -9493,10 +9493,10 @@ set_num_option( errmsg = e_positive; curwin->w_p_nuw = 1; } - if (curwin->w_p_nuw > 10) + if (curwin->w_p_nuw > 20) { errmsg = e_invarg; - curwin->w_p_nuw = 10; + curwin->w_p_nuw = 20; } curwin->w_nrwidth_line_count = 0; /* trigger a redraw */ } |