summaryrefslogtreecommitdiff
path: root/lsp-parse.c
diff options
context:
space:
mode:
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);