mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-09 16:32:39 +01:00
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
This commit is contained in:
parent
2aef04a78a
commit
1855e66758
2 changed files with 12 additions and 0 deletions
|
@ -992,6 +992,7 @@ return array(
|
||||||
'bash' => 'Bash Scripting',
|
'bash' => 'Bash Scripting',
|
||||||
'brainfuck' => 'Brainf*ck',
|
'brainfuck' => 'Brainf*ck',
|
||||||
'c' => 'C',
|
'c' => 'C',
|
||||||
|
'coffee-script' => 'CoffeeScript',
|
||||||
'cpp' => 'C++',
|
'cpp' => 'C++',
|
||||||
'css' => 'CSS',
|
'css' => 'CSS',
|
||||||
'd' => 'D',
|
'd' => 'D',
|
||||||
|
@ -999,14 +1000,18 @@ return array(
|
||||||
'django' => 'Django Templating',
|
'django' => 'Django Templating',
|
||||||
'erb' => 'Embedded Ruby/ERB',
|
'erb' => 'Embedded Ruby/ERB',
|
||||||
'erlang' => 'Erlang',
|
'erlang' => 'Erlang',
|
||||||
|
'go' => 'Golang',
|
||||||
|
'groovy' => 'Groovy',
|
||||||
'haskell' => 'Haskell',
|
'haskell' => 'Haskell',
|
||||||
'html' => 'HTML',
|
'html' => 'HTML',
|
||||||
'java' => 'Java',
|
'java' => 'Java',
|
||||||
'js' => 'Javascript',
|
'js' => 'Javascript',
|
||||||
|
'json' => 'JSON',
|
||||||
'mysql' => 'MySQL',
|
'mysql' => 'MySQL',
|
||||||
'objc' => 'Objective-C',
|
'objc' => 'Objective-C',
|
||||||
'perl' => 'Perl',
|
'perl' => 'Perl',
|
||||||
'php' => 'PHP',
|
'php' => 'PHP',
|
||||||
|
'puppet' => 'Puppet',
|
||||||
'rest' => 'reStructuredText',
|
'rest' => 'reStructuredText',
|
||||||
'text' => 'Plain Text',
|
'text' => 'Plain Text',
|
||||||
'python' => 'Python',
|
'python' => 'Python',
|
||||||
|
@ -1014,6 +1019,7 @@ return array(
|
||||||
'remarkup' => 'Remarkup',
|
'remarkup' => 'Remarkup',
|
||||||
'ruby' => 'Ruby',
|
'ruby' => 'Ruby',
|
||||||
'xml' => 'XML',
|
'xml' => 'XML',
|
||||||
|
'yaml' => 'YAML',
|
||||||
),
|
),
|
||||||
|
|
||||||
// This is an override list of regular expressions which allows you to choose
|
// This is an override list of regular expressions which allows you to choose
|
||||||
|
|
|
@ -42,6 +42,7 @@ final class PhabricatorSyntaxHighlightingConfigOptions
|
||||||
'bash' => 'Bash Scripting',
|
'bash' => 'Bash Scripting',
|
||||||
'brainfuck' => 'Brainf*ck',
|
'brainfuck' => 'Brainf*ck',
|
||||||
'c' => 'C',
|
'c' => 'C',
|
||||||
|
'coffee-script' => 'CoffeeScript',
|
||||||
'cpp' => 'C++',
|
'cpp' => 'C++',
|
||||||
'css' => 'CSS',
|
'css' => 'CSS',
|
||||||
'd' => 'D',
|
'd' => 'D',
|
||||||
|
@ -49,15 +50,19 @@ final class PhabricatorSyntaxHighlightingConfigOptions
|
||||||
'django' => 'Django Templating',
|
'django' => 'Django Templating',
|
||||||
'erb' => 'Embedded Ruby/ERB',
|
'erb' => 'Embedded Ruby/ERB',
|
||||||
'erlang' => 'Erlang',
|
'erlang' => 'Erlang',
|
||||||
|
'go' => 'Golang',
|
||||||
|
'groovy' => 'Groovy',
|
||||||
'haskell' => 'Haskell',
|
'haskell' => 'Haskell',
|
||||||
'html' => 'HTML',
|
'html' => 'HTML',
|
||||||
'invisible' => 'Invisible',
|
'invisible' => 'Invisible',
|
||||||
'java' => 'Java',
|
'java' => 'Java',
|
||||||
'js' => 'Javascript',
|
'js' => 'Javascript',
|
||||||
|
'json' => 'JSON',
|
||||||
'mysql' => 'MySQL',
|
'mysql' => 'MySQL',
|
||||||
'objc' => 'Objective-C',
|
'objc' => 'Objective-C',
|
||||||
'perl' => 'Perl',
|
'perl' => 'Perl',
|
||||||
'php' => 'PHP',
|
'php' => 'PHP',
|
||||||
|
'puppet' => 'Puppet',
|
||||||
'rest' => 'reStructuredText',
|
'rest' => 'reStructuredText',
|
||||||
'text' => 'Plain Text',
|
'text' => 'Plain Text',
|
||||||
'python' => 'Python',
|
'python' => 'Python',
|
||||||
|
@ -65,6 +70,7 @@ final class PhabricatorSyntaxHighlightingConfigOptions
|
||||||
'remarkup' => 'Remarkup',
|
'remarkup' => 'Remarkup',
|
||||||
'ruby' => 'Ruby',
|
'ruby' => 'Ruby',
|
||||||
'xml' => 'XML',
|
'xml' => 'XML',
|
||||||
|
'yaml' => 'YAML',
|
||||||
))
|
))
|
||||||
->setSummary(
|
->setSummary(
|
||||||
pht("Set the language list which appears in dropdowns."))
|
pht("Set the language list which appears in dropdowns."))
|
||||||
|
|
Loading…
Reference in a new issue