diff options
author | Luuk van Baal <luukvbaal@gmail.com> | 2024-03-11 07:13:48 +0100 |
---|---|---|
committer | Luuk van Baal <luukvbaal@gmail.com> | 2024-03-11 07:13:48 +0100 |
commit | b72931e7040794f8c6adf6c0a446758f14107dda (patch) | |
tree | 80baa9c97f8faa58e62891385073ec8f0e245201 /src | |
parent | 3814750d3789b5c5690e8fa68066bd864a4f0a8e (diff) | |
download | rneovim-b72931e7040794f8c6adf6c0a446758f14107dda.tar.gz rneovim-b72931e7040794f8c6adf6c0a446758f14107dda.tar.bz2 rneovim-b72931e7040794f8c6adf6c0a446758f14107dda.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/option.c | 3 |
1 files changed, 0 insertions, 3 deletions
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; } |