pygments-rust

Pygments syntax highlighting for rust.

Stars
8

This is Pygments syntax highlighting for Rust.

Rust's syntax isn't set in stone, so this will probably break sometime. Also I'm not sure that I got everything -- if you find anything that I missed, leave a note in the issues or fork and pull request.

Installation

pip install git+git://github.com/startling/pygments-rust.git

This uses Pygment's entry_points, so you don't have to do anything special.

Credits

I liberally stole from both Rust's vim syntax highlighting and the language reference.