1

I created a new language file and added it to source-highlight's language directory (/usr/local/cellar/source-highlight/3.1.7/share/source-highlight), but when I run $ source-highlight --lang-list, it isn't listed.

What do I need to do to register the language with source-highlight?

craig
  • 23,835
  • 20
  • 98
  • 183

1 Answers1

2

I had to add the language to the lang.map file:

# crystal reports formula language
crystal = crystal.lang
craig
  • 23,835
  • 20
  • 98
  • 183
  • Where did you find the `crystal.lang` file? or did you write it? – Holloway Oct 03 '16 at 13:33
  • Wrote one (mostly complete): [A TextMate bundle for the Crystal Report's formula language](https://github.com/craibuc/crystal-reports-tmbundle). – craig Oct 03 '16 at 14:33