Nvim: setup cmp for copilot
This commit is contained in:
parent
7d07bbfaa6
commit
976b2d04fb
2 changed files with 14 additions and 1 deletions
|
@ -130,6 +130,7 @@ local plugins = {
|
|||
"hrsh7th/cmp-cmdline", -- cmdline source
|
||||
"saadparwaiz1/cmp_luasnip", -- Snippets source
|
||||
"f3fora/cmp-spell", -- Spell check source
|
||||
"zbirenbaum/copilot-cmp", -- Copilot source
|
||||
},
|
||||
config = require("plugins.cmp"),
|
||||
},
|
||||
|
@ -221,7 +222,15 @@ local plugins = {
|
|||
},
|
||||
|
||||
-- GitHub Copilot
|
||||
{ "zbirenbaum/copilot.lua", config = true },
|
||||
{
|
||||
"zbirenbaum/copilot.lua",
|
||||
config = function()
|
||||
require("copilot").setup({
|
||||
suggestion = { enabled = false },
|
||||
panel = { enabled = false },
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
||||
local lazy_opts = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue