nvim-treesitter/runtime/queries/zig/indents.scm

29 lines
331 B
Scheme
Raw Permalink Normal View History

2021-03-23 06:18:43 +05:30
[
(block)
(struct_declaration)
2024-12-15 22:29:54 +01:00
(enum_declaration)
(union_declaration)
(switch_expression)
2024-12-15 22:29:54 +01:00
(if_expression)
(while_expression)
(for_expression)
(initializer_list)
] @indent.begin
2021-03-23 06:18:43 +05:30
(block
2024-01-06 15:05:50 +09:00
"}" @indent.end)
2021-03-23 06:18:43 +05:30
[
"("
")"
"["
"]"
"{"
"}"
] @indent.branch
2021-03-23 06:18:43 +05:30
[
(comment)
(multiline_string)
] @indent.ignore