Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Improve Rust macro highlighting (#28182)

chbk7f868a2eff59
diff --git a/crates/languages/src/rust/highlights.scm b/crates/languages/src/rust/highlights.scm
index 34380f0d3bf..1c46061827c 100644
--- a/crates/languages/src/rust/highlights.scm
+++ b/crates/languages/src/rust/highlights.scm
@@ -1,5 +1,7 @@
(identifier) @variable
+(metavariable) @variable
(type_identifier) @type
+(fragment_specifier) @type
(primitive_type) @type.builtin
(self) @variable.special
(field_identifier) @property