bad-whitespace : Highlights whitespace at the end of lines, only in modifiable buffers
script karma |
Rating 13/9,
Downloaded by 2336 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Bit Connor |
|
script type |
utility |
|
description |
Get the latest version at:
https://github.com/bitc/vim-bad-whitespace
Inspired by the trailing-whitespace vimscript #3201
Additional References:
http://vim.wikia.com/wiki/Highlight_unwanted_spaces
http://sartak.org/2011/03/end-of-line-whitespace-in-vim.html
About ~
This plugin highlights whitespace at the end of lines with a red color.
You can erase the bad whitespace with the command |EraseBadWhitespace|
You can manually toggle the highlighting for the current buffer with the
commands |ShowBadWhitespace| |HideBadWhitespace| |ToggleBadWhitespace|
This plugin is better than using the builtin vim 'list' command because it
doesn't show an annoying highlight while you are typing in insert mode at the
end of a line.
This plugin is better than competing plugins because it doesn't show
highlighting in buffers that are not modifiable, which is usually what you
want. This makes it compatible with UI buffers that happen to contain bad
whitespace, such as the quickfix window, or the fugitive plugin. |
|
install details |
Install with pathogen or Vundle.
Manual install: Copy bad-whitespace.vim in to ~/.vim/plugin and bad-whitespace.txt in to ~/.vim/doc |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 142.132.191.50
|