Minor cleanup

This commit is contained in:
gmarik 2010-12-07 22:15:50 -06:00
parent a9e235028c
commit c30fc73961

View File

@ -15,10 +15,9 @@ func! vundle#rc()
endf
func! vundle#add_bundle(arg, ...)
let bundle = s:parse_options(a:000)
call add(g:bundles, bundle)
call extend(bundle, s:parse_name(a:arg))
let bundle = extend(s:parse_options(a:000), s:parse_name(a:arg))
call extend(bundle, copy(s:bundle))
call add(g:bundles, bundle)
call s:rtp_add(bundle.rtpath())
endf