mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-26 07:20:57 +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',
|
||||
'wild',
|
||||
array(
|
||||
'@\.arcconfig$@' => 'js',
|
||||
'@\.arclint$@' => 'js',
|
||||
'@\.divinerconfig$@' => 'js',
|
||||
'@\.arcconfig$@' => 'json',
|
||||
'@\.arclint$@' => 'json',
|
||||
'@\.divinerconfig$@' => 'json',
|
||||
))
|
||||
->setSummary(
|
||||
pht('Override what language files (based on filename) highlight as.'))
|
||||
|
|
Loading…
Reference in a new issue