diff options
| author | luukvbaal <luukvbaal@gmail.com> | 2025-05-07 10:02:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-07 10:02:53 +0200 |
| commit | 6dee1672ccc973f50e28e4adb7cbadd481db3f03 (patch) | |
| tree | 426940b23ba2a99f697a2bee5bfad46b77489fb0 /runtime/lua/vim/_extui.lua | |
| parent | 27311b0b5c152899c8bc7156dda28055b8431b76 (diff) | |
| download | rneovim-6dee1672ccc973f50e28e4adb7cbadd481db3f03.tar.gz rneovim-6dee1672ccc973f50e28e4adb7cbadd481db3f03.tar.bz2 rneovim-6dee1672ccc973f50e28e4adb7cbadd481db3f03.zip | |
fix(extui): "box" window width calculated on last line (#33881)
Problem: The "box" window width is calculated on the last line when
applying "last" virt_text. There may be longer lines
part of the same message.
Solution: Don't decrease box width if the calculated width is smaller.
Minor unrelated changes.
Co-authored-by: Eike <eike.rackwitz@mail.de>
Diffstat (limited to 'runtime/lua/vim/_extui.lua')
| -rw-r--r-- | runtime/lua/vim/_extui.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/_extui.lua b/runtime/lua/vim/_extui.lua index 3c758ea595..75adcfa7c5 100644 --- a/runtime/lua/vim/_extui.lua +++ b/runtime/lua/vim/_extui.lua @@ -96,6 +96,7 @@ function M.enable(opts) end if vim.v.vim_did_enter == 1 then + ext.tab_check_wins() check_opt('cmdheight', vim.o.cmdheight) check_opt('termguicolors', vim.o.termguicolors) end |