Try fix an issue with plugin reload.

Don't auto format config files when auto format on save is set to avoid issues.
Try to fix a very rare issue with the syntax highlighter (also improve locking).
This commit is contained in:
Martín Lucas Golini
2023-10-12 20:55:55 -03:00
parent 765c6b7632
commit 2b15e0749d
13 changed files with 111 additions and 46 deletions

View File

@@ -763,9 +763,10 @@ void LSPClientPlugin::load( PluginManager* pluginManager ) {
if ( mDocs.find( doc.first ) != mDocs.end() )
mClientManager.tryRunServer( doc.second );
mDelayedDocs.clear();
if ( mReady )
if ( mReady ) {
fireReadyCbs();
setReady();
}
subscribeFileSystemListener();
}