diff options
author | voroskoi | 2021-08-28 04:32:01 +0000 |
---|---|---|
committer | GitHub | 2021-08-28 04:32:01 +0000 |
commit | f22e0aa2ae4169851b43d2225e6a43ef36442659 (patch) | |
tree | 11d8398400a72d55575213b84ce68ccb54810efa /languages.toml | |
parent | 5cee3b634d3763dfdb0312d1dc58f6ebcfccb4bf (diff) |
Add zig tree-sitter support (#631)
* Add initial zig tree-sitter support
* zig/highlights.scm: remove unnecessary queries
* Add zig/indents.toml
Diffstat (limited to 'languages.toml')
-rw-r--r-- | languages.toml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml index 47155523..1ca40377 100644 --- a/languages.toml +++ b/languages.toml @@ -233,3 +233,15 @@ indent = { tab-width = 4, unit = " " } # comment-token = "--" # # indent = { tab-width = 2, unit = " " } + +[[language]] +name = "zig" +scope = "source.zig" +injection-regex = "zig" +file-types = ["zig"] +roots = ["build.zig"] +auto-format = true +comment-token = "//" + +language-server = { command = "zls" } +indent = { tab-width = 4, unit = " " } |