diff --git a/README.md b/README.md index c0585b6..63149a4 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index a3eec95..82dc4eb 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -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'))