From bf9d971a18bad3baceb698bcdeabc483629f3b2d Mon Sep 17 00:00:00 2001 From: gmarik Date: Sun, 31 Oct 2010 17:54:44 -0500 Subject: [PATCH] Renamed to new_bundle --- autoload/vundle.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/vundle.vim b/autoload/vundle.vim index 68f7a4b..d6e93c5 100644 --- a/autoload/vundle.vim +++ b/autoload/vundle.vim @@ -8,7 +8,7 @@ let g:vundle_loaded = 1 au BufRead,BufNewFile {bundlerc} set ft=vim -com! -nargs=+ Bundle call vundle#add_and_require_bundle() +com! -nargs=+ Bundle call vundle#new_bundle() com! -nargs=0 BundleInstall call vundle#install_bundles() let g:bundle_dir = expand('~/.vim/bundle/') @@ -23,7 +23,7 @@ func! vundle#add_bundle(uri, opts) return bundle endf -func! vundle#add_and_require_bundle(...) +func! vundle#new_bundle(...) let [uri; rest] = a:000 | let opts = {} if len(rest) == 1 | let opts = rest[0] | endif let bundle = vundle#add_bundle(uri, opts)