Skip to content

Commit b97fce1

Browse files
authored
Fix typo in InlayHintLabelPart: tooltop => tooltip (#31)
1 parent ab5ee52 commit b97fce1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/LanguageServerProtocol/LanguageFeatures/InlayHint.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,16 @@ public struct InlayHintParams: Codable, Hashable, Sendable {
5757

5858
public struct InlayHintLabelPart: Codable, Hashable, Sendable {
5959
public var value: String
60-
public var tooltop: TwoTypeOption<String, MarkupContent>?
60+
public var tooltip: TwoTypeOption<String, MarkupContent>?
6161
public var location: Location?
6262
public var command: Command?
6363

6464
public init(
65-
value: String, tooltop: TwoTypeOption<String, MarkupContent>? = nil,
65+
value: String, tooltip: TwoTypeOption<String, MarkupContent>? = nil,
6666
location: Location? = nil, command: Command? = nil
6767
) {
6868
self.value = value
69-
self.tooltop = tooltop
69+
self.tooltip = tooltip
7070
self.location = location
7171
self.command = command
7272
}

0 commit comments

Comments
 (0)