Skip to content

Commit

Permalink
Check if colorcolumn exists before attempting to set it
Browse files Browse the repository at this point in the history
  • Loading branch information
vagrant committed Feb 11, 2015
1 parent 3598c24 commit 0780cce
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .vimrc
Expand Up @@ -24,7 +24,9 @@ set nowrap
set number
set ruler
set scrolloff=7
set colorcolumn=80
if exists("&colorcolumn")
set colorcolumn=80
endif
" Always show the statusline
set laststatus=2
colorscheme molokai
Expand Down

0 comments on commit 0780cce

Please sign in to comment.