mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 14:38:32 +00:00
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.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user