nvim-treesitter/queries/zig/indents.scm
Amaan Qureshi ba921c9aef feat!: switch upstream Zig parser
The new parser is faster, does not lag while editing, correctly parses
the entire Zig code base, and is much easier to write queries for.
2024-08-30 00:49:33 -04:00

22 lines
207 B
Scheme

[
(block)
(switch_expression)
(initializer_list)
] @indent.begin
(block
"}" @indent.end)
[
"("
")"
"["
"]"
"{"
"}"
] @indent.branch
[
(comment)
(multiline_string)
] @indent.ignore