feat(julia): highlight interpolation operator

This patch adds `$` to the `@punctuation.special` capture group within
`(string_interpolation)` (e.g. `"hello $name"`) and
`(interpolation_expression)` (e.g. `:(hello $name)`) nodes.
This commit is contained in:
Fredrik Ekre 2024-11-28 21:24:32 +01:00 committed by Christian Clason
parent a0a1d7bb50
commit 60b4c15e7c

View file

@ -298,6 +298,15 @@
"}"
] @punctuation.bracket
; Interpolation
(string_interpolation
.
"$" @punctuation.special)
(interpolation_expression
.
"$" @punctuation.special)
; Keyword operators
((operator) @keyword.operator
(#any-of? @keyword.operator "in" "isa"))