only open colorscheme if exists

This commit is contained in:
Arne Schauf committed 2014-08-12 15:04:19 +02:00
1 parent 1ec9375491
commit 1f2d7e3a37
1 file changed
+5 -1
+5 -1
View File
@@ -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