continue-custom/extensions/vscode/tree-sitter/import-queries/python.scm

8 lines
No EOL
188 B
Scheme

(import_from_statement
(dotted_name) ; skip the first (this is the module)
(dotted_name
(identifier) @importa))
(import_statement
(dotted_name
(identifier) @importb ))