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 endf
func! vundle#add_bundle(arg, ...) func! vundle#add_bundle(arg, ...)
let bundle = s:parse_options(a:000) let bundle = extend(s:parse_options(a:000), s:parse_name(a:arg))
call add(g:bundles, bundle)
call extend(bundle, s:parse_name(a:arg))
call extend(bundle, copy(s:bundle)) call extend(bundle, copy(s:bundle))
call add(g:bundles, bundle)
call s:rtp_add(bundle.rtpath()) call s:rtp_add(bundle.rtpath())
endf endf