mirror of
https://github.com/tpope/vim-rhubarb.git
synced 2025-12-06 12:14:26 +08:00
Fix throw in issues completion
Closes https://github.com/tpope/vim-rhubarb/issues/23
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user