From: martin f. krafft Date: Tue, 7 Jul 2009 18:33:52 +0000 (+0200) Subject: flag trailing spaces as errors X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/409e1493ea45058136564685915ae4dd6c8a427a flag trailing spaces as errors --- 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\+$/