diff --git a/internal/lsp/protocol/general.go b/internal/lsp/protocol/general.go index 00dcb41b68..fd457308ee 100644 --- a/internal/lsp/protocol/general.go +++ b/internal/lsp/protocol/general.go @@ -655,7 +655,7 @@ type DocumentLinkOptions struct { */ type ExecuteCommandOptions struct { /** - * The commands to be executed on the server + * The commands to be executed on the server. */ Commands []string `json:"commands"` } @@ -812,7 +812,7 @@ type ServerCapabilities struct { /** * The server provides execute command support. */ - ExecuteCommandProvider ExecuteCommandOptions `json:"executeCommandProvider,omitempty"` + ExecuteCommandProvider *ExecuteCommandOptions `json:"executeCommandProvider,omitempty"` /** * Workspace specific server capabilities */