summaryrefslogtreecommitdiff
path: root/runtime/queries/zig/indents.toml
diff options
context:
space:
mode:
authorvoroskoi2021-08-28 04:32:01 +0000
committerGitHub2021-08-28 04:32:01 +0000
commitf22e0aa2ae4169851b43d2225e6a43ef36442659 (patch)
tree11d8398400a72d55575213b84ce68ccb54810efa /runtime/queries/zig/indents.toml
parent5cee3b634d3763dfdb0312d1dc58f6ebcfccb4bf (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 'runtime/queries/zig/indents.toml')
-rw-r--r--runtime/queries/zig/indents.toml12
1 files changed, 12 insertions, 0 deletions
diff --git a/runtime/queries/zig/indents.toml b/runtime/queries/zig/indents.toml
new file mode 100644
index 00000000..e119078b
--- /dev/null
+++ b/runtime/queries/zig/indents.toml
@@ -0,0 +1,12 @@
+indent = [
+ "block",
+ "match_block",
+ "arguments",
+ "parameters"
+]
+
+outdent = [
+ "}",
+ "]",
+ ")"
+]