Adds syntax highlighting and snippets for Rust files in Atom.
Install the package language-rust-redux
from within Atom (Preferences->Packages) or through Atom's package manager:
$ apm install language-rust-redux
To obtain a JSON version of the grammar for use in other supported editors, run the npm script "cson2json" and grammars/rust.json
will be generated.
$ npm install$ npm run cson2json
Previews taken with Firewatch syntax.
?
operatorwhere
actually works, unsafe
allowed in more places)fn
in function arguments, and nested block commentsIf you notice any bugs or have any suggestions for improvement, please submit an issue with a full description and example code.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.