Permalink
Browse files

remove the HiglightLongLines command since vim7.3 has 'colorcolumn'

  • Loading branch information...
1 parent 2709492 commit 15282ad09902199bf3de0f0bf2cac77ac3a0f79b @scrooloose committed Feb 5, 2011
Showing with 0 additions and 12 deletions.
  1. +0 −12 vimrc
View
12 vimrc
@@ -295,15 +295,3 @@ endfunction
"spell check when writing commit logs
autocmd filetype svn,*commit* set spell
-
-"define :HighlightLongLines command to highlight the offending parts of
-"lines that are longer than the specified length (defaulting to 80)
-command! -nargs=? HighlightLongLines call s:HighlightLongLines('<args>')
-function! s:HighlightLongLines(width)
- let targetWidth = a:width != '' ? a:width : 79
- if targetWidth > 0
- exec 'match Todo /\%>' . (targetWidth) . 'v/'
- else
- echomsg "Usage: HighlightLongLines [natural number]"
- endif
-endfunction

0 comments on commit 15282ad

Please sign in to comment.