diff options
| author | glepnir <glephunter@gmail.com> | 2026-02-13 09:23:30 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-12 20:23:30 -0500 |
| commit | 88dc44260f833db66ed3d9fa4950345ea34efd72 (patch) | |
| tree | 6af92b2e6af8f00caeebd2d187bb20fd12ad49db /test/functional/vimscript/executable_spec.lua | |
| parent | cc7022c5444cc718dd7a0c5a3297664c37406889 (diff) | |
| download | rneovim-88dc44260f833db66ed3d9fa4950345ea34efd72.tar.gz rneovim-88dc44260f833db66ed3d9fa4950345ea34efd72.tar.bz2 rneovim-88dc44260f833db66ed3d9fa4950345ea34efd72.zip | |
fix(api): preserve WinConfig style when converting float to split #37264
Problem: When a float window with style='minimal' is converted to a
split window and then changes buffer, the minimal style options get
overridden. This happens because merge_win_config() clears the style
field, so get_winopts() doesn't know to re-apply minimal style after
restoring options from the buffer's wininfo.
Solution: Save and restore the style field when clearing the config
during float-to-split conversion.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions