diff options
| author | glepnir <glephunter@gmail.com> | 2025-11-28 02:23:46 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-27 10:23:46 -0800 |
| commit | 31c814a0ed0eca1822ecb0409b06bab24d1c4792 (patch) | |
| tree | 5ecbc0008a6c3839b50158ed8d51a3ae310e5f1b /test/functional/vimscript/executable_spec.lua | |
| parent | 4daa8eb5abcad2e3cf4501f0e4fcaae90ec85b72 (diff) | |
| download | rneovim-31c814a0ed0eca1822ecb0409b06bab24d1c4792.tar.gz rneovim-31c814a0ed0eca1822ecb0409b06bab24d1c4792.tar.bz2 rneovim-31c814a0ed0eca1822ecb0409b06bab24d1c4792.zip | |
fix(float): respect statusline=3, don't inherit local 'statusline' #36716
Problem: When creating floating window from existing window, the
window-local 'statusline' option is inherited, causing unwanted
statusline display. Additionally, with laststatus=3 (global statusline),
the early return skipped clearing wp->w_redr_status flag.
Solution: Clear inherited window-local 'statusline' in win_new_float
for style="minimal". Restructure win_redr_status to always clear the
flag before any early returns, and only render floating window statusline
when window-local 'statusline' is explicitly set. And respect 'laststatus'
option.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions