nvim-treesitter/queries/rust/indents.scm

29 lines
347 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)
(if_let_expression)
(call_expression)
(assignment_expression)
(arguments)
(block)
(where_clause)
(use_list)
2021-01-05 19:26:08 +07:00
] @indent
[
"where"
"("
")"
"["
"]"
"{"
"}"
] @branch