zargony / atom-language-rust

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

Highlight question mark-operator #118

Open sinesc opened 7 years ago

sinesc commented 7 years ago

I'd like to request a syntax--..-class for the ? operator. Given its impact on control flow I want to highlight it a bit.

The operator is documented here: https://doc.rust-lang.org/book/second-edition/ch09-02-recoverable-errors-with-result.html#a-shortcut-for-propagating-errors-