Skip to content

Commit

Permalink
fix(neovim): load copilot.lua before blink-cmp-copilot
Browse files Browse the repository at this point in the history
  • Loading branch information
natsukium committed Jan 12, 2025
1 parent 3583d47 commit 3253fa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/neovim-with-config/lua/plugins/completion.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -37,7 +38,6 @@ return {
},
{
"copilot.lua",
event = "InsertEnter",
after = function()
require("copilot").setup({
suggestion = { enabled = false },
Expand Down

0 comments on commit 3253fa2

Please sign in to comment.