mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 21:02:41 +01:00
Add more languages to syntax highlighting options
Summary: Fixes T8589. Adds a bunch of new languages to the syntax highlighting config options so that they are supported by #paste. Test Plan: Saw new filetypes in Paste. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley, Korvin Maniphest Tasks: T8589 Differential Revision: https://secure.phabricator.com/D13337
This commit is contained in:
parent
46a225c7b1
commit
dad29171ff
1 changed files with 14 additions and 3 deletions
|
@ -20,7 +20,6 @@ final class PhabricatorSyntaxHighlightingConfigOptions
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getOptions() {
|
public function getOptions() {
|
||||||
|
|
||||||
$caches_href = PhabricatorEnv::getDocLink('Managing Caches');
|
$caches_href = PhabricatorEnv::getDocLink('Managing Caches');
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
|
@ -74,31 +73,43 @@ final class PhabricatorSyntaxHighlightingConfigOptions
|
||||||
'c' => 'C',
|
'c' => 'C',
|
||||||
'coffee-script' => 'CoffeeScript',
|
'coffee-script' => 'CoffeeScript',
|
||||||
'cpp' => 'C++',
|
'cpp' => 'C++',
|
||||||
|
'csharp' => 'C#',
|
||||||
'css' => 'CSS',
|
'css' => 'CSS',
|
||||||
'd' => 'D',
|
'd' => 'D',
|
||||||
'diff' => 'Diff',
|
'diff' => 'Diff',
|
||||||
'django' => 'Django Templating',
|
'django' => 'Django Templating',
|
||||||
|
'docker' => 'Docker',
|
||||||
'erb' => 'Embedded Ruby/ERB',
|
'erb' => 'Embedded Ruby/ERB',
|
||||||
'erlang' => 'Erlang',
|
'erlang' => 'Erlang',
|
||||||
'go' => 'Golang',
|
'go' => 'Golang',
|
||||||
'groovy' => 'Groovy',
|
'groovy' => 'Groovy',
|
||||||
'haskell' => 'Haskell',
|
'haskell' => 'Haskell',
|
||||||
'html' => 'HTML',
|
'html' => 'HTML',
|
||||||
|
'http' => 'HTTP',
|
||||||
'invisible' => 'Invisible',
|
'invisible' => 'Invisible',
|
||||||
'java' => 'Java',
|
'java' => 'Java',
|
||||||
'js' => 'Javascript',
|
'js' => 'Javascript',
|
||||||
'json' => 'JSON',
|
'json' => 'JSON',
|
||||||
|
'make' => 'Makefile',
|
||||||
'mysql' => 'MySQL',
|
'mysql' => 'MySQL',
|
||||||
|
'nginx' => 'Nginx Configuration',
|
||||||
'objc' => 'Objective-C',
|
'objc' => 'Objective-C',
|
||||||
'perl' => 'Perl',
|
'perl' => 'Perl',
|
||||||
'php' => 'PHP',
|
'php' => 'PHP',
|
||||||
|
'postgresql' => 'PostgreSQL',
|
||||||
|
'pot' => 'Gettext Catalog',
|
||||||
'puppet' => 'Puppet',
|
'puppet' => 'Puppet',
|
||||||
'rest' => 'reStructuredText',
|
|
||||||
'text' => 'Plain Text',
|
|
||||||
'python' => 'Python',
|
'python' => 'Python',
|
||||||
'rainbow' => 'Rainbow',
|
'rainbow' => 'Rainbow',
|
||||||
'remarkup' => 'Remarkup',
|
'remarkup' => 'Remarkup',
|
||||||
|
'rest' => 'reStructuredText',
|
||||||
|
'robotframework' => 'RobotFramework',
|
||||||
|
'rst' => 'reStructuredText',
|
||||||
'ruby' => 'Ruby',
|
'ruby' => 'Ruby',
|
||||||
|
'sql' => 'SQL',
|
||||||
|
'tex' => 'LaTeX',
|
||||||
|
'text' => 'Plain Text',
|
||||||
|
'twig' => 'Twig',
|
||||||
'xml' => 'XML',
|
'xml' => 'XML',
|
||||||
'yaml' => 'YAML',
|
'yaml' => 'YAML',
|
||||||
))
|
))
|
||||||
|
|
Loading…
Reference in a new issue