Browse Source

expand bundle path

- closes #37
- join is useless there
pull/53/head
gmarik 15 years ago
parent
commit
a69866a942
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      autoload/vundle/config.vim

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

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

Loading…
Cancel
Save