Permalink
Browse files

some tweaks to line over

  • Loading branch information...
cengebretson committed Apr 1, 2013
1 parent cc69edb commit 641476100bb814a29750f77781cdf162a34fbc24
Showing with 3 additions and 0 deletions.
  1. +3 −0 vimrc
View
3 vimrc
@@ -48,6 +48,7 @@ set cursorcolumn
hi cursorline guibg = #333333
hi cursorcolumn guibg = #262626
hi colorcolumn guibg = #592929
+hi overlength guibg = #795959
set backspace=indent,eol,start " backspace settings
set linespace=0 " No extra spaces between rows
@@ -477,9 +478,11 @@ endfunc
function! ColorColumnToggle()
if(&colorcolumn > 0)
set colorcolumn=0
+ match none overlength
else
" assuming the standard 80 columns for wrapping
set colorcolumn=80
+ match overlength /\%81v.*/
endif
endfunc

0 comments on commit 6414761

Please sign in to comment.