diff --git a/crates/languages/src/rust/highlights.scm b/crates/languages/src/rust/highlights.scm index 3f44c5fc0e46d280f63d0b212cc237ba4cbb0e8b..ec7e2d42510c58d25f09c13e78d2f75bf7d20b5c 100644 --- a/crates/languages/src/rust/highlights.scm +++ b/crates/languages/src/rust/highlights.scm @@ -196,12 +196,12 @@ operator: "/" @operator (identifier) @attribute (scoped_identifier name: (identifier) @attribute) (token_tree (identifier) @attribute (#match? @attribute "^[a-z\\d_]*$")) - (token_tree (identifier) @variable "::" (identifier) @type (#match? @type "^[A-Z]")) + (token_tree (identifier) @none "::" (#match? @none "^[a-z\\d_]*$")) ])) (inner_attribute_item (attribute [ (identifier) @attribute (scoped_identifier name: (identifier) @attribute) (token_tree (identifier) @attribute (#match? @attribute "^[a-z\\d_]*$")) - (token_tree (identifier) @variable "::" (identifier) @type (#match? @type "^[A-Z]")) + (token_tree (identifier) @none "::" (#match? @none "^[a-z\\d_]*$")) ]))