Skip to content

Commit

Permalink
Fix main actor build errors in Coordinator.swift (#5)
Browse files Browse the repository at this point in the history
Fix various build errors in `Coordinator.swift` by decorating
declaration with `@MainActor`.


![IMG_9738](https://github.com/krzyzanowskim/STTextView-Plugin-Neon/assets/27621026/e9fc19d1-4815-4afa-a897-9438502a0fd0)
  • Loading branch information
sebjvidal authored Feb 6, 2024
1 parent 1b3b5c0 commit 7bcd6c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/NeonPlugin/Coordinator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import SwiftTreeSitter
import TreeSitter
import TreeSitterResource

@MainActor
public class Coordinator {
private(set) var highlighter: Neon.Highlighter?
private let language: TreeSitterLanguage
Expand Down

0 comments on commit 7bcd6c3

Please sign in to comment.