Started implementing LSP workspace diagnostic to find that not a single LSP implements it, so I just wasted 2 hours of my life. I'll keep the base structure for the future.

This commit is contained in:
Martín Lucas Golini
2024-11-26 00:51:23 -03:00
parent 9f18c81dfb
commit 0e97236369
10 changed files with 120 additions and 5 deletions

View File

@@ -222,7 +222,7 @@ void PluginManager::sendBroadcast( Plugin* pluginWho, PluginMessageType type,
subscribedPlugins = mSubscribedPlugins;
}
for ( const auto& plugin : subscribedPlugins )
if ( pluginWho->getId() != plugin.first )
if ( nullptr == pluginWho || pluginWho->getId() != plugin.first )
plugin.second( { type, format, data, -1 } );
}