Auto-complete module improvements.

This commit is contained in:
Martín Lucas Golini
2022-11-10 11:42:42 -03:00
parent a2e0005e8c
commit 8722518986
8 changed files with 168 additions and 70 deletions

View File

@@ -155,9 +155,11 @@ void LSPClientServerManager::updateDirty() {
mLSPsToClose.push_back( server.first );
}
}
if ( !mLSPsToClose.empty() )
if ( !mLSPsToClose.empty() ) {
for ( const auto& server : mLSPsToClose )
closeLSPServer( server );
mLSPsToClose.clear();
}
}
void LSPClientServerManager::getAndGoToLocation( const std::shared_ptr<TextDocument>& doc,