Commit d8c27631 authored by Fire Fragment's avatar Fire Fragment Committed by Christoph Cullmann
Browse files

LSP client: Improve support for markdown in doc tooltips

Annouce, that we are capable of rendering markdown in editor.
Some LSP servers such as rust-analyzer would otherwise send just a plain text.
parent 186c1d15
Pipeline #234993 passed with stage
in 4 minutes and 44 seconds
......@@ -1350,6 +1350,12 @@ private:
{QStringLiteral("semanticTokens"), semanticTokens},
{QStringLiteral("synchronization"), QJsonObject{{QStringLiteral("didSave"), true}}},
{QStringLiteral("selectionRange"), QJsonObject{{QStringLiteral("dynamicRegistration"), false}}},
{QStringLiteral("hover"), QJsonObject{
{QStringLiteral("contentFormat"), QJsonArray{
QStringLiteral("markdown"),
QStringLiteral("plaintext")
}}
}}
},
},
{QStringLiteral("window"),
......
Supports Markdown
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