-
Notifications
You must be signed in to change notification settings - Fork 148
Open
Labels
enhancementNew feature or requestNew feature or request
Description
When there is no internet connection available, plugin seems to throw error on each keypress:
RPC[Error] code_name = InternalError, message = "Request getCompletions failed with message: getaddrinfo ENOTFOUND api.github.com"
This seems to be described in #93, but suggested solution is disable auto trigger of Copilot. This might be an option for some people, but I prefer it to be enabled by default, just don't show error when this error is encountered.
The problem is particularly nasty as this error prevents from normal typing – I need to press Enter to dismiss an error and then type the next character. Basically it makes typing impossible without internet.
Any idea how to prevent it from throwing an error?
I'm using Astronvim, not sure if the behaviour of the plugin is the same for all nvim configurations. Could anyone verify if they having the same behaviour?
orhnk, rwxd, orlovm, NickvanDyke, Fidelxyz and 4 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request