diff --git a/autoload/vundle.vim b/autoload/vundle.vim index 5df24b5..7a2aa8f 100644 --- a/autoload/vundle.vim +++ b/autoload/vundle.vim @@ -28,7 +28,7 @@ au Filetype vundle call vundle#scripts#setup_view() au Syntax vim syn keyword vimCommand Bundle -func! vundle#rc() - let g:bundle_dir = expand('$HOME/.vim/bundle') +func! vundle#rc(...) abort + let g:bundle_dir = len(a:000) > 0 ? expand(a:1) : expand('$HOME/.vim/bundle') call vundle#config#init() endf