Skip to content

Commit

Permalink
fix: incorrect query for import declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
jpedroh committed Jul 20, 2024
1 parent 3f9105a commit 425974d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parsing/src/tree_sitter_parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl From<Language> for ParserConfiguration {
map.insert(
"import_declaration",
Box::new(TreeSitterQuery::new(
r#"(import_declaration ( scoped_identifier ) @namespace)"#,
r#"(import_declaration "import" _ @resource)"#,
)),
);

Expand Down

0 comments on commit 425974d

Please sign in to comment.