Skip to content
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

.ttslua not detected as Lua #5302

Open
DavidSalsburg opened this issue Mar 31, 2021 · 2 comments
Open

.ttslua not detected as Lua #5302

DavidSalsburg opened this issue Mar 31, 2021 · 2 comments
Labels
Good First Issue This is a great opportunity to start contributing to Linguist Improvement Pending Popularity

Comments

@DavidSalsburg
Copy link

Describe the bug

Tabletop Simulator scripting uses .ttslua as its file extension. This, despite being regular Lua, is not recognized due to the alternate extension.

Expected behaviour

This repo, for example, should display the language as Lua, but is currently unclassified.

@lildude
Copy link
Member

lildude commented Apr 1, 2021

This appears to be a request to add support for the extension and not a bug as Linguist doesn't currently associate .ttslua with any languages.

A quick search on GitHub.com shows there are only 2990 files so it's not likely to be popular enough for inclusion yet. As such, I'm reclassifying this issue as an enhancement request.

If and when usage meets our 200 unique user/repo combination requirements, please feel free to open a PR adding support. Until then, you'll need to use an override to force the language selection.

@lildude lildude added Good First Issue This is a great opportunity to start contributing to Linguist Improvement Pending Popularity and removed Bug labels Apr 1, 2021
@Nixinova
Copy link
Contributor

Nixinova commented Apr 9, 2021

I used Harvester and out of 2700 files (there are 3K total) I found only 97 unique repos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Good First Issue This is a great opportunity to start contributing to Linguist Improvement Pending Popularity
Projects
None yet
Development

No branches or pull requests

3 participants