Open gldtn opened 1 month ago
+1
Just switched to blink.cmp
. I've tried to setup using the compatibility layer blink.compat
repo but without any success. I'd really appreciate the support for blink.
I have also tried to set this up like @souavds mentioned, also without success. I'm not really read up on how the compatibility layer works, so I'm not sure if this plugin is compatible right off the bat. But I would be very curious to see if/how this can be done if anyone manages to get it working.
I have not tried using blink.compat, by for those that still want/need copilot to function, you could do something like:
copilot:
{
"zbirenbaum/copilot.lua",
lazy = true,
cmd = "Copilot",
event = "InsertEnter",
opts = {
panel = { enabled = false },
suggestion = {
auto_trigger = true,
keymap = {
accept = "<TAB>",
accept_word = "<C-w>",
accept_line = "<C-l>",
next = "<C-j>",
prev = "<C-k>",
dismiss = "<ESC>",
},
},
},
}
And I make sure blink keymaps don't interfere blink..
blink-cmp:
require("blink.cmp").setup({
keymap = {
["<C-y>"] = { "accept", "fallback" },
["<C-n>"] = { "select_next", "fallback" },
["<C-p>"] = { "select_prev", "fallback" },
},
})
It's not integrated but at least you get copilot completion.
+1
blink.cmp
seems so much faster than nvim-cmp
and doesn't lag and I'd love to have native copilot support for it.
Is it possible to add support for blink.cmp? https://github.com/Saghen/blink.cmp
Thanks!