mirror of
https://github.com/helix-editor/helix.git
synced 2025-01-19 13:37:06 +04:00
scope arities in captures as operators
This commit is contained in:
parent
80b54f2f69
commit
4d8eb09b7c
@ -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…
Reference in New Issue
Block a user