Hugo Gualandi 8c9518306d Do not remove whitespace that is preceeded by if backslash
Trailing whitespace can be useful in .vimrc files if we want to set a
string property that ends in whitespace. For example:

    set showbreak=↪\ \ \

This change adds a "\\\@<!" at the start of every regex in the plugin
2015-12-05 16:39:32 -02:00
2014-06-19 10:22:54 -07:00

This plugin causes all trailing whitespace to be highlighted in red.

To fix the whitespace errors, just call :FixWhitespace.  By default it
operates on the entire file.  Pass a range (or use V to select some lines)
to restrict the portion of the file that gets fixed.

The repo is at http://github.com/bronson/vim-trailing-whitespace

Originally based on http://vim.wikia.com/wiki/Highlight_unwanted_spaces

An more complete alternative is at https://github.com/ntpeters/vim-better-whitespace
Description
Highlights trailing whitespace in red and provides :FixWhitespace to fix it.
Readme 133 KiB
Languages
Vim Script 100%