8/21/15

VIM highlight lines over 80 ...

:match ErrorMsg '\%>80v.\+'

or edit ~/.vimrc

:au BufWinEnter * let w:m1=matchadd('Search', '\%<81v.\%>77v', -1)
:au BufWinEnter * let w:m2=matchadd('ErrorMsg', '\%>80v.\+', -1)

No comments:

Post a Comment