Make vimrc smarter if bundles are missing
This commit is contained in:
parent
453d6460be
commit
6366532789
1 changed files with 6 additions and 2 deletions
6
vimrc
6
vimrc
|
@ -1,6 +1,6 @@
|
|||
set nocompatible
|
||||
runtime bundle/vim-pathogen/autoload/pathogen.vim
|
||||
execute pathogen#infect()
|
||||
silent! execute pathogen#infect()
|
||||
|
||||
filetype plugin indent on
|
||||
set autoindent
|
||||
|
@ -27,6 +27,10 @@ if has("gui_running")
|
|||
set columns=88
|
||||
set lines=40
|
||||
|
||||
try
|
||||
colorscheme solarized
|
||||
catch /^Vim\%((\a\+)\)\=:E185/
|
||||
colorscheme darkblue
|
||||
endtry
|
||||
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue