summaryrefslogtreecommitdiff
path: root/lsp-parse.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-27 13:16:45 -0500
committerpommicket <pommicket@gmail.com>2022-12-27 13:16:45 -0500
commitcb3f9f672343a98ab8bae0479a7c2e7570c37609 (patch)
treef9b5f01b05091c88abb1c6a30b6020afd169cb12 /lsp-parse.c
parent1379bfc2bfc8f96215d9187e72ac30dc5c94225f (diff)
ignore telemetry/event
Diffstat (limited to 'lsp-parse.c')
-rw-r--r--lsp-parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lsp-parse.c b/lsp-parse.c
index 8797edf..979569e 100644
--- a/lsp-parse.c
+++ b/lsp-parse.c
@@ -341,7 +341,7 @@ static bool parse_server2client_request(LSP *lsp, JSON *json, LSPRequest *reques
}
lsp_send_response(lsp, &response);
return false;
- } else if (str_has_prefix(method, "$/")) {
+ } else if (str_has_prefix(method, "$/") || str_has_prefix(method, "telemetry/")) {
// we can safely ignore this
} else {
lsp_set_error(lsp, "Unrecognized request method: %s", method);