I'm attempting to modify the SyncedSideBar plugin. It always follows file changes, even if the side bar is/was closed. I want to have it check the status of the side bar before it attempts to run the command.
I've looked through the API reference, scoured some other side bar related plugins, and even attempted to hack something together using viewport_extent() & visible_region() (but they aren't affected by a toggle_side_bar call). Anyone know how I can achieve my desire?
On a side note, how I get a list of attributes from window()? Tried print, show, inspect, etc. :-(