Closed willothy closed 2 months ago
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM 0.10 nightly
Operating system/version
Arch Linux, 6.5.2-arch1-1
Describe the bug
When using dynamic titles (
title = "%{%v:lua.custom_edgy_title()%}"
), the width of a window is not calculated properly when folded. This leads to some windows getting wider when folded because highlight attrs / the result of the expr are not accounted for.Steps To Reproduce
bottom
ortop
view (where title width affects folded width).The width of the folded view will not be the same as the actual text width of the winbar.
Expected Behavior
The window should be folded to the text width of the winbar.
Repro