Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rust 语言自定义语法高亮 Variable 一项不起作用。 #931

Open
code399 opened this issue Dec 8, 2024 · 2 comments
Open

Rust 语言自定义语法高亮 Variable 一项不起作用。 #931

code399 opened this issue Dec 8, 2024 · 2 comments

Comments

@code399
Copy link

code399 commented Dec 8, 2024

Rust 语言自定义语法高亮 Variable 一项不起作用。使用的是全局样式的默认代码样式。

@zufuliu
Copy link
Owner

zufuliu commented Dec 8, 2024

It's for macro metavariable ($name) not local variable, https://doc.rust-lang.org/reference/macros-by-example.html#metavariables
image

@code399
Copy link
Author

code399 commented Dec 9, 2024

明白了,谢谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants