github-issues.vim icon indicating copy to clipboard operation
github-issues.vim copied to clipboard

Disable Completion when No Network is Available

Open jalcine opened this issue 10 years ago • 1 comments
trafficstars

This plugin is notorious for hanging up my committing sessions when I'm disconnected from a network. It throws an exception (uncaught somewhere in the stack) and causes Vim to assume that the file (.git/COMMIT_MSG) was already saved.

This is me eyeballing community interest as I'm working on a patch to catch this example. All in all, if it can't connect or find the repository in question, it should fail silently (or at least provide an option to fail silently).

jalcine avatar Jan 12 '15 10:01 jalcine

I agree with this; often times my Vim lags because of net issues and autocomplete trying to populate. I added some timeout stuff a while ago but it didn't really help.

The async/threading feature will help, but it's not the most optimal feature.

I can make it fail silently, but I think the biggest problem is the lag. If you have a patch that makes it better in your case, though, please feel free to PR!

jaxbot avatar Jan 12 '15 18:01 jaxbot