summaryrefslogtreecommitdiff
path: root/lsp-write.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-28 12:25:18 -0500
committerpommicket <pommicket@gmail.com>2022-12-28 12:25:18 -0500
commitd6b2cc80723ce6e8454449bcdcdcb495f7a08ad9 (patch)
tree0c51db5f1b26b2634ef3d3e6fd7916b612d748e8 /lsp-write.c
parent92e8db6a364b8d1c38f3c15b8e040f6fb7c564f0 (diff)
refresh signature help when cursor moved or buffer switched
Diffstat (limited to 'lsp-write.c')
-rw-r--r--lsp-write.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lsp-write.c b/lsp-write.c
index 910eb1b..406faa5 100644
--- a/lsp-write.c
+++ b/lsp-write.c
@@ -397,6 +397,9 @@ static void write_request(LSP *lsp, LSPRequest *request) {
write_key_obj_start(o, "signatureHelp");
// we don't have context support because sending the activeSignatureHelp member is annoying
//write_key_bool(o, "contextSupport", true);
+ write_key_obj_start(o, "signatureInformation");
+ write_key_bool(o, "activeParameterSupport", true);
+ write_obj_end(o);
write_obj_end(o);
write_obj_end(o);
write_key_obj_start(o, "workspace");