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

LanguageServers: Only notify client about updated declarations

If the declarations haven't changed since we last notified the client,
then there's no need to do so.
This commit is contained in:
Itamar 2021-04-10 17:35:55 +03:00 committed by Andreas Kling
parent 667926df73
commit 5adfcd54d8
2 changed files with 7 additions and 1 deletions

View file

@ -37,7 +37,7 @@
namespace LanguageServers::Cpp {
ParserAutoComplete::ParserAutoComplete(ClientConnection& connection, const FileDB& filedb)
: AutoCompleteEngine(connection, filedb)
: AutoCompleteEngine(connection, filedb, true)
{
}