Differential D9319 Diff 22114 src/applications/config/option/PhabricatorSyntaxHighlightingConfigOptions.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/option/PhabricatorSyntaxHighlightingConfigOptions.php
| Show All 36 Lines | return array( | ||||
| $this->newOption( | $this->newOption( | ||||
| 'pygments.dropdown-choices', | 'pygments.dropdown-choices', | ||||
| 'wild', | 'wild', | ||||
| array( | array( | ||||
| 'apacheconf' => 'Apache Configuration', | 'apacheconf' => 'Apache Configuration', | ||||
| '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', | ||||
| 'diff' => 'Diff', | 'diff' => 'Diff', | ||||
| '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', | ||||
| 'rainbow' => 'Rainbow', | 'rainbow' => 'Rainbow', | ||||
| '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.")) | ||||
| ->setDescription( | ->setDescription( | ||||
| pht( | pht( | ||||
| "In places that we display a dropdown to syntax-highlight code, ". | "In places that we display a dropdown to syntax-highlight code, ". | ||||
| "this is where that list is defined.")), | "this is where that list is defined.")), | ||||
| $this->newOption( | $this->newOption( | ||||
| ▲ Show 20 Lines • Show All 54 Lines • Show Last 20 Lines | |||||