Page MenuHomePhabricator

Allow Pygments to recognize .rs files as Rust
AbandonedPublic

Authored by dereckson on Nov 14 2016, 7:52 AM.
Tags
None
Referenced Files
F14076523: D16856.id40589.diff
Thu, Nov 21, 5:51 PM
Unknown Object (File)
Wed, Nov 20, 3:26 AM
Unknown Object (File)
Sat, Nov 16, 2:00 PM
Unknown Object (File)
Tue, Nov 12, 2:49 AM
Unknown Object (File)
Fri, Nov 8, 3:14 PM
Unknown Object (File)
Oct 13 2024, 2:45 AM
Unknown Object (File)
Oct 9 2024, 6:08 AM
Unknown Object (File)
Sep 21 2024, 2:38 AM

Details

Summary

Fixes T11857.

Test Plan

Created a new diff with .rs files, visited an old diff.
They were highlighted.

Diff Detail

Repository
rPHU libphutil
Branch
rust (branched from master)
Lint
Lint Passed
Unit
Tests Skipped
Build Status
Buildable 14483
Build 18880: arc lint + arc unit

Event Timeline

dereckson retitled this revision from to Allow Pygments to recognize .rs files as Rust.
dereckson updated this object.
dereckson edited the test plan for this revision. (Show Details)

See T3626 for broader discussion.

This revision now requires changes to proceed.Jan 11 2017, 3:29 PM

apologies if this is not the right place to ask for additional mappings.

I'm missing:

'ts' => 'TypeScript', 
'tsx'=>'TypeScript',

it would be great to add it to the product for the benefit of future generations of Phabricator users.

Broader work required than extension/language map update, see T3626.