diff --git a/lua/lazyvim/plugins/extras/ai/codeium.lua b/lua/lazyvim/plugins/extras/ai/codeium.lua index 8d37d750..ca0bfa9c 100644 --- a/lua/lazyvim/plugins/extras/ai/codeium.lua +++ b/lua/lazyvim/plugins/extras/ai/codeium.lua @@ -37,7 +37,6 @@ return { { "hrsh7th/nvim-cmp", optional = true, - dependencies = { "codeium.nvim" }, opts = function(_, opts) table.insert(opts.sources, 1, { name = "codeium", @@ -59,7 +58,7 @@ return { vim.g.ai_cmp and { "saghen/blink.cmp", optional = true, - dependencies = { "codeium.nvim", "saghen/blink.compat" }, + dependencies = { "saghen/blink.compat" }, opts = { sources = { compat = { "codeium" }, diff --git a/lua/lazyvim/plugins/extras/ai/copilot.lua b/lua/lazyvim/plugins/extras/ai/copilot.lua index 4651c689..f3583cb3 100644 --- a/lua/lazyvim/plugins/extras/ai/copilot.lua +++ b/lua/lazyvim/plugins/extras/ai/copilot.lua @@ -64,7 +64,7 @@ return { { "hrsh7th/nvim-cmp", optional = true, - dependencies = { -- this will only be evaluated if nvim-cmp is enabled + specs = { -- this will only be evaluated if nvim-cmp and copilot-cmp are enabled { "zbirenbaum/copilot-cmp", opts = {}, @@ -97,7 +97,12 @@ return { { "saghen/blink.cmp", optional = true, - dependencies = { "giuxtaposition/blink-cmp-copilot" }, + specs = { + { + "zbirenbaum/copilot-cmp", + dependencies = { "giuxtaposition/blink-cmp-copilot" }, + }, + }, opts = { sources = { default = { "copilot" }, diff --git a/lua/lazyvim/plugins/extras/ai/supermaven.lua b/lua/lazyvim/plugins/extras/ai/supermaven.lua index 5d30f49c..9d8026a7 100644 --- a/lua/lazyvim/plugins/extras/ai/supermaven.lua +++ b/lua/lazyvim/plugins/extras/ai/supermaven.lua @@ -37,7 +37,6 @@ return { { "hrsh7th/nvim-cmp", optional = true, - dependencies = { "supermaven-nvim" }, opts = function(_, opts) if vim.g.ai_cmp then table.insert(opts.sources, 1, { @@ -52,7 +51,7 @@ return { vim.g.ai_cmp and { "saghen/blink.cmp", optional = true, - dependencies = { "supermaven-nvim", "saghen/blink.compat" }, + dependencies = { "saghen/blink.compat" }, opts = { sources = { compat = { "supermaven" }, diff --git a/lua/lazyvim/plugins/extras/ai/tabnine.lua b/lua/lazyvim/plugins/extras/ai/tabnine.lua index 06d02dc2..3fac6308 100644 --- a/lua/lazyvim/plugins/extras/ai/tabnine.lua +++ b/lua/lazyvim/plugins/extras/ai/tabnine.lua @@ -16,7 +16,6 @@ return { { "hrsh7th/nvim-cmp", optional = true, - dependencies = { "tzachar/cmp-tabnine" }, ---@param opts cmp.ConfigSchema opts = function(_, opts) table.insert(opts.sources, 1, { @@ -37,7 +36,7 @@ return { { "saghen/blink.cmp", optional = true, - dependencies = { "tzachar/cmp-tabnine", "saghen/blink.compat" }, + dependencies = { "saghen/blink.compat" }, opts = { sources = { compat = { "cmp_tabnine" },