Copilot is "Offline" when used along with `hinell/lsp-timeout.nvim` · Issue #290 · zbirenbaum/copilot.lua · GitHub
Skip to content

Copilot is "Offline" when used along with hinell/lsp-timeout.nvim  #290

Open

Description

@serhez

hinell/lsp-timeout.nvim is a plugin which times-out LSP servers in order to save RAM when the nvim instance is not being focused. The servers are restarted when the instance is focused again. It works with all servers I use, but it does not seem to work well with this plugin. When servers are restarted, the Copilot status is "Offline", trying to run Copilot! attach returns "Offline" and does not restart Copilot. Every time this happens, I have to quit nvim and open it again in order to use Copilot.

Any ideas why this may be happening? Is there any way to restart Copilot the hard way? Could this be done automatically?

Thank you! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions