summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/lua/vim/_meta/api.lua
diff options
context:
space:
mode:
authorglepnir <glephunter@gmail.com>2026-03-03 19:51:58 +0800
committerGitHub <noreply@github.com>2026-03-03 11:51:58 +0000
commit84d84e9b5befede3cdd2c14b5c11be19b442df0c (patch)
tree0fbac705df2ffedf1437c13277edf3a78bbec3c3 /runtime/lua/vim/_meta/api.lua
parentb23d00ce99092a47ec188d5a3afd231b9c86d5b5 (diff)
fix(window): style=minimal window loses local options when switching buffers #38138
Problem: 5943a81 skips saving window options in `buflist_altfpos` for style=minimal windows, which also prevents the window from restoring its own options when switching buffers. Solution: revert the change. In `get_winopts`, don't restore options from the `WinInfo` of style=minimal windows when reusing values for a different window. In `win_free`, clear `wi_optset` for minimal windows.
Diffstat (limited to 'runtime/lua/vim/_meta/api.lua')
0 files changed, 0 insertions, 0 deletions