aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/rust/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/rust/highlights.scm')
-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