Skip to content

Commit

Permalink
Add missing public init
Browse files Browse the repository at this point in the history
  • Loading branch information
koliyo committed Oct 27, 2023
1 parent 87d94fb commit fc22585
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ public struct LinkedEditingRangeParams: Codable, Hashable, Sendable {
public struct LinkedEditingRanges : Codable, Sendable {
public let ranges: [LSPRange]
public let wordPattern: String?

public init(ranges: [LSPRange], wordPattern: String? = nil) {
self.ranges = ranges
self.wordPattern = wordPattern
}
}


Expand Down

0 comments on commit fc22585

Please sign in to comment.