dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit 382e99be6d63d39c8b198542f3b46f4fa09ac646
parent 3205b6c40276d3b511bda34dd0db6bad32c57e76
Author: Chris Bracken <chris@bracken.jp>
Date:   Wed, 13 Feb 2013 11:58:58 -0800

Merge BufEnter,InsertLeave handlers for ExtraWhitespace matching.

Diffstat:
M.vim/.vimrc | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/.vim/.vimrc b/.vim/.vimrc @@ -45,9 +45,8 @@ if &t_Co > 2 || has("gui_running") " Highlight trailing whitespace highlight ExtraWhitespace ctermbg=red guibg=red au ColorScheme * highlight ExtraWhitespace guibg=red - au BufEnter * match ExtraWhitespace /\s\+$/ + au BufEnter,InsertLeave * match ExtraWhitespace /\s\+$/ au InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$/ - au InsertLeave * match ExtraWhiteSpace /\s\+$/ " Highlight over-length lines highlight OverLength ctermbg=red ctermfg=white guibg=#592929