From 5ced4c0bda916e7e74dc40129991885be1769eef Mon Sep 17 00:00:00 2001 From: syngan Date: Fri, 6 Sep 2013 23:45:42 +0900 Subject: [PATCH] fix s:validate() --- autoload/ref.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/ref.vim b/autoload/ref.vim index a3895fc..3abf4be 100644 --- a/autoload/ref.vim +++ b/autoload/ref.vim @@ -710,7 +710,7 @@ function! s:validate(source, key, type) throw 'ref: Invalid source: Without key ' . string(a:key) elseif type(a:source[a:key]) != s:T[a:type] throw 'ref: Invalid source: Key ' . key . ' must be ' . a:type . ', ' . - \ 'but given value is' string(a:source[a:key]) + \ 'but given value is' . string(a:source[a:key]) endif endfunction