mirror of https://github.com/tiyn/tidy.nvim
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.
McAuleyPenney
9acc5686ce
|
3 years ago | |
---|---|---|
lua/tidy | 3 years ago | |
plugin | 3 years ago | |
readme.md | 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
.
Credits:
- Vim Tips Wiki entry for removing unwanted spaces
- ib., the author of this stack overflow answer