mirror of
https://github.com/tiyn/tidy.nvim.git
synced 2025-06-15 19:47:45 +02:00
- clean readme again - change function name from what I had it as in my configs to something more fitting for the repo
tidy.nvim 🧹
A function and autocommand pair that removes all
- trailing whitespace
- empty lines at the end of the buffer
on every BufWritePre
.
Credits:
- Vim Tips Wiki entry for removing unwanted spaces
- ib., the author of this stack overflow answer
Description
A small Neovim plugin to remove trailing whitespace and empty lines at end of file on every save
Languages
Lua
100%