mirror of https://github.com/nirenjan/dotfiles.git
Fix long-lines plugin
Either display colorcolumn, or syntax highlight Error, not both.vimbundler
parent
cf2cd69b13
commit
b7b2630d67
|
@ -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)
|
|
||||||
|
|
Loading…
Reference in New Issue