diff --git a/Sources/LanguageServerProtocol/ClientCapabilities.swift b/Sources/LanguageServerProtocol/ClientCapabilities.swift index 3d3174b..1075094 100644 --- a/Sources/LanguageServerProtocol/ClientCapabilities.swift +++ b/Sources/LanguageServerProtocol/ClientCapabilities.swift @@ -52,11 +52,19 @@ public typealias DidChangeWatchedFilesClientCapabilities = GenericDynamicRegistr public struct ShowDocumentClientCapabilities: Hashable, Codable, Sendable { public var support: Bool + + public init(support: Bool) { + self.support = support + } } public struct ShowMessageRequestClientCapabilities: Hashable, Codable, Sendable { public struct MessageActionItemCapabilities: Hashable, Codable, Sendable { public var additionalPropertiesSupport: Bool + + public init(additionalPropertiesSupport: Bool) { + self.additionalPropertiesSupport = additionalPropertiesSupport + } } public var messageActionItem: MessageActionItemCapabilities