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