diff --git a/Sources/LanguageServerProtocol/LanguageFeatures/SemanticTokens.swift b/Sources/LanguageServerProtocol/LanguageFeatures/SemanticTokens.swift index 9dbaa95..4249bd4 100644 --- a/Sources/LanguageServerProtocol/LanguageFeatures/SemanticTokens.swift +++ b/Sources/LanguageServerProtocol/LanguageFeatures/SemanticTokens.swift @@ -30,8 +30,8 @@ public struct SemanticTokensClientCapabilities: Codable, Hashable, Sendable { public typealias RangeOption = TwoTypeOption public typealias FullOption = TwoTypeOption - public var range: RangeOption - public var full: FullOption + public var range: RangeOption? + public var full: FullOption? public init(range: Bool = true, delta: Bool = true) { self.range = .optionA(range)