Permalink
Browse files

Set colorcolumn only if that option is available.

  • Loading branch information...
1 parent 28ae3a4 commit bf68fe1a6c82a2bc18af27b3566c1a4afac13932 @zsiciarz committed Oct 11, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 vimrc
View
4 vimrc
@@ -52,7 +52,9 @@ set autochdir
set mouse=a
" print margin
-set colorcolumn=80
+if exists('+colorcolumn')
+ set colorcolumn=80
+endif
" highlight trailing whitespace
highlight ExtraWhitespace ctermbg=red guibg=red

0 comments on commit bf68fe1

Please sign in to comment.