I've searched a couple times for any kind of hook to notify a plugin that it is being uninstalled and have come up empty.
Some plugins have to make global config.yaml settings to function properly. Is there a way to hook into an uninstall to facilitate this?
A sample use case if this isn't clear:
Plugin "Do Stuff" disables the built-in gcode viewer plugin because it has its own implementation. How does "Do Stuff" go about re-enabling the built-in gcode viewer if the user decides to uninstall it?