Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Add traits in Rust highlights (#10731)
Ben Hammentc96a96b3ce53
diff --git a/crates/languages/src/rust/highlights.scm b/crates/languages/src/rust/highlights.scmindex e01010151fb..79a50185aad 100644--- a/crates/languages/src/rust/highlights.scm+++ b/crates/languages/src/rust/highlights.scm@@ -3,6 +3,12 @@(self) @variable.special(field_identifier) @property+(trait_item name: (type_identifier) @type.interface)+(impl_item trait: (type_identifier) @type.interface)+(abstract_type trait: (type_identifier) @type.interface)+(dynamic_type trait: (type_identifier) @type.interface)+(trait_bounds (type_identifier) @type.interface)+(call_expressionfunction: [(identifier) @function