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.
McAuley Penney
25715ac21f
|
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
.
install
- Packer
use "McAuleyPenney/tidy.nvim"
or with lazy-loading
use{ "McAuleyPenney/tidy.nvim", event = "BufWritePre" }
Credits:
-
ib., the author of this stack overflow answer
-
This line in gpanders/editorconfig.nvim for exposing me to the
keepjumps
andkeeppatterns
modifiers