zargony / atom-language-rust

Rust language support in Atom - LOOKING FOR MAINTAINER, see #144
MIT License
116 stars 33 forks source link

Add support for the try operator ('?') #132

Open kaikalii opened 6 years ago

kaikalii commented 6 years ago

While working on a syntax theme, I noticed that the try operator ('?') was not highlighted with the same color as other operators. To remedy this, I simply added it to the match for miscellaneous operators.

TheDarkula commented 6 years ago

I've forked this repository here. If you want to make your pull request there, I'm actively working on it.

CryZe commented 5 years ago

Can it be its own name so it can be highlighted differently?

zargony commented 5 years ago

Any activity on this? Having a dedicated name to highlight it separately would be nice. We should also add a few tests to ensure that it's parsed correctly.