zbirenbaum / zbirenbaum/copilot.lua
Copilot is "Offline" when used along with `hinell/lsp-timeout.nvim`
@AntoineGS is already working on this.
Since Mar 25, 2025.
- Dominant language
- Lua
- Stars
- 4.1k
- Forks
- 161
- Avg merge
- 11h 54m
- Merged PRs (30d)
- 13
Description
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! :)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.