From 5be3ddeadd68be5547b3f600ab2b9d2451dba3c4 Mon Sep 17 00:00:00 2001 From: Sergio Alejandro Vargas Date: Mon, 24 Jul 2023 13:51:05 -0500 Subject: [PATCH] fix(julia): symbol highlighting Update the `@symbol` capture to enable highlighting symbols differently from variables. See https://github.com/tree-sitter/tree-sitter-julia/issues/110 --- queries/julia/highlights.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/queries/julia/highlights.scm b/queries/julia/highlights.scm index 9ec16a060..0a7d32df3 100644 --- a/queries/julia/highlights.scm +++ b/queries/julia/highlights.scm @@ -13,7 +13,9 @@ (macro_definition name: (identifier) @function.macro) -(quote_expression ":" [(identifier) (operator)]) @symbol +(quote_expression + ":" @symbol + [(identifier) (operator)] @symbol) (field_expression (identifier) @field .)