comparison src/testdir/gen_opt_test.vim @ 30005:bb0e525e1393 v9.0.0340

patch 9.0.0340: the 'cmdheight' zero support causes too much trouble Commit: https://github.com/vim/vim/commit/a2a8973e51a0052bb52e43a2b22e7ecdecc32003 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 31 14:46:18 2022 +0100 patch 9.0.0340: the 'cmdheight' zero support causes too much trouble Problem: The 'cmdheight' zero support causes too much trouble. Solution: Revert support for 'cmdheight' being zero.
author Bram Moolenaar <Bram@vim.org>
date Wed, 31 Aug 2022 16:00:05 +0200
parents 8a243ecfe2dd
children f2f35161d75a
comparison
equal deleted inserted replaced
30004:40b34edf15c2 30005:bb0e525e1393
25 let fontname = has('win32') ? 'fixedsys' : 'fixed' 25 let fontname = has('win32') ? 'fixedsys' : 'fixed'
26 26
27 " Two lists with values: values that work and values that fail. 27 " Two lists with values: values that work and values that fail.
28 " When not listed, "othernum" or "otherstring" is used. 28 " When not listed, "othernum" or "otherstring" is used.
29 let test_values = { 29 let test_values = {
30 \ 'cmdheight': [[0, 1, 2, 10], [-1]], 30 \ 'cmdheight': [[1, 2, 10], [-1, 0]],
31 \ 'cmdwinheight': [[1, 2, 10], [-1, 0]], 31 \ 'cmdwinheight': [[1, 2, 10], [-1, 0]],
32 \ 'columns': [[12, 80], [-1, 0, 10]], 32 \ 'columns': [[12, 80], [-1, 0, 10]],
33 \ 'conceallevel': [[0, 1, 2, 3], [-1, 4, 99]], 33 \ 'conceallevel': [[0, 1, 2, 3], [-1, 4, 99]],
34 \ 'foldcolumn': [[0, 1, 4, 12], [-1, 13, 999]], 34 \ 'foldcolumn': [[0, 1, 4, 12], [-1, 13, 999]],
35 \ 'helpheight': [[0, 10, 100], [-1]], 35 \ 'helpheight': [[0, 10, 100], [-1]],