Browse Source

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.
pull/187/head
C.D. Clark III 14 years ago
parent
commit
822a14cb9d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      autoload/vundle/config.vim

+ 1
- 1
autoload/vundle/config.vim View File

@ -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


Loading…
Cancel
Save