Skip to content

Commit

Permalink
Added "zon" file type to zig language section. (#9582)
Browse files Browse the repository at this point in the history
`build.zig.zon` is what 0.11.0 uses for external dependencies.  The syntax is a subset of zig and can be highlighted and formatted like normal zig code.
  • Loading branch information
tsmanner committed Feb 12, 2024
1 parent 78ed3ad commit bb1e2dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1184,7 +1184,7 @@ source = { git = "https://github.com/postsolar/tree-sitter-purescript", rev = "5
name = "zig"
scope = "source.zig"
injection-regex = "zig"
file-types = ["zig"]
file-types = ["zig", "zon"]
roots = ["build.zig"]
auto-format = true
comment-token = "//"
Expand Down

0 comments on commit bb1e2dd

Please sign in to comment.