rust-playground
rust-playground copied to clipboard
Support non-ASCII identifiers in syntax highlighting
https://github.com/rust-lang/rust/pull/83799 has been stabilized in 1.53, which means that my first name is now a valid Rust identifier. While this is great news, turns out that only rapha in raphaël is highlighted as a function name.
I am not sure how this is implemented now, but I suspect the regex needs to be adjusted to accept all valid unicode characters under this new feature.
You will need to submit a pull request to the Ace editor.
Sorry, I forgot about this. Will do, thanks. :)
Opened https://github.com/ajaxorg/ace/issues/4519, thanks.
I like to leave these open to keep tabs on things we will need to update eventually. 😉
Looks like the upstream issue has been fixed!