From 54a4672e1c6bc2745fa7ebb6dcf47851cbe729ec Mon Sep 17 00:00:00 2001 From: Wouter Hennen <62355975+Wouter01@users.noreply.github.com> Date: Mon, 26 Feb 2024 02:17:11 +0100 Subject: [PATCH] Update ClientCapabilities.swift --- Sources/LanguageServerProtocol/ClientCapabilities.swift | 8 ++++++++ 1 file changed, 8 insertions(+) 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