nvim-treesitter/queries/zig/indents.scm

32 lines
416 B
Scheme
Raw Normal View History

2021-03-23 06:18:43 +05:30
[
(block)
(comptime_block)
(defer_block)
(suspend_block)
(resume_block)
(if_expression)
(while_expression)
(for_expression)
(test_expression)
(struct_expression)
(struct_construction)
(anonymous_struct_enum)
2021-04-02 03:47:34 +05:30
(anonymous_array_expr)
2021-03-23 06:18:43 +05:30
(enum_expression)
(union_expression)
] @indent
[
"("
")"
"["
"]"
"{"
"}"
] @branch
[
(line_comment)
(multiline_string_literal)
] @ignore