Closed rchl closed 4 years ago
I'm ready to merge this and will do so tomorrow if nobody stops me.
I only glanced over it :) but it looks like this will work as expected from what I can tell.
I've realized now that due to making server initialization lazy, the cleanup that would happen on plugin_unloaded
(on upgrading LSP-* packages) will likely not happen... So that kinda defeats the purpose of having install_in_cache
flag and updating packages one-by-one.
Instead of creating extra thread when installing server in ST4, use "AbstractPlugin.needs_update_or_installation" and co.
The advantages are:
does not require ST restart after server was installed
Also, call "(un)register_plugin" as recommended by AbstractPlugin API.