mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 12:52:42 +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() {
|
||||
|
||||
$caches_href = PhabricatorEnv::getDocLink('Managing Caches');
|
||||
|
||||
return array(
|
||||
|
@ -74,31 +73,43 @@ final class PhabricatorSyntaxHighlightingConfigOptions
|
|||
'c' => 'C',
|
||||
'coffee-script' => 'CoffeeScript',
|
||||
'cpp' => 'C++',
|
||||
'csharp' => 'C#',
|
||||
'css' => 'CSS',
|
||||
'd' => 'D',
|
||||
'diff' => 'Diff',
|
||||
'django' => 'Django Templating',
|
||||
'docker' => 'Docker',
|
||||
'erb' => 'Embedded Ruby/ERB',
|
||||
'erlang' => 'Erlang',
|
||||
'go' => 'Golang',
|
||||
'groovy' => 'Groovy',
|
||||
'haskell' => 'Haskell',
|
||||
'html' => 'HTML',
|
||||
'http' => 'HTTP',
|
||||
'invisible' => 'Invisible',
|
||||
'java' => 'Java',
|
||||
'js' => 'Javascript',
|
||||
'json' => 'JSON',
|
||||
'make' => 'Makefile',
|
||||
'mysql' => 'MySQL',
|
||||
'nginx' => 'Nginx Configuration',
|
||||
'objc' => 'Objective-C',
|
||||
'perl' => 'Perl',
|
||||
'php' => 'PHP',
|
||||
'postgresql' => 'PostgreSQL',
|
||||
'pot' => 'Gettext Catalog',
|
||||
'puppet' => 'Puppet',
|
||||
'rest' => 'reStructuredText',
|
||||
'text' => 'Plain Text',
|
||||
'python' => 'Python',
|
||||
'rainbow' => 'Rainbow',
|
||||
'remarkup' => 'Remarkup',
|
||||
'rest' => 'reStructuredText',
|
||||
'robotframework' => 'RobotFramework',
|
||||
'rst' => 'reStructuredText',
|
||||
'ruby' => 'Ruby',
|
||||
'sql' => 'SQL',
|
||||
'tex' => 'LaTeX',
|
||||
'text' => 'Plain Text',
|
||||
'twig' => 'Twig',
|
||||
'xml' => 'XML',
|
||||
'yaml' => 'YAML',
|
||||
))
|
||||
|
|
Loading…
Reference in a new issue