diff --git a/runtime/queries/rust/highlights.scm b/runtime/queries/rust/highlights.scm index 3cda9d52083c7..09068b4f54f5e 100644 --- a/runtime/queries/rust/highlights.scm +++ b/runtime/queries/rust/highlights.scm @@ -376,7 +376,8 @@ (use_wildcard (identifier) @namespace) (extern_crate_declaration - name: (identifier) @namespace) + name: (identifier) @namespace + alias: (identifier)? @namespace) (mod_item name: (identifier) @namespace) (scoped_use_list