mirror of
https://github.com/Hydroxycarbamide/astrovim_user.git
synced 2025-05-04 20:29:08 -04:00
feat: replace nvim-cmp with blink and separate sources in files
This commit is contained in:
parent
badfcf7840
commit
32df610a34
5 changed files with 71 additions and 35 deletions
35
lua/plugins/codeium.lua
Normal file
35
lua/plugins/codeium.lua
Normal 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,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue