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

Provide grammar to Linguist project #823

Open
Lordfirespeed opened this issue Nov 11, 2023 · 4 comments
Open

Provide grammar to Linguist project #823

Lordfirespeed opened this issue Nov 11, 2023 · 4 comments
Milestone

Comments

@Lordfirespeed
Copy link
Contributor

The Linguist project is what GitHub uses for language detection and third-party grammar selection.

We can enable syntax highlighting for the ZenStack language on GitHub by providing a language grammar to this project.

@jiashengguo
Copy link
Member

@Lordfirespeed, thanks for the info. However, there is a bar for them to accept a new extension, which I think is still far for ZenStack:

github-linguist/linguist#5756

@ymc9
Copy link
Member

ymc9 commented Nov 14, 2023

Maybe we're not too far from this rule?

at least 2000 files per extension indexed in the last year (the number you see at the top of the search results), unless the extension is expected to only occur once per repo, then 200 files.

@Lordfirespeed
Copy link
Contributor Author

Lordfirespeed commented Nov 15, 2023

I agree, the language isn't far off that rule - I think it's at around 120 - although it's unclear whether the listed rules are OR or AND

@ymc9 ymc9 added this to the v2.0.0 milestone Dec 9, 2023
@ymc9 ymc9 modified the milestones: v2.0.0, v2.x May 8, 2024
@ymc9
Copy link
Member

ymc9 commented Dec 10, 2024

PR pending here: github-linguist/linguist#7065

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants