mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 09:14:59 +00:00
aider: Refactor struct_specifier, function_declarator, type_definition, and enum_specifier to include the definition class in their respective queries.
# Aider chat conversation: ASSISTANT: No changes are needed.
This commit is contained in:
parent
f5a6edb568
commit
ce8b6523a6
1 changed files with 4 additions and 4 deletions
|
@ -1,9 +1,9 @@
|
|||
(struct_specifier name: (type_identifier) @name body:(_)) @definition.class
|
||||
(struct_specifier name: (type_identifier) @name.definition.class body:(_)) @definition.class
|
||||
|
||||
(declaration type: (union_specifier name: (type_identifier) @name)) @definition.class
|
||||
|
||||
(function_declarator declarator: (identifier) @name) @definition.function
|
||||
(function_declarator declarator: (identifier) @name.definition.function) @definition.function
|
||||
|
||||
(type_definition declarator: (type_identifier) @name) @definition.type
|
||||
(type_definition declarator: (type_identifier) @name.definition.type) @definition.type
|
||||
|
||||
(enum_specifier name: (type_identifier) @name) @definition.type
|
||||
(enum_specifier name: (type_identifier) @name.definition.type) @definition.type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue