mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-29 10:12:41 +01:00
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
This commit is contained in:
parent
5587abf04c
commit
bfffd807d6
1 changed files with 3 additions and 3 deletions
|
@ -122,9 +122,9 @@ final class PhabricatorSyntaxHighlightingConfigOptions
|
||||||
'syntax.filemap',
|
'syntax.filemap',
|
||||||
'wild',
|
'wild',
|
||||||
array(
|
array(
|
||||||
'@\.arcconfig$@' => 'js',
|
'@\.arcconfig$@' => 'json',
|
||||||
'@\.arclint$@' => 'js',
|
'@\.arclint$@' => 'json',
|
||||||
'@\.divinerconfig$@' => 'js',
|
'@\.divinerconfig$@' => 'json',
|
||||||
))
|
))
|
||||||
->setSummary(
|
->setSummary(
|
||||||
pht('Override what language files (based on filename) highlight as.'))
|
pht('Override what language files (based on filename) highlight as.'))
|
||||||
|
|
Loading…
Reference in a new issue