Browse Source

use uri as path when nosync is set

events
gmarik 15 years ago
parent
commit
a42550779a
1 changed files with 4 additions and 6 deletions
  1. +4
    -6
      autoload/vundle/config.vim

+ 4
- 6
autoload/vundle/config.vim View File

@ -91,13 +91,11 @@ endf
func! s:bundle.path()
if self.nosync()
if isdirectory(expand(self.uri))
let path = expand(self.uri)
endif
else
let path = g:vundle#bundle_dir
let dir = expand(self.uri)
return dif
endif
return join([path, self.name], '/')
return join([g:vundle#bundle_dir, self.name], '/')
endf
func! s:bundle.rtpath()


Loading…
Cancel
Save