nvim-treesitter/queries/zig/indents.scm

24 lines
230 B
Scheme
Raw Normal View History

2021-03-23 06:18:43 +05:30
[
(block)
(struct_declaration)
(switch_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