Hey I just discovered a case where the post_close_hook doesn't execute and it should. You can test this out by opening a floating window preview in the current buffer. For example you're in file.py and the definition that you want to go to is also in file.py the post close hook won't execute after closing the preview window. Sorry I missed this case in my previous pull request! This fixes it.
If there's any implementation changes you'd prefer or formatting please let me know!
Hey I just discovered a case where the post_close_hook doesn't execute and it should. You can test this out by opening a floating window preview in the current buffer. For example you're in file.py and the definition that you want to go to is also in file.py the post close hook won't execute after closing the preview window. Sorry I missed this case in my previous pull request! This fixes it.
If there's any implementation changes you'd prefer or formatting please let me know!