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: support non-ascii identifiers in syntax highliting #4519

Closed
Alphare opened this issue Jun 23, 2021 · 0 comments · Fixed by #4530
Closed

Rust: support non-ascii identifiers in syntax highliting #4519

Alphare opened this issue Jun 23, 2021 · 0 comments · Fixed by #4530

Comments

@Alphare
Copy link

Alphare commented Jun 23, 2021

rust-lang/rust#83799 has been stabilized in 1.53, which means that my first name is now a valid Rust identifier [1]. While this is great news, turns out that only rapha in raphaël is highlighted as a function name.

I am not sure if Javascript's regex engine has a way of easily defining the Unicode characters valid under this new feature, but I thought I'd at least open an issue.

[1] https://github.com/rust-lang/rfcs/blob/master/text/2457-non-ascii-idents.md#reference-level-explanation

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

Successfully merging a pull request may close this issue.

1 participant