Skip to content

Commit

Permalink
Added "zon" file type to zig language section. (helix-editor#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 authored and mtoohey31 committed Jun 2, 2024
1 parent 8519404 commit caa634e
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 caa634e

Please sign in to comment.