Permalink
Browse files

Added a check for colorcolumn

  • Loading branch information...
1 parent 2ac0c1f commit 9ef87de3e41aa17ca9a27eddfb64abbed31a2d61 @markquezada committed Apr 24, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 vimrc
View
4 vimrc
@@ -234,8 +234,10 @@ map <leader>F :Ack<space>
" ---------------
set showmatch " Show matching brackets.
set matchtime=2 " How many tenths of a second to blink
-set colorcolumn=80 "Column gutter
set cursorline "Highlight current line
+if exists("&colorcolumn")
+ set colorcolumn=80 "Column gutter
+endif
"nmap <leader>l :set list!<CR>
" ---------------

0 comments on commit 9ef87de

Please sign in to comment.