github/linguist — pull request #527 by 88Alex (2013-06-04 01:41:34+00:00)
Title: Improved language detection algorithm

I modified the algorithm so it first checks the extension. If there is only one language possibility, that language is used.