Browse Source

Added support for VAM git repository URLs.

pull/558/head
Brian Nash 11 years ago
parent
commit
40890790f6
No known key found for this signature in database GPG Key ID: 50441726610D5AE0
1 changed files with 12 additions and 1 deletions
  1. +12
    -1
      autoload/vundle/scripts.vim

+ 12
- 1
autoload/vundle/scripts.vim View File

@ -266,7 +266,18 @@ func! vundle#scripts#getdeps(bundle)
let true = 1
let false = 0
let null = ''
return keys(get(eval(join(readfile(a:bundle['rtpath'] . '/addon-info.json'), '')), 'dependencies', {}))
let dependencyentries = get(eval(join(readfile(a:bundle['rtpath'] . '/addon-info.json'), '')), 'dependencies', {})
let bundles_needed = []
for information in keys(dependencyentries)
if !empty(dependencyentries[information])
if dependencyentries[information]['type'] == 'git'
let bundles_needed += [dependencyentries[information]['url']]
endif
else
let bundles_needed += [information]
endif
endfor
return bundles_needed
else
return []
endif


Loading…
Cancel
Save