expand bundle path

- closes #37
- join is useless there
This commit is contained in:
gmarik 2011-05-27 18:56:02 -05:00
parent a17a896ab3
commit a69866a942

View File

@ -77,9 +77,9 @@ endf
let s:bundle = {} let s:bundle = {}
func! s:bundle.path() func! s:bundle.path()
return join([g:bundle_dir, self.name], '/') return expand(g:bundle_dir.'/'.self.name)
endf endf
func! s:bundle.rtpath() 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 endf