mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-04 20:46:29 +03:00
ecode: More LSP work and auto completion.
This commit is contained in:
@@ -39,7 +39,10 @@ void LSPDocumentClient::onDocumentSaved( TextDocument* ) {
|
||||
}
|
||||
|
||||
void LSPDocumentClient::onDocumentClosed( TextDocument* ) {
|
||||
mServer->getThreadPool()->run( [&]() { mServer->didClose( mDoc ); } );
|
||||
URI uri = mDoc->getURI();
|
||||
LSPClientServer* server = mServer;
|
||||
mServer->getThreadPool()->run( [server, uri]() { server->didClose( uri ); } );
|
||||
mServer->removeDoc( mDoc );
|
||||
}
|
||||
|
||||
void LSPDocumentClient::onDocumentDirtyOnFileSystem( TextDocument* ) {}
|
||||
|
||||
Reference in New Issue
Block a user