You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Let's say we open a buffer with some symbols and use aerial to open the symbol tree. When we close the original buffer (e.g. through :bwipeout, :bdelete, <C-W> + c etc, the aerial window should also close. For instance, it is expected that the aerial window shall auto-close when the last valid file/buffer is closed, and can be mildly surprising when just the aerial window persists as the last open buffer.
Currently, the aerial window is left orphaned, pointing to dangling symbols which lead to a bunch of error lines when trying to open.
E5108: Error executing lua ...te/pack/packer/opt/aerial.nvim/lua/aerial/navigation.lua:175: Could not find destination window
stack traceback:
[C]: in function 'error'
...te/pack/packer/opt/aerial.nvim/lua/aerial/navigation.lua:175: in function 'select'
...vim/site/pack/packer/opt/aerial.nvim/lua/aerial/init.lua:92: in function 'select'
[string ":lua"]:1: in main chunk
Description
Let's say we open a buffer with some symbols and use aerial to open the symbol tree. When we close the original buffer (e.g. through
:bwipeout
,:bdelete
,<C-W> + c
etc, the aerial window should also close. For instance, it is expected that the aerial window shall auto-close when the last valid file/buffer is closed, and can be mildly surprising when just the aerial window persists as the last open buffer.Currently, the aerial window is left orphaned, pointing to dangling symbols which lead to a bunch of error lines when trying to open.
System information
To Reproduce
Steps to reproduce the behavior:
:AerialToggle<CR>
:q
(orZZ
,ZQ
etc). The aerial window alone will persist.Screenshots
After
:q
, we are left withAnd pressing
<CR>
on any of the symbols in the tree results in an error:The text was updated successfully, but these errors were encountered: