Commit 4c27ebe6 authored by Waqar Ahmed's avatar Waqar Ahmed Committed by Christoph Cullmann
Browse files

Downgrade lsp semantic highlighting warnings

parent b298f1cc
......@@ -2066,7 +2066,7 @@ public:
}
}
if (version != miface->revision()) {
qCWarning(LSPCLIENT) << "discarding highlighting, versions don't match:" << params.textDocument.version << version << miface->revision();
qCDebug(LSPCLIENT) << "discarding highlighting, versions don't match:" << params.textDocument.version << version << miface->revision();
return;
}
......
......@@ -749,7 +749,7 @@ static LSPSemanticHighlightingParams parseSemanticHighlighting(const QJsonObject
// the raw tokens are in big endian, we may need to convert that to little endian
const auto rawTokens = QByteArray::fromBase64(tokenString.toString().toUtf8());
if (rawTokens.size() % TokenSize != 0) {
qCWarning(LSPCLIENT) << "unexpected raw token size" << rawTokens.size() << "for string" << tokenString << "in line" << info.line;
qCDebug(LSPCLIENT) << "unexpected raw token size" << rawTokens.size() << "for string" << tokenString << "in line" << info.line;
continue;
}
const auto numTokens = rawTokens.size() / TokenSize;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment