rust-lang / rust-mode

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

Point movement when running rustfmt #392

Closed mookid closed 2 years ago

mookid commented 4 years ago

When formatting with rustfmt, the location of the point changes.

We should try to preserve the location of the point in the stream of tokens.