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

Detect zig zon files #6820

Merged
merged 2 commits into from
Jun 7, 2024
Merged

Conversation

softprops
Copy link
Contributor

@softprops softprops commented May 10, 2024

Add support for Zig package manager file extension .zig.zon files introduced in 0.11.0. Care was taken to be precise with the package managers file extension conventions, because I also found non-zig .zon files when doing a code search for just .zon files.

Description

Zig .zon files were introduced zig's 0.11.0 release to fulfill the zig build tool's declarative package management story for describing a project and its dependencies. Additional documentation on the format can be found here. It's syntax is valid zig, (essentially a these are struct files) so these files may be parsed and syntax highlighted the same as regular zig files. Today these have no syntax highlighting.

Screenshot 2024-05-11 at 11 47 43 AM

Checklist:

@softprops softprops requested a review from a team as a code owner May 10, 2024 15:01
@softprops
Copy link
Contributor Author

@lildude sorry to bother you, but is there any eta on code review for pull requests?

Copy link
Member

@lildude lildude left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks.

Note: this PR will not be merged until close to when the next release is made. See here for more details.

@lildude lildude added this pull request to the merge queue Jun 7, 2024
Merged via the queue into github-linguist:master with commit 712c4eb Jun 7, 2024
5 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants