Improve Rust macro highlighting (#28182)
Release Notes: - Improved Rust macro highlighting | Zed 0.180.2 | With this PR | | --- | --- | |  |  | ```rust macro_rules! square { ($e:expr) => { $e * $e }; } ``` - `$var`: `variable` - `expr`: `type`
This commit is contained in:
parent
6497aa5341
commit
7f868a2eff
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
|||
(identifier) @variable
|
||||
(metavariable) @variable
|
||||
(type_identifier) @type
|
||||
(fragment_specifier) @type
|
||||
(primitive_type) @type.builtin
|
||||
(self) @variable.special
|
||||
(field_identifier) @property
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue