Org Mode supports tags like
#+STARTUP: overview showeverything
That control the folding status of a file when it is loaded.
Sublime seems to persist the state of folds.
I have a an on_load event listener that is unfolding everything and trying to reset the fold status of the file in the presence of one of these tags. I am finding however that the fold restoration (by sublime) seems to happen AFTER my on_load event. New folds appear but any folds I clear are still restored.
Is there any way to turn that off for a file type or run after/replace that hook?