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 syntax highlighting (#25333)

chbk3e75a661dd6d
diff --git a/crates/languages/src/rust/highlights.scm b/crates/languages/src/rust/highlights.scm
index 5244cd630dc..36e94ad2508 100644
--- a/crates/languages/src/rust/highlights.scm
+++ b/crates/languages/src/rust/highlights.scm
@@ -1,3 +1,4 @@
+(identifier) @variable
(type_identifier) @type
(primitive_type) @type.builtin
(self) @variable.special