diff --git a/autoload/vundle/config.vim b/autoload/vundle/config.vim index 96ff8bf..577a6aa 100644 --- a/autoload/vundle/config.vim +++ b/autoload/vundle/config.vim @@ -77,9 +77,9 @@ endf let s:bundle = {} func! s:bundle.path() - return join([g:bundle_dir, self.name], '/') + return expand(g:bundle_dir.'/'.self.name) endf func! s:bundle.rtpath() - return has_key(self, 'rtp') ? join([self.path(), self.rtp], '/') : self.path() + return has_key(self, 'rtp') ? expand(self.path().'/'.self.rtp) : self.path() endf