-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Incorrectly highlighting 'isize' and 'usize' suffix in Rust. #2766
Comments
To be precise, |
e8423ae should fix this issue |
That looks so much better. That one regex was so messy before. |
Maybe: - /(?:[0-9][0-9_]*\.)(?:[0-9][0-9_]*)(?:[Ee][+-][0-9][0-9_]*)?(?:f32|f64)?\b/
+ /(?:[0-9][0-9_]*)(?:\.[0-9][0-9_]*)(?:[Ee][+-][0-9][0-9_]*)?(?:f32|f64)?\b/ |
Added that and also added |
Yeah, I meant to put that in but forgot. |
Ok, considering that as a review +1 for #2770 |
Quick work. Thanks a lot. |
I reported it where I found it in rust-lang/rust-by-example#662
@mdinger Thinks it can be fixed here:
https://github.com/ajaxorg/ace/blob/master/lib/ace/mode/rust_highlight_rules.js#L129-L134
Here is where they changed it in rust: rust-lang/rust#22496
The text was updated successfully, but these errors were encountered: