mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 20:35:00 +00:00
feat: Add C# tree-sitter query with class definition and reference tags
This commit is contained in:
parent
94f3af57f1
commit
cfd0e67a6b
1 changed files with 3 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
; Based on https://github.com/tree-sitter/tree-sitter-c-sharp/blob/master/queries/tags.scm
|
||||||
|
; MIT License.
|
||||||
|
|
||||||
(class_declaration name: (identifier) @name.definition.class) @definition.class
|
(class_declaration name: (identifier) @name.definition.class) @definition.class
|
||||||
|
|
||||||
(class_declaration (base_list (_) @name.reference.class)) @reference.class
|
(class_declaration (base_list (_) @name.reference.class)) @reference.class
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue