diff --git a/autoload/rhubarb.vim b/autoload/rhubarb.vim index 5cb140d..3e7e34f 100644 --- a/autoload/rhubarb.vim +++ b/autoload/rhubarb.vim @@ -204,7 +204,7 @@ function! rhubarb#omnifunc(findstart,base) abort if type(response) != type({}) call s:throw('unknown error') elseif has_key(response, 'message') - call s:throw(response[message]) + call s:throw(response.message) else let issues = get(response, 'items', []) endif