Excerpts from Ben Fritz's message of Thu Jan 02 17:37:09 +0100 2014:
> That looks cool...but where does it pull from? Some plugins I pretty
> much always pull from vim.org, other plugins I like downloading the
> latest revision in an archive from github.
vim-addon-manager-known-repositories default. If there is a git
repository associated then the git repository will be used.
>From docs:
Example how to patch vcs checkout functions (eg if you're behind a proxy
and need to checkout github urls by http://): >
let g:vim_addon_manager = {'scms': {'git': {}}}
fun! MyGitCheckout(repository, targetDir)
let a:repository.url = substitute(a:repository.url, '^git://github',
'http://github', '')
return vam#utils#RunShell('git clone --depth=1 $.url $p',
a:repository, a:targetDir)
endfun
let g:vim_addon_manager.scms.git.clone=['MyGitCheckout']
This is still using git.
vcs.vim:
\ 'git': {'clone': ['vam#vcs#GitCheckoutFixDepth', []],
is default implementation,
you can replace it by vam#vcs#UrlFromRepository(repository) easily.
s:c. is just a alias for g:vim_addon_manager
Marc Weber
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.