@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

+14 -3
+14 -3
src/applications/config/option/PhabricatorSyntaxHighlightingConfigOptions.php
··· 20 20 } 21 21 22 22 public function getOptions() { 23 - 24 23 $caches_href = PhabricatorEnv::getDocLink('Managing Caches'); 25 24 26 25 return array( ··· 74 73 'c' => 'C', 75 74 'coffee-script' => 'CoffeeScript', 76 75 'cpp' => 'C++', 76 + 'csharp' => 'C#', 77 77 'css' => 'CSS', 78 78 'd' => 'D', 79 79 'diff' => 'Diff', 80 80 'django' => 'Django Templating', 81 + 'docker' => 'Docker', 81 82 'erb' => 'Embedded Ruby/ERB', 82 83 'erlang' => 'Erlang', 83 84 'go' => 'Golang', 84 85 'groovy' => 'Groovy', 85 86 'haskell' => 'Haskell', 86 87 'html' => 'HTML', 88 + 'http' => 'HTTP', 87 89 'invisible' => 'Invisible', 88 90 'java' => 'Java', 89 91 'js' => 'Javascript', 90 92 'json' => 'JSON', 93 + 'make' => 'Makefile', 91 94 'mysql' => 'MySQL', 95 + 'nginx' => 'Nginx Configuration', 92 96 'objc' => 'Objective-C', 93 97 'perl' => 'Perl', 94 98 'php' => 'PHP', 99 + 'postgresql' => 'PostgreSQL', 100 + 'pot' => 'Gettext Catalog', 95 101 'puppet' => 'Puppet', 96 - 'rest' => 'reStructuredText', 97 - 'text' => 'Plain Text', 98 102 'python' => 'Python', 99 103 'rainbow' => 'Rainbow', 100 104 'remarkup' => 'Remarkup', 105 + 'rest' => 'reStructuredText', 106 + 'robotframework' => 'RobotFramework', 107 + 'rst' => 'reStructuredText', 101 108 'ruby' => 'Ruby', 109 + 'sql' => 'SQL', 110 + 'tex' => 'LaTeX', 111 + 'text' => 'Plain Text', 112 + 'twig' => 'Twig', 102 113 'xml' => 'XML', 103 114 'yaml' => 'YAML', 104 115 ))