Skip to content

Commit

Permalink
Update API
Browse files Browse the repository at this point in the history
  • Loading branch information
krzyzanowskim committed Sep 13, 2023
1 parent 80f7794 commit 6ac4273
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ let package = Package(
targets: ["NeonPlugin"]),
],
dependencies: [
.package(url: "https://github.com/krzyzanowskim/STTextView", from: "0.8.12"),
.package(url: "https://github.com/krzyzanowskim/STTextView", from: "0.8.13"),
.package(url: "https://github.com/ChimeHQ/Neon.git", from: "0.5.1"),
.package(url: "https://github.com/krzyzanowskim/tree-sitter-xcframework", from: "0.208.3")
],
Expand Down
2 changes: 1 addition & 1 deletion Sources/NeonPlugin/NeonPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public struct NeonPlugin: STPlugin {
self.theme = theme
}

public func setUp(context: Context) {
public func setUp(context: any Context) {

context.events.onWillChangeText { affectedRange in
let range = NSRange(affectedRange, in: context.textView.textContentManager)
Expand Down

0 comments on commit 6ac4273

Please sign in to comment.