From 822a14cb9d396681357d1e47b73f1aec50cdbabe Mon Sep 17 00:00:00 2001 From: "C.D. Clark III" Date: Thu, 21 Jun 2012 10:45:28 -0500 Subject: [PATCH] allow options to override defaults in Bundle call changed order of dictionaries in a call to extend that lets user options passed as a dictionary to the Bundle command override default parameters obtained by parsing the repository url. --- autoload/vundle/config.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/vundle/config.vim b/autoload/vundle/config.vim index 55c7d7d..e28b61e 100644 --- a/autoload/vundle/config.vim +++ b/autoload/vundle/config.vim @@ -24,7 +24,7 @@ func! vundle#config#require(bundles) abort endf func! vundle#config#init_bundle(name, opts) - let opts = extend(s:parse_options(a:opts), s:parse_name(substitute(a:name,"['".'"]\+','','g'))) + let opts = extend(s:parse_name(substitute(a:name,"['".'"]\+','','g')), s:parse_options(a:opts)) let b = extend(opts, copy(s:bundle)) let b.rtpath = s:rtpath(opts) return b