mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 01:04:59 +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
|
||||
lhs: (identifier) @name
|
||||
lhs: (identifier) @name.definition.function
|
||||
operator: "<-"
|
||||
rhs: (function_definition)
|
||||
) @definition.function
|
||||
|
||||
(binary_operator
|
||||
lhs: (identifier) @name
|
||||
lhs: (identifier) @name.definition.function
|
||||
operator: "="
|
||||
rhs: (function_definition)
|
||||
) @definition.function
|
||||
|
||||
(call
|
||||
function: (identifier) @name
|
||||
function: (identifier) @name.reference.call
|
||||
) @reference.call
|
||||
|
||||
(call
|
||||
function: (namespace_operator
|
||||
rhs: (identifier) @name
|
||||
rhs: (identifier) @name.reference.call
|
||||
)
|
||||
) @reference.call
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue