github-linguist / linguist

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

Wrong lisp is selected in lightshow tester #2018

Closed nikolas closed 9 years ago

nikolas commented 9 years ago

In https://lightshow.githubapp.com, when I select "Emacs Lisp (source.lisp)" and submit the form, it always switches to "NetLogo (source.lisp)".

arfon commented 9 years ago

I can confirm this behaviour although I think this is because they both use the same grammar. See the NetLogo entry: https://github.com/github/linguist/blob/master/lib/linguist/languages.yml#L1878

So while this is a bug in the UI I'm pretty sure it's testing against the correct grammar.

/ cc @aroben

aroben commented 9 years ago

Yeah this is just a bug in the presentation of that form. As @arfon says the right grammar is being used. Thanks for letting me know; I'll try to get a fix in place.

aroben commented 9 years ago

I'm tracking this elsewhere. I'll leave a note here when the bug is fixed. Thanks!