aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--queries/julia/highlights.scm11
1 files changed, 10 insertions, 1 deletions
diff --git a/queries/julia/highlights.scm b/queries/julia/highlights.scm
index 1b096c05d..6988e69f5 100644
--- a/queries/julia/highlights.scm
+++ b/queries/julia/highlights.scm
@@ -73,7 +73,16 @@
(identifier) @type .)
(where_expression
- (_) @type .)
+ [
+ (curly_expression
+ (_) @type)
+ (_) @type
+ ] .)
+
+(unary_expression
+ (operator) @operator
+ (_) @type
+ (#any-of? @operator "<:" ">:"))
(binary_expression
(_) @type