trim.nvim
trim.nvim copied to clipboard
This plugin trims trailing whitespace and lines.
It would be nice to allow trimming only modified lines. Trimming whole file creates some unwanted diff changes in old project files. `vim-better-whitespaces` has an option `strip_only_modified_lines` for this use...
Closes #22. Adds the config option `trim_changed_only` (default `false`). I think this is a relatively neat fix that even retains leading lines and trailing lines trimming for only changed lines....
When using this plugin in conjunction with [auto-save](https://github.com/Pocco81/auto-save.nvim) and [auto-close](https://github.com/m4xshen/autoclose.nvim), automatic indentation generated by opening a bracket or other actions will get immediately deleted and send your cursor to the...