2 ms·
> My understanding is that primary_extension is simply used to short circuit analysis when it's unique to a language. No, the primary_extension is only used in
by nox_ 13y ago
> My understanding is that primary_extension is simply used to short circuit analysis when it's unique to a language.
No, the primary_extension is only used in a gists_helper.rb file outside the Linguist repos. Note that the feature is deprecated anyway.
https://github.com/github/linguist/blob/master/lib/linguist/language.rb#L398-L410 https://github.com/github/linguist/blob/master/lib/linguist/...