mirror of
https://github.com/neovim/neovim.git
synced 2026-02-18 02:11:06 +10:00
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.