mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
refactor: Update r-tags.scm to use more specific name tags
This commit is contained in:
parent
9e824e6070
commit
44eb9af7bc
1 changed files with 4 additions and 4 deletions
|
@ -1,21 +1,21 @@
|
||||||
(binary_operator
|
(binary_operator
|
||||||
lhs: (identifier) @name
|
lhs: (identifier) @name.definition.function
|
||||||
operator: "<-"
|
operator: "<-"
|
||||||
rhs: (function_definition)
|
rhs: (function_definition)
|
||||||
) @definition.function
|
) @definition.function
|
||||||
|
|
||||||
(binary_operator
|
(binary_operator
|
||||||
lhs: (identifier) @name
|
lhs: (identifier) @name.definition.function
|
||||||
operator: "="
|
operator: "="
|
||||||
rhs: (function_definition)
|
rhs: (function_definition)
|
||||||
) @definition.function
|
) @definition.function
|
||||||
|
|
||||||
(call
|
(call
|
||||||
function: (identifier) @name
|
function: (identifier) @name.reference.call
|
||||||
) @reference.call
|
) @reference.call
|
||||||
|
|
||||||
(call
|
(call
|
||||||
function: (namespace_operator
|
function: (namespace_operator
|
||||||
rhs: (identifier) @name
|
rhs: (identifier) @name.reference.call
|
||||||
)
|
)
|
||||||
) @reference.call
|
) @reference.call
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue