mirror of
https://github.com/tpope/vim-rhubarb.git
synced 2025-12-06 20:24:29 +08:00
Fix JSON parsing error message
This commit is contained in:
@@ -70,7 +70,7 @@ function! rhubarb#json_parse(string) abort
|
|||||||
catch
|
catch
|
||||||
endtry
|
endtry
|
||||||
endif
|
endif
|
||||||
call s:throw("invalid JSON: ".stripped)
|
call s:throw("invalid JSON: ".a:string)
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! rhubarb#json_generate(object) abort
|
function! rhubarb#json_generate(object) abort
|
||||||
|
|||||||
Reference in New Issue
Block a user