Skip to content

Commit

Permalink
Fix Boolean Condition (#269)
Browse files Browse the repository at this point in the history
<!--- IMPORTANT: If this PR addresses multiple unrelated issues, it will
be closed until separated. -->

### Description

Super quick fix for highlights that attempt to query async but are
forced async.

### Related Issues

N/A

### Checklist

<!--- Add things that are not yet implemented above -->

- [x] I read and understood the [contributing
guide](https://github.com/CodeEditApp/CodeEdit/blob/main/CONTRIBUTING.md)
as well as the [code of
conduct](https://github.com/CodeEditApp/CodeEdit/blob/main/CODE_OF_CONDUCT.md)
- [x] The issues this PR addresses are related to each other
- [x] My changes generate no new warnings
- [x] My code builds and runs on my machine
- [x] My changes are all related to the related issue above
- [x] I documented my code
  • Loading branch information
thecoolwinter authored Oct 15, 2024
1 parent 4a1db47 commit b7e3175
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public final class TreeSitterClient: HighlightProviding {
}
}

if execAsync && !forceSyncOperation {
if !forceSyncOperation {
executor.execAsync(
priority: .access,
operation: {
Expand Down

0 comments on commit b7e3175

Please sign in to comment.