diff --git a/parsing/src/tree_sitter_parser.rs b/parsing/src/tree_sitter_parser.rs index 542aa72..bd78e60 100644 --- a/parsing/src/tree_sitter_parser.rs +++ b/parsing/src/tree_sitter_parser.rs @@ -41,7 +41,7 @@ impl From for ParserConfiguration { map.insert( "import_declaration", Box::new(TreeSitterQuery::new( - r#"(import_declaration ( scoped_identifier ) @namespace)"#, + r#"(import_declaration "import" _ @resource)"#, )), );