Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Revert "Capture `shorthand_field_initializer` and modules in Rust highlights (#35842)" (#36880)
Marshall Bowers2dc4f156b387
diff --git a/crates/languages/src/rust/highlights.scm b/crates/languages/src/rust/highlights.scmindex 9c02fbedaa6..1c46061827c 100644--- a/crates/languages/src/rust/highlights.scm+++ b/crates/languages/src/rust/highlights.scm@@ -6,9 +6,6 @@(self) @variable.special(field_identifier) @property-(shorthand_field_initializer- (identifier) @property)-(trait_item name: (type_identifier) @type.interface)(impl_item trait: (type_identifier) @type.interface)(abstract_type trait: (type_identifier) @type.interface)@@ -41,20 +38,11 @@(identifier) @function.special(scoped_identifiername: (identifier) @function.special)- ]- "!" @function.special)+ ])(macro_definitionname: (identifier) @function.special.definition)-(mod_item- name: (identifier) @module)--(visibility_modifier [- (crate) @keyword- (super) @keyword-])-; Identifier conventions; Assume uppercase names are types/enum-constructors@@ -127,7 +115,9 @@"where""while""yield"+ (crate)(mutable_specifier)+ (super)] @keyword[@@ -199,7 +189,6 @@operator: "/" @operator(lifetime) @lifetime-(lifetime (identifier) @lifetime)(parameter (identifier) @variable.parameter)