mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 08:53:33 +02:00
feat(codeium): add codeium extra (#1619)
* [feat] add codeium extension * PR comments
This commit is contained in:
parent
9372d78e7e
commit
af9e452854
2 changed files with 26 additions and 0 deletions
|
@ -46,6 +46,7 @@ local defaults = {
|
||||||
Array = " ",
|
Array = " ",
|
||||||
Boolean = " ",
|
Boolean = " ",
|
||||||
Class = " ",
|
Class = " ",
|
||||||
|
Codeium = " ",
|
||||||
Color = " ",
|
Color = " ",
|
||||||
Constant = " ",
|
Constant = " ",
|
||||||
Constructor = " ",
|
Constructor = " ",
|
||||||
|
|
25
lua/lazyvim/plugins/extras/coding/codeium.lua
Normal file
25
lua/lazyvim/plugins/extras/coding/codeium.lua
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
return {
|
||||||
|
|
||||||
|
-- codeium
|
||||||
|
{
|
||||||
|
"Exafunction/codeium.nvim",
|
||||||
|
cmd = "Codeium",
|
||||||
|
build = ":Codeium Auth",
|
||||||
|
opts = {},
|
||||||
|
},
|
||||||
|
-- codeium cmp source
|
||||||
|
{
|
||||||
|
"nvim-cmp",
|
||||||
|
dependencies = {
|
||||||
|
{
|
||||||
|
"Exafunction/codeium.nvim",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
---@param opts cmp.ConfigSchema
|
||||||
|
opts = function(_, opts)
|
||||||
|
table.insert(opts.sources, 1, { name = "codeium", group_index = 2 })
|
||||||
|
opts.sorting = opts.sorting or require("cmp.config.default")().sorting
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue