mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 11:20:07 -04:00
fix(rust): indentation in tuple struct patterns
This commit is contained in:
parent
7f31793159
commit
3d473a4d5d
1 changed files with 4 additions and 0 deletions
|
|
@ -6,6 +6,7 @@
|
||||||
(for_expression)
|
(for_expression)
|
||||||
(struct_expression)
|
(struct_expression)
|
||||||
(struct_pattern)
|
(struct_pattern)
|
||||||
|
(tuple_struct_pattern)
|
||||||
(tuple_expression)
|
(tuple_expression)
|
||||||
(match_block)
|
(match_block)
|
||||||
(call_expression)
|
(call_expression)
|
||||||
|
|
@ -81,6 +82,9 @@
|
||||||
(struct_pattern
|
(struct_pattern
|
||||||
"}" @indent.end)
|
"}" @indent.end)
|
||||||
|
|
||||||
|
(tuple_struct_pattern
|
||||||
|
")" @indent.end)
|
||||||
|
|
||||||
(trait_item
|
(trait_item
|
||||||
body: (declaration_list
|
body: (declaration_list
|
||||||
"}" @indent.end))
|
"}" @indent.end))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue