Skip to content

Commit 1855e66

Browse files
joshuaspenceepriestley
authored and
epriestley
committedMay 28, 2014
Add some file types to pygments.dropdown-choices.
Summary: I could just add these options to my local configuration, but I figured I'd submit these upstream since they are (in my opinion) fairly common file formats. Test Plan: N/A Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D9319
1 parent 2aef04a commit 1855e66

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed
 

‎conf/default.conf.php

+6
Original file line numberDiff line numberDiff line change
@@ -992,28 +992,34 @@
992992
'bash' => 'Bash Scripting',
993993
'brainfuck' => 'Brainf*ck',
994994
'c' => 'C',
995+
'coffee-script' => 'CoffeeScript',
995996
'cpp' => 'C++',
996997
'css' => 'CSS',
997998
'd' => 'D',
998999
'diff' => 'Diff',
9991000
'django' => 'Django Templating',
10001001
'erb' => 'Embedded Ruby/ERB',
10011002
'erlang' => 'Erlang',
1003+
'go' => 'Golang',
1004+
'groovy' => 'Groovy',
10021005
'haskell' => 'Haskell',
10031006
'html' => 'HTML',
10041007
'java' => 'Java',
10051008
'js' => 'Javascript',
1009+
'json' => 'JSON',
10061010
'mysql' => 'MySQL',
10071011
'objc' => 'Objective-C',
10081012
'perl' => 'Perl',
10091013
'php' => 'PHP',
1014+
'puppet' => 'Puppet',
10101015
'rest' => 'reStructuredText',
10111016
'text' => 'Plain Text',
10121017
'python' => 'Python',
10131018
'rainbow' => 'Rainbow',
10141019
'remarkup' => 'Remarkup',
10151020
'ruby' => 'Ruby',
10161021
'xml' => 'XML',
1022+
'yaml' => 'YAML',
10171023
),
10181024

10191025
// This is an override list of regular expressions which allows you to choose

‎src/applications/config/option/PhabricatorSyntaxHighlightingConfigOptions.php

+6
Original file line numberDiff line numberDiff line change
@@ -42,29 +42,35 @@ public function getOptions() {
4242
'bash' => 'Bash Scripting',
4343
'brainfuck' => 'Brainf*ck',
4444
'c' => 'C',
45+
'coffee-script' => 'CoffeeScript',
4546
'cpp' => 'C++',
4647
'css' => 'CSS',
4748
'd' => 'D',
4849
'diff' => 'Diff',
4950
'django' => 'Django Templating',
5051
'erb' => 'Embedded Ruby/ERB',
5152
'erlang' => 'Erlang',
53+
'go' => 'Golang',
54+
'groovy' => 'Groovy',
5255
'haskell' => 'Haskell',
5356
'html' => 'HTML',
5457
'invisible' => 'Invisible',
5558
'java' => 'Java',
5659
'js' => 'Javascript',
60+
'json' => 'JSON',
5761
'mysql' => 'MySQL',
5862
'objc' => 'Objective-C',
5963
'perl' => 'Perl',
6064
'php' => 'PHP',
65+
'puppet' => 'Puppet',
6166
'rest' => 'reStructuredText',
6267
'text' => 'Plain Text',
6368
'python' => 'Python',
6469
'rainbow' => 'Rainbow',
6570
'remarkup' => 'Remarkup',
6671
'ruby' => 'Ruby',
6772
'xml' => 'XML',
73+
'yaml' => 'YAML',
6874
))
6975
->setSummary(
7076
pht("Set the language list which appears in dropdowns."))

0 commit comments

Comments
 (0)
Failed to load comments.