feat: avante repo map rust crate (#628)

This commit is contained in:
yetone
2024-09-26 03:45:49 +08:00
committed by GitHub
parent 5461342fce
commit 0d90c047ef
23 changed files with 1399 additions and 737 deletions

View File

@@ -0,0 +1,18 @@
;; Capture top-level functions and struct definitions
(var_declaration
(var_spec) @variable
)
(const_declaration
(const_spec) @variable
)
(function_declaration) @function
(type_declaration
(type_spec (struct_type)) @class
)
(type_declaration
(type_spec
(struct_type
(field_declaration_list
(field_declaration) @class_variable)))
)
(method_declaration) @method