Skip to content

Commit

Permalink
Merge 4bae532 into 3b40f43
Browse files Browse the repository at this point in the history
  • Loading branch information
cprn committed Nov 21, 2014
2 parents 3b40f43 + 4bae532 commit 98b7144
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/vim-addon-manager-getting-started.txt
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ commented version ~
" VAM install location:
let c = get(g:, 'vim_addon_manager', {})
let g:vim_addon_manager = c
let c.plugin_root_dir = expand('$HOME/.vim/vim-addons', 1)
let c.plugin_root_dir = expand(get(c, 'plugin_root_dir', '$HOME/.vim/vim-addons'), 1)
if !EnsureVamIsOnDisk(c.plugin_root_dir)
echohl ErrorMsg | echomsg "No VAM found!" | echohl NONE
return
Expand Down Expand Up @@ -212,7 +212,7 @@ minimal version ~
fun! SetupVAM()
let c = get(g:, 'vim_addon_manager', {})
let g:vim_addon_manager = c
let c.plugin_root_dir = expand('$HOME', 1) . '/.vim/vim-addons'
let c.plugin_root_dir = expand(get(c, 'plugin_root_dir', '$HOME/.vim/vim-addons'), 1)
let &rtp.=(empty(&rtp)?'':',').c.plugin_root_dir.'/vim-addon-manager'
" let g:vim_addon_manager = { your config here see "commented version" example and help
if !isdirectory(c.plugin_root_dir.'/vim-addon-manager/autoload')
Expand Down

0 comments on commit 98b7144

Please sign in to comment.