From 409e1493ea45058136564685915ae4dd6c8a427a Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 7 Jul 2009 20:33:52 +0200 Subject: [PATCH] flag trailing spaces as errors --- .vim/colors/madduck.vim | 2 +- .vimrc | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.vim/colors/madduck.vim b/.vim/colors/madduck.vim index 6d62396..3947d39 100644 --- a/.vim/colors/madduck.vim +++ b/.vim/colors/madduck.vim @@ -56,7 +56,7 @@ else hi mailQuoted5 ctermfg=darkmagenta hi mailQuoted6 ctermfg=darkgreen - hi Error ctermfg=White ctermbg=Red cterm=reverse term=reverse + hi Error ctermfg=White ctermbg=Red cterm=none term=none hi Todo ctermfg=Black ctermbg=Yellow cterm=standout term=standout hi SpellBad ctermfg=white ctermbg=darkred cterm=none term=reverse diff --git a/.vimrc b/.vimrc index 176cf78..209d079 100644 --- a/.vimrc +++ b/.vimrc @@ -1517,3 +1517,5 @@ source $HOME/.vim/macros/table.vim let g:SuperTabMappingForward = '' let g:SuperTabMappingBackward = '' + +match Error /\s\+$/ -- 2.39.5