diff --git a/autoload/vundle/config.vim b/autoload/vundle/config.vim index 0e32183..2f28648 100644 --- a/autoload/vundle/config.vim +++ b/autoload/vundle/config.vim @@ -40,6 +40,7 @@ endf func! s:parse_name(arg) let arg = a:arg + if arg =~? '^\s*\(gh\|github\):\S\+' \ || arg =~? '^[a-z0-9][a-z0-9-]*/[^/]\+$' let uri = 'https://github.com/'.split(arg, ':')[-1] @@ -53,7 +54,7 @@ func! s:parse_name(arg) let name = arg let uri = 'https://github.com/vim-scripts/'.name.'.git' endif - return {'name': name, 'uri': uri } + return {'name': name, 'uri': uri, 'name_spec': arg } endf func! s:rtp_rm_a() diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index 62b1b1f..c2ec4f1 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -3,7 +3,7 @@ func! vundle#installer#new(bang, ...) abort \ s:reload_bundles() : \ map(copy(a:000), 'vundle#config#init_bundle(v:val, {})') - let names = map(copy(bundles), 'v:val.name') + let names = map(copy(bundles), 'v:val.name_spec') call s:display(['" Installing'], names) exec ":1"