mirror of
https://github.com/neovim/neovim.git
synced 2025-01-01 17:23:36 -07:00
abe38f7d26
closes #7429 Problem: after a help window was closed, a window was selected and its autocommands triggered. After that, restore_snapshot was called and the focused window changed, confusing the user. Solution: Add function get_snapshot_focus() that returns the window that holds the cursor in a snapshot. Use this function in win_close to make sure the right window is selected before any autocommand is triggered. |
||
---|---|---|
.. | ||
autocmd_spec.lua | ||
bufenter_spec.lua | ||
cmdline_spec.lua | ||
dirchanged_spec.lua | ||
tabclose_spec.lua | ||
tabnew_spec.lua | ||
tabnewentered_spec.lua | ||
termclose_spec.lua | ||
textyankpost_spec.lua |