symbols-outline.nvim
symbols-outline.nvim copied to clipboard
callback to close never works
I have noticed that the panel with the symbol outline never closes when the associated buffer (from where the symbol outline was invoked) is wiped or changed or closed entirely; as a result one is left with a window of symbol outline open that is associated to nothing. In particular this is also mentioned in https://github.com/simrat39/symbols-outline.nvim/issues/93.
Having a look at the code it seems that the autocommand to close invokes a condition has_code_win() that never evaluates to true
: the variable so.state.code_win
is set to 1000 and this condition always returns false
.
is my understanding incorrect or when exactly does the outline autoclose?