mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 03:10:04 -04:00
fix(rust): indentation in multi-line for expression
Fix indentation when the for loop expression is on multiple lines
Example:
previous:
```rust
for (
abc,
def
) in thing.iter() {
// ...
}
```
new:
```rust
for (
abc,
def
) in thing.iter() {
// ...
}
```
This commit is contained in:
parent
4d4b63692f
commit
5489e2150f
1 changed files with 0 additions and 1 deletions
|
|
@ -3,7 +3,6 @@
|
||||||
(struct_item)
|
(struct_item)
|
||||||
(enum_item)
|
(enum_item)
|
||||||
(impl_item)
|
(impl_item)
|
||||||
(for_expression)
|
|
||||||
(struct_expression)
|
(struct_expression)
|
||||||
(struct_pattern)
|
(struct_pattern)
|
||||||
(tuple_struct_pattern)
|
(tuple_struct_pattern)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue