Fixed some dependencies

This commit is contained in:
gmarik 2010-12-08 22:52:58 -06:00
parent 5db64d6709
commit 04ac11f435
2 changed files with 6 additions and 2 deletions

View File

@ -13,6 +13,5 @@ if !exists('g:bundles') | let g:bundles = [] | endif
func! vundle#rc() func! vundle#rc()
let g:bundle_dir = expand('$HOME/.vim/bundle') let g:bundle_dir = expand('$HOME/.vim/bundle')
call filter(g:bundles, 's:rtp_rm(v:val.rtpath())') call vundle#config#init()
let g:bundles = []
endf endf

View File

@ -6,6 +6,11 @@ func! vundle#config#bundle(arg, ...)
call s:require(bundle) call s:require(bundle)
endf endf
func! vundle#config#init()
call filter(g:bundles, 's:rtp_rm(v:val.rtpath())')
let g:bundles = []
endf
func! s:parse_options(opts) func! s:parse_options(opts)
" TODO: improve this " TODO: improve this
if len(a:opts) != 1 | return {} | endif if len(a:opts) != 1 | return {} | endif