fix: AvanteShowRepoMap failed to parse query for c (#2629)

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
This commit is contained in:
Yinzuo Jiang
2025-08-26 17:19:47 +08:00
committed by GitHub
parent f643b262cc
commit 29111ac042
3 changed files with 33 additions and 4 deletions

View File

@@ -2,10 +2,13 @@
(function_definition
(storage_class_specifier) @extern
) @function
(class_specifier
(public) @class
(function_definition) @method
) @class
(struct_specifier) @struct
(struct_specifier
body: (field_declaration_list
(field_declaration
declarator: (field_identifier))? @class_variable
)
)
(declaration
(storage_class_specifier) @extern
) @variable