Fix long-lines plugin

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

View File

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