[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#62109: 29.0.60; rust-ts-mode missing indentation for patterns
From: |
Yuan Fu |
Subject: |
bug#62109: 29.0.60; rust-ts-mode missing indentation for patterns |
Date: |
Fri, 10 Mar 2023 14:32:42 -0800 |
X-Debbugs-CC: dev@rjt.dev
Try this snippet:
fn main() {
match &cli.command {
Commands::Run {
a,
b,
c,
d,
} => todo!(),
}
}
The a, b, c, d don’t have corresponding indentation rules. I can add
some myself, but I’m not sure where to add and what’s the best rule to
add.
Yuan
- bug#62109: 29.0.60; rust-ts-mode missing indentation for patterns,
Yuan Fu <=