Open daniel-wong-dfinity-org opened 1 year ago
rustfmt wants indentation like this:
foo( // Whatnot 42, ) .bar() // Same amount of indentation on this line as the previous line with close parenthesis.
but rust-mode does this:
foo( // Whatnot 42, ) .bar() // Extra indentation.
This is still killing me.
Can you enable tree sitter mode and see if it fixes for you: https://github.com/rust-lang/rust-mode?tab=readme-ov-file#tree-sitter ?
rustfmt wants indentation like this:
but rust-mode does this: