1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-19 16:58:48 +02:00

Add Haskell and Objective-C syntax highlighting to paste

Summary:
Pygments already supports Haskell and Objective-C syntax
highlighting, but the default in Phabricator excluded them from the
dropdown for the paste tool.

This adds Haskell and Objective-C to the default list of languages.

Test Plan:
Started up Phabricator sandbox instance, confirmed Haskell
and Objective-C worked in paste app.

Reviewers: vrana, epriestley

Reviewed By: vrana

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3510
This commit is contained in:
Ben Gertzfield 2012-09-17 15:26:03 -07:00
parent 76d78acfae
commit e4703c6c96

View file

@ -1219,10 +1219,12 @@ return array(
'django' => 'Django Templating',
'erb' => 'Embedded Ruby/ERB',
'erlang' => 'Erlang',
'haskell' => 'Haskell',
'html' => 'HTML',
'java' => 'Java',
'js' => 'Javascript',
'mysql' => 'MySQL',
'objc' => 'Objective-C',
'perl' => 'Perl',
'php' => 'PHP',
'text' => 'Plain Text',