1
0
Fork 0
mirror of https://github.com/laravel-ls/protocol.git synced 2026-06-16 03:54:56 +02:00

add CancelParams

This commit is contained in:
Henrik Hautakoski 2026-02-02 19:11:46 +01:00
parent 59661d5961
commit 98467f4874

View file

@ -65,6 +65,13 @@ type InitializeResult struct {
ServerInfo *ServerInfo `json:"serverInfo,omitempty"` 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. // 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 // See https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#traceValue