From b72931e7040794f8c6adf6c0a446758f14107dda Mon Sep 17 00:00:00 2001 From: Luuk van Baal Date: Mon, 11 Mar 2024 07:13:48 +0100 Subject: feat(ui): allow non-zero 'cmdheight' with ext_messages Problem: Arbitrary restriction on 'cmdheight' with ext_messages. The 'cmdheight'-area may be desirable for the replacing cmdline. Solution: Allow non-zero 'cmdheight' with ext_messages. --- src/nvim/option.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') diff --git a/src/nvim/option.c b/src/nvim/option.c index fcc5b5eb06..4f1ec59e77 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -2024,9 +2024,6 @@ static const char *did_set_cmdheight(optset_T *args) { OptInt old_value = args->os_oldval.number; - if (ui_has(kUIMessages)) { - p_ch = 0; - } if (p_ch > Rows - min_rows() + 1) { p_ch = Rows - min_rows() + 1; } -- cgit