This commit is contained in:
Christian Nieves
2024-12-16 14:42:15 +00:00
parent 9ceca10f72
commit 664c555107
4 changed files with 353 additions and 352 deletions

View File

@ -1,3 +1,3 @@
{
"lazy.nvim": { "branch": "main", "commit": "7e6c863bc7563efbdd757a310d17ebc95166cef3" }
"lazy.nvim": { "branch": "main", "commit": "56ead98e05bb37a4ec28930a54d836d033cf00f2" }
}

View File

@ -9,8 +9,10 @@ return {
-- lazy.nvim will automatically load the plugin when it's required by blink.cmp
lazy = true,
-- make sure to set opts so that lazy.nvim calls blink.compat's setup
opts = {},
cond = flags.blink,
opts = {
impersonate_nvim_cmp = use_google(), -- only cider needs this
},
cond = not use_google(),
},
{
"saghen/blink.cmp",
@ -57,13 +59,14 @@ return {
"nerdfont",
"buffer",
}
print(vim.inspect(providerToEnable))
if use_google() then
table.insert(providerToEnable, "nvim_ciderlsp")
table.insert(providerToEnable, "buganizer")
else
table.insert(providerToEnable, "codeium")
end
vim.notify("BOOOOOOP")
vim.notify(vim.inspect(providerToEnable))
return providerToEnable
end,
},

View File

@ -5,7 +5,7 @@ return {
{
"hrsh7th/nvim-cmp",
event = { "InsertEnter", "CmdlineEnter" },
cond = not flags.blink,
cond = use_google(),
dependencies = {
"Exafunction/codeium.nvim",
"FelipeLema/cmp-async-path",

View File

@ -1,8 +1,6 @@
local M = {
use_google_cache = nil,
flags = {
blink = true,
},
flags = {},
}
function M.exec(command, args)