@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.

Change syntax highlighting for custom phabricator dot configs

Test Plan:
Created new paste with title '.arcconfig' without choosing a language; observed that the paste gets highlighted as JSON.

JSON mode:
{F4901762}

Javascript mode:
{F4901763}

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Maniphest Tasks: T11667

Differential Revision: https://secure.phabricator.com/D17682

+3 -3
+3 -3
src/applications/config/option/PhabricatorSyntaxHighlightingConfigOptions.php
··· 122 122 'syntax.filemap', 123 123 'wild', 124 124 array( 125 - '@\.arcconfig$@' => 'js', 126 - '@\.arclint$@' => 'js', 127 - '@\.divinerconfig$@' => 'js', 125 + '@\.arcconfig$@' => 'json', 126 + '@\.arclint$@' => 'json', 127 + '@\.divinerconfig$@' => 'json', 128 128 )) 129 129 ->setSummary( 130 130 pht('Override what language files (based on filename) highlight as.'))