From 839dec615a101a7246ece1ede1de337c958019c8 Mon Sep 17 00:00:00 2001 From: Christian Degnbol Madsen Date: Wed, 20 Mar 2024 17:37:03 +1100 Subject: [PATCH] feat(julia): broadcast pipe Add support for capturing function call after a broadcasted pipe. Currently works for unbroadcasted pipe. There might be a better more complicated way to do this, since this will capture the broadcasting dot as part of the `@_pipe` capture. --- queries/julia/highlights.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/queries/julia/highlights.scm b/queries/julia/highlights.scm index 5b8cf5bbb..f48d97d97 100644 --- a/queries/julia/highlights.scm +++ b/queries/julia/highlights.scm @@ -57,7 +57,7 @@ (_) (operator) @_pipe (identifier) @function.call - (#eq? @_pipe "|>")) + (#any-of? @_pipe "|>" ".|>")) ; Builtins ((identifier) @function.builtin