only open colorscheme if exists

master
Arne Schauf 10 years ago
parent 1ec9375491
commit 1f2d7e3a37
  1. 6
      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

Loading…
Cancel
Save