LanguageClient: support semanticTokens/refresh

Fixes: QTCREATORBUG-26499
Change-Id: Icd5879609bb856797fa223394357a1f15554d2cf
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
David Schulz
2021-11-02 14:21:50 +01:00
parent d3345320c7
commit 426fde79d6
9 changed files with 74 additions and 3 deletions

View File

@@ -674,7 +674,7 @@ void ClangdTestHighlighting::initTestCase()
m_results = results;
loop.quit();
};
connect(client(), &ClangdClient::highlightingResultsReady, handler);
connect(client(), &ClangdClient::highlightingResultsReady, &loop, handler);
timer.start(10000);
loop.exec();
QVERIFY(timer.isActive());