Commit 33a748a4 authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

lsp: Handle client/RegisterCapability

vscode-languageserver based servers terminate if we send error in
response.
parent 8c1ad98d
Pipeline #113461 failed with stage
in 3 minutes and 25 seconds
......@@ -1571,7 +1571,7 @@ public:
};
auto h = responseHandler<QList<LSPWorkspaceFolder>>(prepareResponse(msgid), workspaceFolders);
Q_EMIT q->workspaceFolders(h, handled);
} else if (method == QLatin1String("window/workDoneProgress/create")) {
} else if (method == QLatin1String("window/workDoneProgress/create") || method == QLatin1String("client/registerCapability")) {
// void reply to accept
// that should trigger subsequent progress notifications
// for now; also no need to extract supplied token
......
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