feat: avante repo map rust crate (#628)
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
;; Capture exported functions, arrow functions, variables, classes, and method definitions
|
||||
(export_statement
|
||||
declaration: (lexical_declaration
|
||||
(variable_declarator) @variable
|
||||
)
|
||||
)
|
||||
(export_statement
|
||||
declaration: (function_declaration) @function
|
||||
)
|
||||
(export_statement
|
||||
declaration: (class_declaration
|
||||
body: (class_body
|
||||
(field_definition) @class_variable
|
||||
)
|
||||
)
|
||||
)
|
||||
(export_statement
|
||||
declaration: (class_declaration
|
||||
body: (class_body
|
||||
(method_definition) @method
|
||||
)
|
||||
)
|
||||
)
|
||||
Reference in New Issue
Block a user