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

35
lua/plugins/codeium.lua Normal file
View file

@ -0,0 +1,35 @@
return {
{
"Exafunction/codeium.nvim",
enabled = true,
dependencies = {
"nvim-lua/plenary.nvim",
},
event = "BufEnter",
config = function() require("codeium").setup {} end,
},
{
"Saghen/blink.cmp",
optional = true,
dependencies = {
"codeium.nvim",
},
specs = {
-- install the blink, nvim-cmp compatibility layer
{ "Saghen/blink.compat", version = "*", lazy = true, opts = {} },
},
opts = {
sources = {
default = { "codeium" },
providers = {
codeium = {
name = "codeium",
module = "blink.compat.source",
score_offset = 100,
async = true,
},
},
},
},
},
}