mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
refactor: Update c-tags.scm to use more specific @name.definition tags
This commit is contained in:
parent
48621dadaa
commit
70284ce1c2
1 changed files with 5 additions and 5 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
|
||||
(declaration type: (union_specifier name: (type_identifier) @name.definition.class)) @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