From 98467f487459abef747a930e6cfbe32152f21e59 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Mon, 2 Feb 2026 19:11:46 +0100 Subject: [PATCH] add CancelParams --- lifecycle.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lifecycle.go b/lifecycle.go index 988fdc7..7bac520 100644 --- a/lifecycle.go +++ b/lifecycle.go @@ -65,6 +65,13 @@ type InitializeResult struct { ServerInfo *ServerInfo `json:"serverInfo,omitempty"` } +// CancelParams - Parameters for the cancel request +// +// See https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#cancelRequest +type CancelParams struct { + Id string `json:"id"` +} + // TraceValue - The LSP allows the client to control the tracing of the server. // // See https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#traceValue