From 07a046867dc3407b30801e539ab026fb7c180e7b Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Fri, 15 Nov 2024 06:25:26 +0100 Subject: [PATCH] fix(copilot): don't enable blink when using copilot when blink is not installed. Fixes #4795 --- lua/lazyvim/plugins/extras/ai/copilot.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/lazyvim/plugins/extras/ai/copilot.lua b/lua/lazyvim/plugins/extras/ai/copilot.lua index d78e654d..4fd3119c 100644 --- a/lua/lazyvim/plugins/extras/ai/copilot.lua +++ b/lua/lazyvim/plugins/extras/ai/copilot.lua @@ -79,6 +79,7 @@ return { specs = { { "nvim-cmp", + optional = true, ---@param opts cmp.ConfigSchema opts = function(_, opts) table.insert(opts.sources, 1, { @@ -104,6 +105,7 @@ return { specs = { { "blink.cmp", + optional = true, opts = { sources = { providers = {