From 69ad8439de18a42622438bab03fb0c812a727724 Mon Sep 17 00:00:00 2001 From: Jacobo de Vera Date: Thu, 10 Nov 2011 00:37:40 +0000 Subject: [PATCH] Allow overriding bundle name This changeset allows the second parameter of the Bundle command (a dictionary) to override bundle object fields that come from parsing the bundle spec. This means that Bundle 'abolish.vim', {'name' : 'abo'} will be installed in a bundle directory named 'abo', rather than 'abolish.vim', which is the name parsed from the bundle spec. --- 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 5023385..8fd1450 100644 --- a/autoload/vundle/config.vim +++ b/autoload/vundle/config.vim @@ -38,7 +38,7 @@ func! vundle#config#init_bundle(spec, opts) " Combine info derived from the spec with the options from the Bundle " command. - let opts = extend(s:parse_options(a:opts), s:parse_spec(spec)) + let opts = extend(s:parse_options(a:opts), s:parse_spec(spec), 'keep') " Include generic bundle methods return extend(opts, copy(s:bundle))