aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/ruby/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/ruby/highlights.scm')
-rw-r--r--runtime/queries/ruby/highlights.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/runtime/queries/ruby/highlights.scm b/runtime/queries/ruby/highlights.scm
index 0472df092..5aa518a28 100644
--- a/runtime/queries/ruby/highlights.scm
+++ b/runtime/queries/ruby/highlights.scm
@@ -48,6 +48,9 @@
"then"
] @keyword.conditional
+(in_clause
+ "in" @keyword.conditional)
+
(if
"end" @keyword.conditional)
@@ -61,6 +64,9 @@
"next"
] @keyword.repeat
+(in
+ "in" @keyword.repeat)
+
(constant) @constant
((identifier) @keyword.modifier
@@ -291,6 +297,9 @@
(pair
":" @punctuation.delimiter)
+(keyword_pattern
+ ":" @punctuation.delimiter)
+
[
"("
")"