aboutsummaryrefslogtreecommitdiffstats
path: root/queries/rust/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'queries/rust/highlights.scm')
-rw-r--r--queries/rust/highlights.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/queries/rust/highlights.scm b/queries/rust/highlights.scm
index c7cd1174b..db80fbb32 100644
--- a/queries/rust/highlights.scm
+++ b/queries/rust/highlights.scm
@@ -209,10 +209,10 @@
(type_cast_expression "as" @keyword.operator)
(qualified_type "as" @keyword.operator)
-(use_list (self) @keyword)
-(scoped_use_list (self) @keyword)
-(scoped_identifier [(crate) (super) (self)] @keyword)
-(visibility_modifier [(crate) (super) (self)] @keyword)
+(use_list (self) @namespace)
+(scoped_use_list (self) @namespace)
+(scoped_identifier [(crate) (super) (self)] @namespace)
+(visibility_modifier [(crate) (super) (self)] @namespace)
[
"else"