crates/languages/src/rust/highlights.scm 🔗
@@ -1,3 +1,4 @@
+(identifier) @variable
(type_identifier) @type
(primitive_type) @type.builtin
(self) @variable.special
chbk and Marshall Bowers created
Release Notes:
- Improved Rust syntax highlighting.
| Zed 0.174.6 | With this PR |
| --- | --- |
|

|

|
- `identifier`: `variable`
```rust
let identifier = true;
const IDENTIFIER: i32 = 3;
```
---------
Co-authored-by: Marshall Bowers <git@maxdeviant.com>
crates/languages/src/rust/highlights.scm | 1 +
1 file changed, 1 insertion(+)
@@ -1,3 +1,4 @@
+(identifier) @variable
(type_identifier) @type
(primitive_type) @type.builtin
(self) @variable.special