diff --git a/pkgs/neovim-with-config/lua/plugins/completion.lua b/pkgs/neovim-with-config/lua/plugins/completion.lua index 5769ef35..10401f66 100644 --- a/pkgs/neovim-with-config/lua/plugins/completion.lua +++ b/pkgs/neovim-with-config/lua/plugins/completion.lua @@ -3,6 +3,7 @@ return { "blink.cmp", event = { "InsertEnter", "CmdlineEnter" }, before = function() + require("lz.n").trigger_load("copilot.lua") require("lz.n").trigger_load("blink-cmp-copilot") end, after = function() @@ -37,7 +38,6 @@ return { }, { "copilot.lua", - event = "InsertEnter", after = function() require("copilot").setup({ suggestion = { enabled = false },