5 ms·
It'd be nice if they'd add Rust to the list.
by drivebyacct2 14y ago
It'd be nice if they'd add Rust to the list.
- mh- 14y agothere's probably more TOML than Rust on GitHub already, though
- drivebyacct2 14y agoI highly doubt that. At the very least: Servo.
- ben0x539 14y agoAlso: rustc
- drivebyacct2 14y agoAnd core/std libs.
- epidemian 14y agoThe good news is that anyone can do it :D Check out https://github.com/github/linguist https://github.com/github/linguist. It's the library GH uses to detect and highlight languages; and _many_ people external from GH have contributed to it. It's just a matter of someone adding a lexer for Rust and submitting a pull request :D
- steveklabnik 14y agoI _almost_ added support to linguist once, but something stopped me. I can't quite remember what it was... I _think_ it was that only edge pygments supported Rust.
- chr1 14y agoWriting syntax highlighter for TOML takes ~10mins. Rust syntax isn't so simple.