nvim-treesitter/queries/rust/indents.scm
2021-03-01 23:35:25 +01:00

34 lines
416 B
Scheme

[
(mod_item)
(struct_item)
(enum_item)
(impl_item)
(for_expression)
(struct_expression)
(match_expression)
(tuple_expression)
(match_arm)
(match_block)
(if_let_expression)
(call_expression)
(assignment_expression)
(arguments)
(block)
(where_clause)
(use_list)
] @indent
[
"where"
"("
")"
"["
"]"
"{"
"}"
] @branch
[
(line_comment)
(raw_string_literal)
] @ignore