Make vimrc smarter if bundles are missing
This commit is contained in:
parent
453d6460be
commit
6366532789
1 changed files with 6 additions and 2 deletions
8
vimrc
8
vimrc
|
@ -1,6 +1,6 @@
|
||||||
set nocompatible
|
set nocompatible
|
||||||
runtime bundle/vim-pathogen/autoload/pathogen.vim
|
runtime bundle/vim-pathogen/autoload/pathogen.vim
|
||||||
execute pathogen#infect()
|
silent! execute pathogen#infect()
|
||||||
|
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
set autoindent
|
set autoindent
|
||||||
|
@ -27,6 +27,10 @@ if has("gui_running")
|
||||||
set columns=88
|
set columns=88
|
||||||
set lines=40
|
set lines=40
|
||||||
|
|
||||||
colorscheme solarized
|
try
|
||||||
|
colorscheme solarized
|
||||||
|
catch /^Vim\%((\a\+)\)\=:E185/
|
||||||
|
colorscheme darkblue
|
||||||
|
endtry
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue