Differential D9305 Diff 22083 src/applications/config/option/PhabricatorSyntaxHighlightingConfigOptions.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/option/PhabricatorSyntaxHighlightingConfigOptions.php
| Show First 20 Lines • Show All 71 Lines • ▼ Show 20 Lines | return array( | ||||
| pht( | pht( | ||||
| "In places that we display a dropdown to syntax-highlight code, ". | "In places that we display a dropdown to syntax-highlight code, ". | ||||
| "this is where that list is defined.")), | "this is where that list is defined.")), | ||||
| $this->newOption( | $this->newOption( | ||||
| 'syntax.filemap', | 'syntax.filemap', | ||||
| 'wild', | 'wild', | ||||
| array( | array( | ||||
| '@\.arcconfig$@' => 'js', | '@\.arcconfig$@' => 'js', | ||||
| '@\.arclint$@' => 'js', | |||||
| '@\.divinerconfig$@' => 'js', | '@\.divinerconfig$@' => 'js', | ||||
| )) | )) | ||||
| ->setSummary( | ->setSummary( | ||||
| pht("Override what language files (based on filename) highlight as.")) | pht("Override what language files (based on filename) highlight as.")) | ||||
| ->setDescription( | ->setDescription( | ||||
| pht( | pht( | ||||
| "This is an override list of regular expressions which allows ". | "This is an override list of regular expressions which allows ". | ||||
| "you to choose what language files are highlighted as. If your ". | "you to choose what language files are highlighted as. If your ". | ||||
| ▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines | |||||