remove reload_bundles at all

This commit is contained in:
gmarik 2011-08-18 17:47:02 -05:00
parent 5077f37d9d
commit 1874255efd
2 changed files with 0 additions and 9 deletions

View File

@ -131,7 +131,6 @@ see [wiki](/gmarik/vundle/wiki)
* allow specify revision/version?
* search by description as well
* show description in search results
* [REMOVE] instead sourcing .vimrc before installation come up with another solution
* make it rock!
[Vundle]:http://github.com/gmarik/vundle

View File

@ -90,7 +90,6 @@ func! vundle#installer#helptags(bundles) abort
endf
func! vundle#installer#list(bang) abort
let bundles = (a:bang) ? s:reload_bundles() : g:bundles
call vundle#scripts#view('list', ['" My Bundles'], map(copy(g:bundles), 'v:val.name_spec'))
redraw!
echo len(g:bundles).' bundles configured'
@ -142,13 +141,6 @@ func! vundle#installer#delete(bang, dir_name) abort
endif
endf
func! s:reload_bundles()
" TODO: obtain Bundles without sourcing .vimrc
if filereadable($MYVIMRC)| silent source $MYVIMRC | endif
if filereadable($MYGVIMRC)| silent source $MYGVIMRC | endif
return g:bundles
endf
func! s:has_doc(rtp) abort
return isdirectory(a:rtp.'/doc')
\ && (!filereadable(a:rtp.'/doc/tags') || filewritable(a:rtp.'/doc/tags'))