Improve Rust syntax highlighting (#25333)

Release Notes:

  - Improved Rust syntax highlighting.

| Zed 0.174.6 | With this PR |
| --- | --- |
|
![Image](https://github.com/user-attachments/assets/0ec56dd0-2c17-4b5f-98e3-0897cb4e0192)
|
![Image](https://github.com/user-attachments/assets/309de467-dd32-47e9-ac40-96334a20d5c3)
|

- `identifier`: `variable`

```rust
let identifier = true;
const IDENTIFIER: i32 = 3;
```

---------

Co-authored-by: Marshall Bowers <git@maxdeviant.com>
This commit is contained in:
chbk
2025-02-21 16:20:53 -05:00
committed by GitHub
co-authored by Marshall Bowers
parent a9e753fc07
commit 3e75a661dd
+1
View File
@@ -1,3 +1,4 @@
(identifier) @variable
(type_identifier) @type
(primitive_type) @type.builtin
(self) @variable.special