mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 23:18:33 +00:00
Merge #21580 cmdline issues with cmdheight=0
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user