1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:48:11 +00:00

LanguageServers/cpp: Use parser-based autocomplete engine by default

This commit is contained in:
Itamar 2021-02-13 10:17:54 +02:00 committed by Andreas Kling
parent 715933ce8b
commit c2e5bc442d
2 changed files with 2 additions and 1 deletions

View file

@ -40,7 +40,7 @@ ClientConnection::ClientConnection(NonnullRefPtr<Core::LocalSocket> socket, int
: IPC::ClientConnection<LanguageClientEndpoint, LanguageServerEndpoint>(*this, move(socket), client_id)
{
s_connections.set(client_id, *this);
m_autocomplete_engine = make<LexerAutoComplete>(m_filedb);
m_autocomplete_engine = make<ParserAutoComplete>(m_filedb);
}
ClientConnection::~ClientConnection()