|
|
|
@ -4,6 +4,9 @@ I like to keep my files orderly. Tidy.nvim is a function and autocommand pair th
|
|
|
|
|
all empty lines from the end of the file and trailing whitespace from all lines on every save.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
https://user-images.githubusercontent.com/59481467/138811091-05031eb1-96fc-4915-a349-e41d87c921ea.mp4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Credits:
|
|
|
|
|
1. https://vim.fandom.com/wiki/Remove_unwanted_spaces#Automatically_removing_all_trailing_whitespace
|
|
|
|
|
2. ib. from https://stackoverflow.com/questions/7495932/how-can-i-trim-blank-lines-at-the-end-of-file-in-vim
|
|
|
|
|