Skip to content

Commit

Permalink
Include missing file
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmassicotte committed Feb 7, 2024
1 parent 914b602 commit 95442b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/TreeSitterClient/TreeSitterClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ enum TreeSitterClientError: Error {
public final class TreeSitterClient {
public typealias TextProvider = SwiftTreeSitter.Predicate.TextProvider
public typealias ContentProvider = (Int) -> LanguageLayer.Content
private typealias SublayerValidator = OldRangeValidator<UnversionableContent>
private typealias SublayerValidator = SinglePhaseRangeValidator<UnversionableContent>

private static let deltaRange = 128..<Int.max
#if canImport(os.log)
Expand Down Expand Up @@ -64,7 +64,7 @@ public final class TreeSitterClient {
private lazy var sublayerValidator = SublayerValidator(
configuration: .init(
versionedContent: versionedContent,
validationProvider: validatorProvider
provider: validatorProvider
)
)

Expand Down Expand Up @@ -200,7 +200,7 @@ extension TreeSitterClient {
}
}

private var validatorProvider: SublayerValidator.ValidationProvider {
private var validatorProvider: SublayerValidator.Provider {
.init(
rangeProcessor: rangeProcessor,
inputTransformer: { ($0.value.max, .optional) },
Expand Down

0 comments on commit 95442b2

Please sign in to comment.