diff --git a/autoload/rhubarb.vim b/autoload/rhubarb.vim index dc5604c..5bec4e0 100644 --- a/autoload/rhubarb.vim +++ b/autoload/rhubarb.vim @@ -214,6 +214,8 @@ function! rhubarb#omnifunc(findstart,base) abort endif return map(issues, '{"word": prefix.v:val.number, "abbr": "#".v:val.number, "menu": v:val.title, "info": substitute(v:val.body,"\\r","","g")}') endif + catch /^rhubarb:.*is not a GitHub repository/ + return [] catch /^\%(fugitive\|rhubarb\):/ echoerr v:errmsg endtry