mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 09:50:04 -04:00
feat(ocaml): use @function.call where appropriate
This commit is contained in:
parent
32cc79b633
commit
9e52d8fda3
1 changed files with 3 additions and 3 deletions
|
|
@ -46,17 +46,17 @@
|
||||||
;------------
|
;------------
|
||||||
|
|
||||||
(infix_expression
|
(infix_expression
|
||||||
left: (value_path (value_name) @function)
|
left: (value_path (value_name) @function.call)
|
||||||
operator: (concat_operator) @_operator
|
operator: (concat_operator) @_operator
|
||||||
(#eq? @_operator "@@"))
|
(#eq? @_operator "@@"))
|
||||||
|
|
||||||
(infix_expression
|
(infix_expression
|
||||||
operator: (rel_operator) @_operator
|
operator: (rel_operator) @_operator
|
||||||
right: (value_path (value_name) @function)
|
right: (value_path (value_name) @function.call)
|
||||||
(#eq? @_operator "|>"))
|
(#eq? @_operator "|>"))
|
||||||
|
|
||||||
(application_expression
|
(application_expression
|
||||||
function: (value_path (value_name) @function))
|
function: (value_path (value_name) @function.call))
|
||||||
|
|
||||||
((value_name) @function.builtin
|
((value_name) @function.builtin
|
||||||
(#any-of? @function.builtin "raise" "raise_notrace" "failwith" "invalid_arg"))
|
(#any-of? @function.builtin "raise" "raise_notrace" "failwith" "invalid_arg"))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue