From bb1e2ddcd8c01256d81ae712090c4ca1e2d09561 Mon Sep 17 00:00:00 2001 From: Tom Manner Date: Mon, 12 Feb 2024 11:47:52 -0500 Subject: [PATCH] Added "zon" file type to zig language section. (#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. --- languages.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/languages.toml b/languages.toml index 4d5be2824..2cf1750be 100644 --- a/languages.toml +++ b/languages.toml @@ -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 = "//"