feat: replace nvim-cmp with blink and separate sources in files

This commit is contained in:
Hydroxycarbamide 2025-03-26 22:35:12 +01:00
parent badfcf7840
commit 32df610a34
Signed by: Siklos
GPG key ID: C06D07D96997549A
5 changed files with 71 additions and 35 deletions

33
lua/plugins/copilot.lua Normal file
View file

@ -0,0 +1,33 @@
return {
{
"zbirenbaum/copilot.lua",
cmd = "Copilot",
event = "InsertEnter",
opts = {
suggestion = { enabled = false },
panel = { enabled = false },
filetypes = {
markdown = true,
help = true,
},
},
},
{
"saghen/blink.cmp",
optional = true,
dependencies = { "fang2hou/blink-copilot" },
opts = {
sources = {
default = { "copilot" },
providers = {
copilot = {
name = "copilot",
module = "blink-copilot",
score_offset = 100,
async = true,
},
},
},
},
},
}