2023-10-07 21:09:36 +02:00
|
|
|
return {
|
|
|
|
|
|
|
|
-- codeium cmp source
|
|
|
|
{
|
|
|
|
"nvim-cmp",
|
|
|
|
dependencies = {
|
2023-10-09 09:12:29 +02:00
|
|
|
-- codeium
|
2023-10-07 21:09:36 +02:00
|
|
|
{
|
|
|
|
"Exafunction/codeium.nvim",
|
2023-10-09 09:12:29 +02:00
|
|
|
cmd = "Codeium",
|
|
|
|
build = ":Codeium Auth",
|
|
|
|
opts = {},
|
2023-10-07 21:09:36 +02:00
|
|
|
},
|
|
|
|
},
|
|
|
|
---@param opts cmp.ConfigSchema
|
|
|
|
opts = function(_, opts)
|
2023-10-09 09:12:29 +02:00
|
|
|
table.insert(opts.sources, 1, {
|
|
|
|
name = "codeium",
|
|
|
|
group_index = 1,
|
|
|
|
priority = 100,
|
|
|
|
})
|
2023-10-07 21:09:36 +02:00
|
|
|
end,
|
|
|
|
},
|
2023-10-09 09:12:29 +02:00
|
|
|
|
2023-10-09 09:13:14 +02:00
|
|
|
{
|
|
|
|
"nvim-lualine/lualine.nvim",
|
|
|
|
optional = true,
|
|
|
|
event = "VeryLazy",
|
|
|
|
opts = function(_, opts)
|
2024-03-22 09:15:09 +01:00
|
|
|
table.insert(opts.sections.lualine_x, 2, LazyVim.lualine.cmp_source("codeium"))
|
2023-10-09 09:13:14 +02:00
|
|
|
end,
|
|
|
|
},
|
2023-10-07 21:09:36 +02:00
|
|
|
}
|