mp 1b2a6b336d
Update README.md
- update gif, old one was a pain to watch
2022-01-08 10:53:59 -07:00
2022-01-08 10:51:32 -07:00
2021-12-20 21:26:33 -07:00
2022-01-08 10:53:59 -07:00

tidy.nvim 🧹

A function and autocommand pair that removes all

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

on every BufWritePre.

tidy

Note: See the cfg branch for increased functionality and configuration.

Installation

  • Packer
use "McAuleyPenney/tidy.nvim"

or with lazy-loading

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

Todo

  • preserve undotree

Credits

Description
A small Neovim plugin to remove trailing whitespace and empty lines at end of file on every save
Readme 66 KiB
Languages
Lua 100%