github-linguist / linguist

Language Savant. If your repository's language is being reported incorrectly, send us a pull request!
MIT License
12.27k stars 4.25k forks source link

Syntax highlighting doesn't work for some .litcoffee files #980

Closed deltaidea closed 10 years ago

deltaidea commented 10 years ago

I have some .litcoffee files with proper Markdown highlighting but with CoffeeScript presented as source code without highlighting.

For example: https://github.com/deltaidea/happy/blob/master/test/10_ajax.template.test.litcoffee#appajaxrequest https://github.com/deltaidea/happy/blob/master/source/meta/maxthon/inject.ignore.template.litcoffee https://github.com/deltaidea/happy/blob/master/source/meta/opera/includes/inject.ignore.template.litcoffee

These are valid Literate CoffeeScript files, they even work correctly. What am I missing?

P.S. These are similar files in the same repo with proper highlighting: https://github.com/deltaidea/happy/blob/master/test/karma-config.litcoffee https://github.com/deltaidea/happy/blob/master/source/10_ajax.litcoffee https://github.com/deltaidea/happy/blob/master/source/run-in-frames/vk-api-auth.litcoffee

deltaidea commented 10 years ago

I'm sorry. These files weren't valid actually.