mirror of
https://github.com/tpope/vim-rhubarb.git
synced 2026-10-04 19:29:04 +08:00
Fix error reporting during omnicomplete
Resolves: https://github.com/tpope/vim-rhubarb/issues/70
This commit is contained in:
1 parent
c815057f8e
commit
09b9b1ca86
1 file changed
+1
-1
@@ -261,7 +261,7 @@ function! s:CompleteAddIssues(response, prefix) abort
|
|||||||
if !has_key(a:response, 'message')
|
if !has_key(a:response, 'message')
|
||||||
return
|
return
|
||||||
endif
|
endif
|
||||||
throw 'rhubarb: ' . response.message
|
throw 'rhubarb: ' . a:response.message
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
let s:reference = '\<\%(\c\%(clos\|resolv\|referenc\)e[sd]\=\|\cfix\%(e[sd]\)\=\)\>'
|
let s:reference = '\<\%(\c\%(clos\|resolv\|referenc\)e[sd]\=\|\cfix\%(e[sd]\)\=\)\>'
|
||||||
|
|||||||
Reference in new issue
Block a user