conform.nvim
Lightweight yet powerful formatter plugin for Neovim
conform.nvim is a lightweight formatting plugin that integrates external code formatters into Neovim. It calculates minimal text differences instead of blindly replacing the entire buffer after formatting. This approach preserves folds, extmarks, cursor position, and other editor state more reliably. It can also repair responses from LSP formatters that otherwise replace complete buffers.