Skip to content

Commit

Permalink
fix(julia): fix macro identifier highlight query
Browse files Browse the repository at this point in the history
This fixes the macro identifier highlight query after the breaking
changes in tree-sitter/tree-sitter-julia#153.
See also
tree-sitter/tree-sitter-julia@9f2fb3b.
  • Loading branch information
fredrikekre committed Nov 22, 2024
1 parent 731fbe9 commit a79afea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion queries/julia/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@
(#any-of? @_pipe "|>" ".|>"))

; Macros
(macro_identifier) @function.macro
(macro_identifier
"@" @function.macro
(identifier) @function.macro)

(macro_definition
(signature
Expand Down

0 comments on commit a79afea

Please sign in to comment.