| `require("tidy").toggle()` | Turn tidy.nvim off for the current buffer a plugin |
## About and Credits
I originally wrote this as a wrapper around a couple of vim regex commands used for formatting files before I began using formatters. These commands are not mine, please see the sources below. Even with real formatters in my setup now, I still like and use this because I like these specific formats to be applied to every buffer and don't want to have a formatting tool installed for them.
- [Vim Tips Wiki entry for removing unwanted spaces](https://vim.fandom.com/wiki/Remove_unwanted_spaces#Automatically_removing_all_trailing_whitespace)
@ -67,5 +67,5 @@ I originally wrote this as a wrapper around a couple of vim regex commands used
- `ib.`, the author of [this Stack Overflow answer](https://stackoverflow.com/a/7501902)