aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Manner2024-02-12 16:47:52 +0000
committerGitHub2024-02-12 16:47:52 +0000
commitbb1e2ddcd8c01256d81ae712090c4ca1e2d09561 (patch)
treeba1cfe558d9799e1aa9fa4aaec5ec33bdb948edd
parent78ed3aded3622e0036a0476aa9daf5cbeaa24431 (diff)
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.
-rw-r--r--languages.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index 4d5be282..2cf1750b 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 = "//"