This commit is contained in:
gmarik 2010-12-08 23:15:10 -06:00
parent aeb18a98d1
commit e9f430ee0e
2 changed files with 3 additions and 2 deletions

View File

@ -13,7 +13,7 @@ endf
func! vundle#config#require(bundle)
call s:rtp_add(g:bundle_dir)
" TODO: it has to be relative rtpath, not bundle, name
" TODO: it has to be relative rtpath, not bundle.name
exec 'runtime! '.a:bundle.name.'/plugin/*.vim'
exec 'runtime! '.a:bundle.name.'/after/*.vim'
call s:rtp_rm(g:bundle_dir)

View File

@ -1,5 +1,5 @@
func! vundle#installer#install(bang)
" TODO: this sucks
" TODO: obtain Bundles without sourcing .vimrc
silent source ~/.vimrc
if !isdirectory(g:bundle_dir) | call mkdir(g:bundle_dir, 'p') | endif
for bundle in g:bundles | call s:install('!' == a:bang, bundle) | endfor
@ -37,6 +37,7 @@ func! s:install(bang, bundle)
if synced | call vundle#config#require(a:bundle) | endif
endf
" TODO: make it pause after output in console mode
func! s:log(msg)
if has('gui_running')
echo a:msg