Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 844 Bytes

README.markdown

File metadata and controls

22 lines (14 loc) · 844 Bytes

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.