github-linguist / linguist

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

Modelica is incorrectly described as Motoko #5692

Closed JKRT closed 2 years ago

JKRT commented 2 years ago

Describe the bug

The language of several repositories using Modelica (A language released in 1997) such as OpenModelica is incorrectly described as Motoko. https://github.com/OpenModelica/OpenModelica

Expected behaviour

Modelica code with the .mo extension such be displayed as Modelica not Motoko Motoko support was added in this PR: https://github.com/github/linguist/pull/5611

JKRT commented 2 years ago

It is possible to resolve this using a .gitattributes file. Closing it as it is not really a bug.