ofseed / copilot-status.nvim

MIT License
16 stars 2 forks source link

Doesn't work when copilot is disabled #3

Closed Hubro closed 10 months ago

Hubro commented 10 months ago

I have copilot disabled, meaning I only get suggestions when I manually require it. In other words:

vim.g.copilot_filetypes = { ["*"] = false }
vim.keymap.set("i", "<A-p>", "<Plug>(copilot-suggest)", { silent = true })
vim.keymap.set("i", "<A-j>", "<Plug>(copilot-next)", { silent = true })
vim.keymap.set("i", "<A-k>", "<Plug>(copilot-previous)", { silent = true })

This works, but copilot-status.nvim doesn't work because it checks if copilot is enabled, then does nothing.

It would be nice if the status spinner worked even if Copilot is disabled.

ofseed commented 10 months ago

Done.