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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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?

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

1 participant