Merge #21580 cmdline issues with cmdheight=0

This commit is contained in:
Justin M. Keyes
2023-01-03 11:02:32 -05:00
committed by GitHub
6 changed files with 44 additions and 6 deletions

View File

@@ -2256,6 +2256,8 @@ static char *set_num_option(int opt_idx, char_u *varp, long value, char *errbuf,
int minval = 0;
if (value < minval) {
errmsg = e_positive;
} else {
p_ch_was_zero = value == 0;
}
} else if (pp == &p_tm) {
if (value < 0) {