scope arities in captures as operators
This commit is contained in:
parent
80b54f2f69
commit
4d8eb09b7c
1 changed files with 9 additions and 2 deletions
|
@ -48,10 +48,17 @@
|
|||
(nil) @variable.property
|
||||
])
|
||||
|
||||
; * capture operand
|
||||
; * capture operator
|
||||
(unary_operator
|
||||
operator: "&"
|
||||
operand: (integer) @operator)
|
||||
operand: [
|
||||
(integer) @operator
|
||||
(binary_operator
|
||||
left: [
|
||||
(call target: (dot left: (_) right: (identifier) @function))
|
||||
(identifier) @function
|
||||
] operator: "/" right: (integer) @operator)
|
||||
])
|
||||
|
||||
(operator_identifier) @operator
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue