Warning
This post was published 58 days ago. The information described in this article may have changed.
Does rust-analyzer trims newlines just before EOF? I am trying out Neovim with rustaceanvim
, using LSP fallback as my formatter for Rust. Every time I save a file, my newline just before EOF gets discarded. Is RA doing this? This comment from r/neovim does say so. If so, how do I turn it off?
2 posts - 2 participants
🏷️ rust_feed