From a341581743de05092a925a24ef814c0b77d49e49 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Thu, 20 Mar 2014 16:59:45 -0400 Subject: [PATCH] Fix zero arity invocation of runtime_append_all_bundles --- autoload/pathogen.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/pathogen.vim b/autoload/pathogen.vim index d55031e..9ee6d59 100644 --- a/autoload/pathogen.vim +++ b/autoload/pathogen.vim @@ -210,7 +210,7 @@ function! pathogen#runtime_append_all_bundles(...) abort " {{{1 else call s:warn('Change pathogen#runtime_append_all_bundles() to pathogen#infect()') endif - return call('pathogen#interpose', map(copy(a:000),'v:val . "/{}"')) + return pathogen#interpose(a:0 ? a:1 . '/{}' : 'bundle/{}') endfunction let s:done_bundles = {}