-
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
Add syntax for Zig #4005
Add syntax for Zig #4005
Conversation
LGTM |
@andrewrk is Zig's original author and not a fly by rando LGTM'ing FWIW 😃 |
what's the timeline for merges? |
From a quick look at the search results, I'm afraid it's going to be dependent on the growth of the use of Zig on GitHub.com and not based on anyone within the Linguist community. Your search results show 517 files. If I remove the In short, Zig is not popular enough for this PR to be merged just yet and I've tagged this PR accordingly. |
@lildude ok, thanks! I will update this PR with new search results as Zig grows. Is the changeset otherwise well-formed? |
Yup, LGTM. |
How do you perform this search? I was unable to find this in the GitHub web interface. |
I have a script that queries the search API. Unfortunately, I can't share it at the moment as it abuses the API and will result in rate limiting and blocking for other peeps. @Alhadis has a written Harvester which does something similar, but within the browser so isn't subject to API abuse rate limiting. |
As far as I know, it is constrained by the rate-limit as well, but there's a timer to slow down requests. I'm expecting this is okay according to the terms of service since:
|
It is. I had to slow it down on purpose: // Throttle the next request so GitHub doesn't bite our head off
return wait(2000).then(() => next()); |
It's time to re-open this issue. See #4219 (comment) |
@lildude could you please re-open this issue? |
cc @vmg |
Any blockers here? @pchaigno could you open this PR again? |
Any deprecation in the syntax/example file? I suppose Zig's design is changing during this time. |
I'll update this soon. Thanks for reopening! |
Looks like an easy fix. |
Hyphenation™: Disrupting technology since 1958! :thumb-up: Technically, redirects should be handled by the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, regarding both changes and language popularity.
Wow! We're going to have syntax-highlighted Zig files on GitHub! |
Is there anything else that needs to happen before this can be merged? |
Yes, a final word of approval from GitHub staff. /cc @lildude |
what does this mean? |
@andrewrk The submodule commit didn't match the cached license hash. |
🎉 🎉 🎉 When will this go live? The next time Linguist is tagged? |
Yup. I aim to make a release approximately once a month, though couldn't in December due to a deploy freeze over the Christmas break and because I took some time off 😄 |
Hi! I'd like to add syntax support for the Zig programming Language.
Checklist:
Closes ziglang/zig#138
Closes ziglang/sublime-zig-language#1
Please let me know and thank you!