-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prog8 language detected as Lua #5102
Comments
This is happening because Linguist doesn't know anything about the "Prog8" language and currently only associates the Unfortunately, as Linguist doesn't know about the language, you can't implement a workaround, however if Prog8 meets the requirements detailed in CONTRIBUTING.md, we'd be happy to accept a PR. |
Quite difficult to search for usage using GitHub search, but using keyword ubyte gives <100 files and 26 repos, so I don't think this meets the requirements. |
Yep, that's correct. @akubiczek Until Prog8 satisfies the distribution criteria, you can "fix" the Lua misclassification by adding a *.p8 linguist-language=Text Or if you want to repurpose another language's highlighting because it's syntactically similar (but obviously don't want it affecting classification), you can try: *.p8 linguist-language=C linguist-detectable=false (Note that I actually haven't tested this. YMMV…) Because |
author of Prog8 here: thanks for raising this issue. I noticed it as well for my own repositories. Realistically I think it will be quite a long time before we have "hundreds of repositories" that will be using Prog8. While it would be fantastic if it "takes off" (relatively speaking) it's still a very niche and experimental language. |
Problem Description
The Prog8 source code is detected as Lua language.
URL of the affected repository:
https://github.com/akubiczek/p8checkers
Last modified on:
2020-12-02
Expected language:
Prog8
https://prog8.readthedocs.io/en/latest/
https://github.com/irmen/prog8
Detected language:
Lua
The text was updated successfully, but these errors were encountered: