Skip to content

Commit

Permalink
Update ClientCapabilities.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
Wouter01 authored Feb 26, 2024
1 parent 950fd0d commit 54a4672
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Sources/LanguageServerProtocol/ClientCapabilities.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 54a4672

Please sign in to comment.