[gnome-builder] lsp: notify server of workspace/configuration support
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] lsp: notify server of workspace/configuration support
- Date: Thu, 5 Dec 2019 20:08:31 +0000 (UTC)
commit 236687d09d29f979e45cd65abf63effa3c30784e
Author: Christian Hergert <chergert redhat com>
Date: Thu Dec 5 12:08:30 2019 -0800
lsp: notify server of workspace/configuration support
Fixes #1089
src/libide/lsp/ide-lsp-client.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/src/libide/lsp/ide-lsp-client.c b/src/libide/lsp/ide-lsp-client.c
index be5d9a940..1cbec0ca0 100644
--- a/src/libide/lsp/ide-lsp-client.c
+++ b/src/libide/lsp/ide-lsp-client.c
@@ -1120,7 +1120,11 @@ ide_lsp_client_start (IdeLspClient *self)
"rootUri", JSONRPC_MESSAGE_PUT_STRING (root_uri),
"rootPath", JSONRPC_MESSAGE_PUT_STRING (root_path),
"trace", JSONRPC_MESSAGE_PUT_STRING (trace_string),
- "capabilities", "{", "}"
+ "capabilities", "{",
+ "workspace", "{",
+ "configuration", JSONRPC_MESSAGE_PUT_BOOLEAN (TRUE),
+ "}",
+ "}"
);
/*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]