From 0792c2d5557683b5cad87800971be591c9af1bf0 Mon Sep 17 00:00:00 2001 From: Loic Nageleisen Date: Wed, 30 Nov 2016 09:49:25 +0100 Subject: [PATCH] disable overlength warning --- vimrc | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/vimrc b/vimrc index 88015ba..18aa19a 100644 --- a/vimrc +++ b/vimrc @@ -89,17 +89,6 @@ if expand('%:t') =~? 'rfc\d\+' || expand('%:t') =~? 'draft-.*-\d\{2,}' set textwidth=72 endif -"notify line over length -function HighlightOverLength(len) - highlight OverLength ctermbg=blue ctermfg=white guibg=#59292 - execute 'match OverLength /\%'.(a:len+1).'v.\+/' -endfunction -autocmd FileType vim call HighlightOverLength(80) -autocmd FileType ruby call HighlightOverLength(80) -autocmd FileType slim call HighlightOverLength(80) -autocmd FileType python call HighlightOverLength(80) -autocmd FileType mdown call HighlightOverLength(80) - "swap/undo files set dir=~/.vim/tmp/swap//,/var/tmp//,/tmp//,. "set undodir=~/.vim/tmp/undo//,.