From c30fc739619a88859ac85f2efb1c9a01bfa9014b Mon Sep 17 00:00:00 2001 From: gmarik Date: Tue, 7 Dec 2010 22:15:50 -0600 Subject: [PATCH] Minor cleanup --- autoload/vundle.vim | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/autoload/vundle.vim b/autoload/vundle.vim index 4fe8151..dd893e1 100644 --- a/autoload/vundle.vim +++ b/autoload/vundle.vim @@ -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