From b182eec37fc2ef47349ff1cd19fbb645029c358e Mon Sep 17 00:00:00 2001 From: SuperAuguste Date: Wed, 13 May 2020 19:36:51 -0400 Subject: [PATCH] quick removal of debug --- src/main.zig | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/main.zig b/src/main.zig index 4b8d8fc..e8e96ca 100644 --- a/src/main.zig +++ b/src/main.zig @@ -628,18 +628,18 @@ fn processJsonRpc(parser: *std.json.Parser, json: []const u8, config: Config) !v try respondGeneric(id, no_completions_response); } } else if (std.mem.eql(u8, method, "textDocument/signatureHelp")) { - try respondGeneric(id, - \\,"result":{"signatures":[{ - \\"label": "nameOfFunction(aNumber: u8)", - \\"documentation": {"kind": "markdown", "value": "Description of the function in **Markdown**!"}, - \\"parameters": [ - \\{"label": [15, 27], "documentation": {"kind": "markdown", "value": "An argument"}} - \\] - \\}]}} - ); // try respondGeneric(id, - // \\,"result":{"signatures":[]}} + // \\,"result":{"signatures":[{ + // \\"label": "nameOfFunction(aNumber: u8)", + // \\"documentation": {"kind": "markdown", "value": "Description of the function in **Markdown**!"}, + // \\"parameters": [ + // \\{"label": [15, 27], "documentation": {"kind": "markdown", "value": "An argument"}} + // \\] + // \\}]}} // ); + try respondGeneric(id, + \\,"result":{"signatures":[]}} + ); } else if (root.Object.getValue("id")) |_| { try log("Method with return value not implemented: {}", .{method}); try respondGeneric(id, not_implemented_response);