commit 8b382d02f96bbdc073120097e33b8862a63b0062 parent 971ec0debc1cd9910f6c337e184262a256924fad Author: Chris Bracken <chris@bracken.jp> Date: Thu, 17 Apr 2014 12:28:58 -0700 Use colorcolumn for 80/100-col markers Diffstat:
M | .vim/vimrc | | | 5 | ++--- |
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/.vim/vimrc b/.vim/vimrc @@ -73,9 +73,8 @@ if &t_Co > 2 || has("gui_running") if has("autocmd") " Highlight over-length lines - highlight OverLength ctermbg=red ctermfg=white guibg=#592929 - au BufEnter,InsertLeave * match OverLength /\%81v.\+/ - au BufEnter,InsertLeave *.java match OverLength /\%101v.\+/ + au BufEnter,InsertLeave * set colorcolumn=80 + au BufEnter,InsertLeave *.java set colorcolumn=100 endif endif