Permalink
Browse files

Don’t use :echoe ever.

  • Loading branch information...
1 parent 919a9da commit 04ac1cd7ad4bfa99f891b541b15807c0ccfe0278 @ZyX-I ZyX-I committed Jun 18, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 doc/vim-addon-manager-getting-started.txt
@@ -152,7 +152,9 @@ recommended setup ~
" VAM install location:
let vam_install_path = expand('$HOME') . '/.vim/vim-addons'
- if !EnsureVamIsOnDisk(vam_install_path) | echoe "NO VAM FOUND!" | return | endif
+ if !EnsureVamIsOnDisk(vam_install_path)
+ throw "NO VAM FOUND!"
+ endif
exec 'set runtimepath+='.vam_install_path.'/vim-addon-manager'
" Tell VAM which plugins to fetch & load:

0 comments on commit 04ac1cd

Please sign in to comment.