Skip to content

Commit b7e3175

Browse files
Fix Boolean Condition (#269)
<!--- 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
1 parent 4a1db47 commit b7e3175

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/CodeEditSourceEditor/TreeSitter/TreeSitterClient.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ public final class TreeSitterClient: HighlightProviding {
223223
}
224224
}
225225

226-
if execAsync && !forceSyncOperation {
226+
if !forceSyncOperation {
227227
executor.execAsync(
228228
priority: .access,
229229
operation: {

0 commit comments

Comments
 (0)