From 61aeac27af36e5c9b1891ac23e26ad47530021a3 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sat, 23 Feb 2013 16:57:12 -0500 Subject: [PATCH] Fix JSON parsing error message --- plugin/rhubarb.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/rhubarb.vim b/plugin/rhubarb.vim index d3d9ee1..0e00a7f 100644 --- a/plugin/rhubarb.vim +++ b/plugin/rhubarb.vim @@ -70,7 +70,7 @@ function! rhubarb#json_parse(string) abort catch endtry endif - call s:throw("invalid JSON: ".stripped) + call s:throw("invalid JSON: ".a:string) endfunction function! rhubarb#json_generate(object) abort