MarcWeber/vim-addon-manager — Issue #60: Give more concrete example of adding a source
Author: gotgenes
Created: 2012-02-23 17:25:49+00:00
State: open

The documentation states

You can add your own sources to the pool easily (BUG/TODO [5]): >
let g:vim_addon_manager = {}
let g:vim_addon_manager.plugin_sources = {}
let g:vim_addon_manager.plugin_sources['your_plugin_name'] = { plugin dictionary }
<

A more concrete example would be helpful, for instance,

let g:vim_addon_manager.plugin_sources['LustyJuggler'] = {'type': 'git', 'url': 'git://github.com/gotgenes/lusty', 'vim_script_nr': '2050'}

It would also be helpful if the documentation explicitly states that these lines need to be added to the .vimrc file. Also, am I correct in that these lines must be added prior to the `call vam#ActivateAddons` line? If so, this should be stated in the documentation, too.