From 1f2d7e3a37ba7bb066c8409200c250a256e4231d Mon Sep 17 00:00:00 2001 From: Arne Schauf Date: Tue, 12 Aug 2014 15:04:19 +0200 Subject: [PATCH] only open colorscheme if exists --- vimrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vimrc b/vimrc index 0c18d2a..7ee3310 100644 --- a/vimrc +++ b/vimrc @@ -161,4 +161,8 @@ let g:pymode_lint_cwindow = 0 " Bundle 'tpope/vim-vividchalk' Bundle 'tomasr/molokai' set background=dark -colorscheme molokai +try + colorscheme molokai +catch /^Vim\%((\a\+)\)\=:E185/ + " deal with it +endtry