Currently, .rs files, the standard extension for Rust isn't highlighted.
Yet, Pygments supports them.
If we map rs to rust in src/markup/syntax/highlighter/PhutilPygmentsSyntaxHighlighter.php, we get Rust support:
| dereckson | |
| Nov 14 2016, 7:46 AM |
| F1920566: pasted_file | |
| Nov 14 2016, 7:46 AM |
Currently, .rs files, the standard extension for Rust isn't highlighted.
Yet, Pygments supports them.
If we map rs to rust in src/markup/syntax/highlighter/PhutilPygmentsSyntaxHighlighter.php, we get Rust support: