initialize bundle instead crafting path manually
This commit is contained in:
parent
d41ce3ea35
commit
e4715271ec
@ -146,8 +146,8 @@ func! vundle#installer#delete(bang, dir_name) abort
|
||||
\ 'rmdir /S /Q' :
|
||||
\ 'rm -rf'
|
||||
|
||||
let path = shellescape(expand(g:bundle_dir.'/'.a:dir_name))
|
||||
let cmd .= ' '.path
|
||||
let bundle = vundle#config#init_bundle(a:dir_name, {})
|
||||
let cmd .= ' '.bundle.path()
|
||||
|
||||
let out = s:system(cmd)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user