Fix paste with middle-click in OSes with no primary selection.

Fix emoji color positioning (broke in previous commit).
Prevent dead-locks in LSP *very* heavy usage scenarios (added a few logs i might remove later).
Enable auto-complete list highlighting by default.
This commit is contained in:
Martín Lucas Golini
2025-12-23 18:04:36 -03:00
parent 9ee71f3ca1
commit 396b3d9d07
14 changed files with 212 additions and 122 deletions

View File

@@ -467,12 +467,8 @@ PluginRequestHandle LSPClientPlugin::processTextDocumentSymbol( const PluginMess
auto handler = [uri, this]( const PluginIDType& id, LSPSymbolInformationList&& res ) {
setDocumentSymbolsFromResponse( id, uri, std::move( res ) );
};
if ( Engine::instance()->isMainThread() ) {
server->getThreadPool()->run(
[server, uri, handler]() { server->documentSymbols( uri, handler ); } );
} else {
server->documentSymbols( uri, handler );
}
server->documentSymbols( uri, handler );
return { uri.toString() };
}