@@ -86,26 +86,26 @@ public struct WorkspaceClientCapabilities: Hashable, Codable, Sendable {
86
86
public struct Symbol : Hashable , Codable , Sendable {
87
87
88
88
/// Capabilities specific to `SymbolKind`.
89
- public struct SymbolKind : Hashable , Codable , Sendable {
89
+ public struct SymbolKindValueSet : Hashable , Codable , Sendable {
90
90
91
91
/// The symbol kind values that the client can support.
92
92
///
93
93
/// If not specified, the client support only the kinds from `File` to `Array` from LSP 1.
94
94
///
95
95
/// If specified, the client *also* guarantees that it will handle unknown kinds gracefully.
96
- public var valueSet : [ LanguageServerProtocol . SymbolKind ] ? = nil
96
+ public var valueSet : [ SymbolKind ] ? = nil
97
97
98
- public init ( valueSet: [ LanguageServerProtocol . SymbolKind ] ? = nil ) {
98
+ public init ( valueSet: [ SymbolKind ] ? = nil ) {
99
99
self . valueSet = valueSet
100
100
}
101
101
}
102
102
103
103
/// Whether the client supports dynamic registration of this request.
104
104
public var dynamicRegistration : Bool ? = nil
105
105
106
- public var symbolKind : SymbolKind ? = nil
106
+ public var symbolKind : SymbolKindValueSet ? = nil
107
107
108
- public init ( dynamicRegistration: Bool ? = nil , symbolKind: SymbolKind ? = nil ) {
108
+ public init ( dynamicRegistration: Bool ? = nil , symbolKind: SymbolKindValueSet ? = nil ) {
109
109
self . dynamicRegistration = dynamicRegistration
110
110
self . symbolKind = symbolKind
111
111
}
@@ -296,9 +296,9 @@ public struct TextDocumentClientCapabilities: Hashable, Codable, Sendable {
296
296
/// If not specified, the client support only the kinds from `Text` to `Reference` from LSP 1.
297
297
///
298
298
/// If specified, the client *also* guarantees that it will handle unknown kinds gracefully.
299
- public var valueSet : [ LanguageServerProtocol . CompletionItemKind ] ? = nil
299
+ public var valueSet : [ CompletionItemKind ] ? = nil
300
300
301
- public init ( valueSet: [ LanguageServerProtocol . CompletionItemKind ] ? = nil ) {
301
+ public init ( valueSet: [ CompletionItemKind ] ? = nil ) {
302
302
self . valueSet = valueSet
303
303
}
304
304
}
@@ -390,9 +390,9 @@ public struct TextDocumentClientCapabilities: Hashable, Codable, Sendable {
390
390
/// If not specified, the client support only the kinds from `File` to `Array` from LSP 1.
391
391
///
392
392
/// If specified, the client *also* guarantees that it will handle unknown kinds gracefully.
393
- public var valueSet : [ LanguageServerProtocol . SymbolKind ] ? = nil
393
+ public var valueSet : [ SymbolKind ] ? = nil
394
394
395
- public init ( valueSet: [ LanguageServerProtocol . SymbolKind ] ? = nil ) {
395
+ public init ( valueSet: [ SymbolKind ] ? = nil ) {
396
396
self . valueSet = valueSet
397
397
}
398
398
}
@@ -434,21 +434,21 @@ public struct TextDocumentClientCapabilities: Hashable, Codable, Sendable {
434
434
/// Literals accepted by the client in response to a `textDocument/codeAction` request.
435
435
public struct CodeActionLiteralSupport : Hashable , Codable , Sendable {
436
436
/// Accepted code action kinds.
437
- public struct CodeActionKind : Hashable , Codable , Sendable {
437
+ public struct CodeActionKindValueSet : Hashable , Codable , Sendable {
438
438
439
439
/// The code action kind values that the client can support.
440
440
///
441
441
/// If specified, the client *also* guarantees that it will handle unknown kinds gracefully.
442
- public var valueSet : [ LanguageServerProtocol . CodeActionKind ]
442
+ public var valueSet : [ CodeActionKind ]
443
443
444
- public init ( valueSet: [ LanguageServerProtocol . CodeActionKind ] ) {
444
+ public init ( valueSet: [ CodeActionKind ] ) {
445
445
self . valueSet = valueSet
446
446
}
447
447
}
448
448
449
- public var codeActionKind : CodeActionKind
449
+ public var codeActionKind : CodeActionKindValueSet
450
450
451
- public init ( codeActionKind: CodeActionKind ) {
451
+ public init ( codeActionKind: CodeActionKindValueSet ) {
452
452
self . codeActionKind = codeActionKind
453
453
}
454
454
}
0 commit comments