mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-16 02:10:15 -04:00
fix(rust): indentation in tuple type patterns
This commit is contained in:
parent
bf80e253a8
commit
4d4b63692f
1 changed files with 4 additions and 0 deletions
|
|
@ -8,6 +8,7 @@
|
||||||
(struct_pattern)
|
(struct_pattern)
|
||||||
(tuple_struct_pattern)
|
(tuple_struct_pattern)
|
||||||
(tuple_expression)
|
(tuple_expression)
|
||||||
|
(tuple_type)
|
||||||
(match_block)
|
(match_block)
|
||||||
(call_expression)
|
(call_expression)
|
||||||
(assignment_expression)
|
(assignment_expression)
|
||||||
|
|
@ -85,6 +86,9 @@
|
||||||
(tuple_struct_pattern
|
(tuple_struct_pattern
|
||||||
")" @indent.end)
|
")" @indent.end)
|
||||||
|
|
||||||
|
(tuple_type
|
||||||
|
")" @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