mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-15 09:05:00 +00:00
Added tree-sitter-c-tags.scm for aider queries.
This commit is contained in:
parent
c7f35b2ce5
commit
f5a6edb568
1 changed files with 9 additions and 0 deletions
9
aider/queries/tree-sitter-c-tags.scm
Normal file
9
aider/queries/tree-sitter-c-tags.scm
Normal file
|
@ -0,0 +1,9 @@
|
|||
(struct_specifier name: (type_identifier) @name body:(_)) @definition.class
|
||||
|
||||
(declaration type: (union_specifier name: (type_identifier) @name)) @definition.class
|
||||
|
||||
(function_declarator declarator: (identifier) @name) @definition.function
|
||||
|
||||
(type_definition declarator: (type_identifier) @name) @definition.type
|
||||
|
||||
(enum_specifier name: (type_identifier) @name) @definition.type
|
Loading…
Add table
Add a link
Reference in a new issue