aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--queries/swift/highlights.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/swift/highlights.scm b/queries/swift/highlights.scm
index 273b84b9c..03c06ca22 100644
--- a/queries/swift/highlights.scm
+++ b/queries/swift/highlights.scm
@@ -73,7 +73,7 @@
; Statements
(for_statement ["for" @repeat])
(for_statement ["in" @repeat])
-(for_statement item: (simple_identifier) @variable)
+(for_statement (pattern) @variable)
(else) @keyword
(as_operator) @keyword