summaryrefslogtreecommitdiff
path: root/runtime/queries/rust
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/rust')
-rw-r--r--runtime/queries/rust/highlights.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/queries/rust/highlights.scm b/runtime/queries/rust/highlights.scm
index 3cda9d52..09068b4f 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