Question
· Dec 9, 2017

GitHub Syntax Highlighting for UDL / CLS files

Has anyone tried adding syntax highlighting to GitHub for Caché CLS files?

Looking at the list of supported languages and extensions...

https://github.com/github/linguist/blob/master/lib/linguist/languages.yml

It looks like Mumps is supported, and there is also an existing language with a .cls extension, which would account for why I see some very odd highlighting going on with some of my code.

There is a page on contributing a new language here...

https://github.com/github/linguist/blob/master/CONTRIBUTING.md

Looks like its possible to use extensions more than once for different languages.

If I can find the time I might give it a go. It does however need 1000's of sample .cls files.

Discussion (6)1
Log in or sign up to continue