From 636653278919686e549ab5d3b243202433352f25 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Tue, 13 Oct 2015 15:44:10 +0100 Subject: [PATCH] Make vimrc smarter if bundles are missing --- vimrc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/vimrc b/vimrc index f6a8e71..b672288 100644 --- a/vimrc +++ b/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 - colorscheme solarized + try + colorscheme solarized + catch /^Vim\%((\a\+)\)\=:E185/ + colorscheme darkblue + endtry endif