From e6cba2899794f53fd0a40bd547f3e22253b43efb Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sat, 9 Aug 2014 13:11:41 +0900 Subject: [PATCH] Fix error messages --- plug.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plug.vim b/plug.vim index 8756be4..1e44c27 100644 --- a/plug.vim +++ b/plug.vim @@ -271,7 +271,7 @@ function! plug#load(...) return s:err('Argument missing: plugin name(s) required') endif if !exists('g:plugs') - return s:err('plug#begin is not called') + return s:err('plug#begin was not called') endif let unknowns = filter(copy(a:000), '!has_key(g:plugs, v:val)') if !empty(unknowns) @@ -391,7 +391,7 @@ endfunction function! plug#helptags() if !exists('g:plugs') - return s:err('plug#begin is not called') + return s:err('plug#begin was not called') endif for spec in values(g:plugs) let docd = join([spec.dir, 'doc'], '/')