diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-11-12 14:43:43 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-11-12 14:43:43 +0100 |
commit | 196c1bddf1f74ed932de1655459141b3ed04440d (patch) | |
tree | 3a82b3fe597a357c04629e9615e3a0b620af9845 /vimrc | |
parent | 0bc60091e12bae575cc5ab0d2df950bcbca18ea3 (diff) | |
download | vim-196c1bddf1f74ed932de1655459141b3ed04440d.zip vim-196c1bddf1f74ed932de1655459141b3ed04440d.tar.gz |
vimrc: cleanup ExtreaWhitespace, add ExtraOver (>80chars)
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -40,7 +40,6 @@ call togglebg#map("<F5>") " colorize extra whitespaces highlight ExtraWhitespace ctermbg=red guibg=red match ExtraWhitespace /\s\+$/ -autocmd ColorScheme * highlight ExtraWhitespace ctermbg=red guibg=red " files set ff=unix @@ -49,6 +48,10 @@ set nofsync :au BufNewFile * :exe("0r! ~/.vim/skeletons.rb %:p " . &filetype) :au Filetype html,xml,xsl source ~/.vim/scripts/closetag.vim +" Set color over 80 chars +au BufRead *.c,*.cpp,*.h match ExtraOver /\s\+\%#\@<!$\|\%81v.*/ +highlight ExtraOver ctermbg=red ctermfg=white guibg=#59292 + " set list " set cursorline " set cursorcolumn |