rust-lang / rust-mode

Emacs configuration for Rust
Apache License 2.0
1.1k stars 176 forks source link

Stop auto indentation when pressing enter #437

Closed dayinjing closed 2 years ago

dayinjing commented 2 years ago

when I press enter the line is auto indented. This conflicts with the project I am working on. Because it has different indentation rules. So I always have to go back to un indent the previous line. Can we make that feature configurable? I can't use this thing on the project i'm working on if I have to go back and fix every SINGLE line I edit.

brotzeit commented 2 years ago

Now that you mention it, I think I would also turn it off =)