diff --git a/internal/lsp/server.go b/internal/lsp/server.go index f35d0c5b..833ab5a0 100644 --- a/internal/lsp/server.go +++ b/internal/lsp/server.go @@ -124,6 +124,11 @@ func (l *LanguageServer) Handle( return nil, fmt.Errorf("failed to close connection: %w", err) } + return struct{}{}, nil + case "$/cancelRequest": + // TODO: this is a no-op, but is something that we should implement + // if we want to support longer running, client-triggered operations + // https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#dollarRequests return struct{}{}, nil }