From 454c3a9ba86f841dc3b5bb17d150a873a16b77b4 Mon Sep 17 00:00:00 2001 From: Christian Degnbol Madsen Date: Fri, 22 Dec 2023 21:24:04 +1100 Subject: [PATCH] fix(julia): pipe function highlight (#5815) In Julia when piping into a function the function should be highlighted as a function call, and not a variable. --- queries/julia/highlights.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/queries/julia/highlights.scm b/queries/julia/highlights.scm index fbf97acd7..8b7ee45e9 100644 --- a/queries/julia/highlights.scm +++ b/queries/julia/highlights.scm @@ -47,6 +47,12 @@ (broadcast_call_expression (field_expression (identifier) @function.call .)) +(binary_expression + (_) + (operator) @_pipe + (identifier) @function.call + (#eq? @_pipe "|>")) + ;; Builtins ((identifier) @function.builtin