Description
Hello
I just tested the new rust-ts-mode
with emacs 29, and it seems to be working well.
I can already see some improvements, compared to some cases where rust-mode
was having some issues, both in fontifications and identations.
Thanks to everyone who worked on that integration.
However I've noticed an issue with enum variants:
This is my buffer using the legacy rust-mode
:
The same buffer using rust-ts-mode
, with treesit-font-lock-level
set to 3
:
Notice the variants are using white color.
Same buffer using rust-ts-mode
, with treesit-font-lock-level
set to 4
:
Here we have 3 different colors, for variants
Ideally I would like to get the same colors/fontification than rust-mode
(variants in green).
What would be the correct way to customize that ?
Activity