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
Unknown Object (File)
Wed, Mar 27, 9:46 PM
Unknown Object (File)
Wed, Mar 27, 9:46 PM
Unknown Object (File)
Wed, Mar 27, 9:46 PM
Unknown Object (File)
Sat, Mar 23, 9:01 PM
Unknown Object (File)
Fri, Mar 15, 8:05 AM
Unknown Object (File)
Feb 28 2024, 5:48 AM
Unknown Object (File)
Feb 28 2024, 5:41 AM
Unknown Object (File)
Feb 28 2024, 5:01 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.