mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-07-23 03:02:50 +03:00
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:
@@ -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() };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user