mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
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.
This commit is contained in:
parent
d5842ebca8
commit
454c3a9ba8
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue