mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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)
|
||||
(struct_expression)
|
||||
(struct_pattern)
|
||||
(tuple_struct_pattern)
|
||||
(tuple_expression)
|
||||
(match_block)
|
||||
(call_expression)
|
||||
|
|
@ -81,6 +82,9 @@
|
|||
(struct_pattern
|
||||
"}" @indent.end)
|
||||
|
||||
(tuple_struct_pattern
|
||||
")" @indent.end)
|
||||
|
||||
(trait_item
|
||||
body: (declaration_list
|
||||
"}" @indent.end))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue