Skip to content

Commit 119ac1e

Browse files
tsmannerpostsolar
authored andcommitted
Added "zon" file type to zig language section. (helix-editor#9582)
`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.
1 parent 029ea0b commit 119ac1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

languages.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1184,7 +1184,7 @@ source = { git = "https://github.com/postsolar/tree-sitter-purescript", rev = "5
11841184
name = "zig"
11851185
scope = "source.zig"
11861186
injection-regex = "zig"
1187-
file-types = ["zig"]
1187+
file-types = ["zig", "zon"]
11881188
roots = ["build.zig"]
11891189
auto-format = true
11901190
comment-token = "//"

0 commit comments

Comments
 (0)