mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
refactor: Update python-tags.scm with more specific name tags
This commit is contained in:
parent
ba6bb527a7
commit
9e824e6070
1 changed files with 5 additions and 5 deletions
|
@ -1,14 +1,14 @@
|
|||
(module (expression_statement (assignment left: (identifier) @name) @definition.constant))
|
||||
(module (expression_statement (assignment left: (identifier) @name.definition.constant) @definition.constant))
|
||||
|
||||
(class_definition
|
||||
name: (identifier) @name) @definition.class
|
||||
name: (identifier) @name.definition.class) @definition.class
|
||||
|
||||
(function_definition
|
||||
name: (identifier) @name) @definition.function
|
||||
name: (identifier) @name.definition.function) @definition.function
|
||||
|
||||
(call
|
||||
function: [
|
||||
(identifier) @name
|
||||
(identifier) @name.reference.call
|
||||
(attribute
|
||||
attribute: (identifier) @name)
|
||||
attribute: (identifier) @name.reference.call)
|
||||
]) @reference.call
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue