nvim-treesitter/queries/rust/indents.scm

35 lines
416 B
Scheme
Raw Normal View History

2021-01-05 19:26:08 +07:00
[
(mod_item)
(struct_item)
(enum_item)
(impl_item)
(for_expression)
(struct_expression)
(match_expression)
(tuple_expression)
2021-01-05 19:26:08 +07:00
(match_arm)
2021-02-23 09:58:32 -05:00
(match_block)
2021-01-05 19:26:08 +07:00
(if_let_expression)
(call_expression)
(assignment_expression)
(arguments)
(block)
(where_clause)
(use_list)
2021-01-05 19:26:08 +07:00
] @indent
[
"where"
"("
")"
"["
"]"
"{"
"}"
] @branch
[
(line_comment)
(raw_string_literal)
] @ignore