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?
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 runCopilot! 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! :)