Fix long-lines plugin

Either display colorcolumn, or syntax highlight Error, not both.
vimbundler
nirenjan 2013-05-09 09:18:03 -07:00
parent cf2cd69b13
commit b7b2630d67
1 changed files with 2 additions and 1 deletions

View File

@ -21,6 +21,7 @@
if exists('+colorcolumn')
set colorcolumn=81
else
autocmd BufWinEnter * let w:m2=matchadd('ErrorMsg', '\%>80v.\+', -1)
endif
autocmd BufWinEnter * let w:m2=matchadd('ErrorMsg', '\%>80v.\+', -1)