A small Neovim plugin to remove trailing whitespace and empty lines at end of file on every save
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
McAuley 78558eb0e9
[docs] update, rename README
3 years ago
lua/tidy [docs,feat]: protect search history and jump list 3 years ago
plugin [docs,style]: 3 years ago
README.md [docs] update, rename README 3 years ago

README.md

tidy.nvim 🧹

A function and autocommand pair that removes all

- trailing whitespace
- empty lines at the end of the buffer

on every BufWritePre.

tidy

install

  • Packer
use "McAuleyPenney/tidy.nvim"

or with lazy-loading

use{ "McAuleyPenney/tidy.nvim", event = "BufWritePre" }

Credits: