diff options
| author | Luuk van Baal <luukvbaal@gmail.com> | 2025-04-20 01:09:24 +0200 |
|---|---|---|
| committer | luukvbaal <luukvbaal@gmail.com> | 2025-04-21 15:38:23 +0200 |
| commit | 7ba0f623d75a3ad0c00c376b20a5f5e6acebebec (patch) | |
| tree | 54b59913b80e3a20b1ed35fe4a93caa47edd78db /runtime/lua/_vim9script.lua | |
| parent | de7306a250e15785a9d40654f980dd74a4c33e3b (diff) | |
feat(ui): avoid setting 'cmdheight' with vim.ui_attach()
Problem: We allow setting 'cmdheight' to 0 with ext_messages enabled
since b72931e7. Enabling ext_messages with vim.ui_attach()
implicitly sets 'cmdheight' to 0 for BWC. When non-zero
'cmdheight' is wanted, this behavior make it unnecessarily
hard to keep track of the user configured value.
Solution: Add set_cmdheight to vim.ui_attach() opts table that can be
set to false to avoid setting 'cmdheight' to 0.
Diffstat (limited to 'runtime/lua/_vim9script.lua')
0 files changed, 0 insertions, 0 deletions
