only open colorscheme if exists

master
Arne Schauf 10 years ago
parent 1ec9375491
commit 1f2d7e3a37
  1. 4
      vimrc

@ -161,4 +161,8 @@ let g:pymode_lint_cwindow = 0
" Bundle 'tpope/vim-vividchalk' " Bundle 'tpope/vim-vividchalk'
Bundle 'tomasr/molokai' Bundle 'tomasr/molokai'
set background=dark set background=dark
try
colorscheme molokai colorscheme molokai
catch /^Vim\%((\a\+)\)\=:E185/
" deal with it
endtry

Loading…
Cancel
Save