mirror of
https://github.com/tpope/vim-rhubarb.git
synced 2025-12-06 12:14:26 +08:00
Fix error reporting during omnicomplete
Resolves: https://github.com/tpope/vim-rhubarb/issues/70
This commit is contained in:
@@ -261,7 +261,7 @@ function! s:CompleteAddIssues(response, prefix) abort
|
||||
if !has_key(a:response, 'message')
|
||||
return
|
||||
endif
|
||||
throw 'rhubarb: ' . response.message
|
||||
throw 'rhubarb: ' . a:response.message
|
||||
endfunction
|
||||
|
||||
let s:reference = '\<\%(\c\%(clos\|resolv\|referenc\)e[sd]\=\|\cfix\%(e[sd]\)\=\)\>'
|
||||
|
||||
Reference in New Issue
Block a user