Make vimrc smarter if bundles are missing

This commit is contained in:
Anthony Rose 2015-10-13 15:44:10 +01:00
parent 453d6460be
commit 6366532789

8
vimrc
View file

@ -1,6 +1,6 @@
set nocompatible set nocompatible
runtime bundle/vim-pathogen/autoload/pathogen.vim runtime bundle/vim-pathogen/autoload/pathogen.vim
execute pathogen#infect() silent! execute pathogen#infect()
filetype plugin indent on filetype plugin indent on
set autoindent set autoindent
@ -27,6 +27,10 @@ if has("gui_running")
set columns=88 set columns=88
set lines=40 set lines=40
colorscheme solarized try
colorscheme solarized
catch /^Vim\%((\a\+)\)\=:E185/
colorscheme darkblue
endtry
endif endif