mirror of
https://github.com/tiyn/tidy.nvim.git
synced 2026-03-30 09:44:49 +02:00
796 B
796 B
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
- This line
in gpanders/editorconfig.nvim for exposing me to the
keepjumpsandkeeppatternsmodifiers