Commit 46a5e5dc authored by Jørgen Lien Sellæg's avatar Jørgen Lien Sellæg
Browse files

disable dynamic registration of capabillities

parent d4a1f165
Pipeline #252903339 passed with stages
in 17 minutes and 44 seconds
......@@ -134,36 +134,38 @@ LanguageProtocol::Capabilities LanguageProtocol::Client::initialize(Source::Lang
}
write_request(
nullptr, "initialize", "\"processId\":" + std::to_string(process_id) + R"(,"rootUri":")" + filesystem::get_uri_from_path(root_path) + R"(","capabilities": {
"workspace": { "symbol": { "dynamicRegistration": true } },
"workspace": {
"symbol": { "dynamicRegistration": false }
},
"textDocument": {
"synchronization": { "dynamicRegistration": true, "didSave": true },
"synchronization": { "dynamicRegistration": false, "didSave": true },
"completion": {
"dynamicRegistration": true,
"dynamicRegistration": false,
"completionItem": {
"snippetSupport": true,
"documentationFormat": ["markdown", "plaintext"]
}
},
"hover": {
"dynamicRegistration": true,
"dynamicRegistration": false,
"contentFormat": ["markdown", "plaintext"]
},
"signatureHelp": {
"dynamicRegistration": true,
"dynamicRegistration": false,
"signatureInformation": {
"documentationFormat": ["markdown", "plaintext"]
}
},
"definition": { "dynamicRegistration": true },
"references": { "dynamicRegistration": true },
"documentHighlight": { "dynamicRegistration": true },
"documentSymbol": { "dynamicRegistration": true },
"formatting": { "dynamicRegistration": true },
"rangeFormatting": { "dynamicRegistration": true },
"rename": { "dynamicRegistration": true },
"definition": { "dynamicRegistration": false },
"references": { "dynamicRegistration": false },
"documentHighlight": { "dynamicRegistration": false },
"documentSymbol": { "dynamicRegistration": false },
"formatting": { "dynamicRegistration": false },
"rangeFormatting": { "dynamicRegistration": false },
"rename": { "dynamicRegistration": false },
"publishDiagnostics": { "relatedInformation":true },
"codeAction": {
"dynamicRegistration": true,
"dynamicRegistration": false,
"codeActionLiteralSupport": {
"codeActionKind": { "valueSet": ["quickfix"] }
}
......
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