Skip to content

Commit

Permalink
added check for colorcolumn
Browse files Browse the repository at this point in the history
  • Loading branch information
humanshell authored and krisleech committed Dec 15, 2011
1 parent 6aad4ac commit 9bc60f6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,12 @@ set expandtab
set nowrap
set textwidth=79
set formatoptions=n
set colorcolumn=80

" check to make sure vim has been compiled with colorcolumn support
" before enabling it
if exists("+colorcolumn")
set colorcolumn=80
endif

" ---------------------------------------------------------------------------
" Status Line
Expand Down

0 comments on commit 9bc60f6

Please sign in to comment.