kickstart.nvim/lua/custom/plugins/copilot.lua

33 lines
832 B
Lua

return {
{
'zbirenbaum/copilot.lua',
cmd = 'Copilot',
event = 'InsertEnter',
config = function()
require('copilot').setup {
suggestion = { enabled = false },
panel = { enabled = false },
}
end,
},
{
'zbirenbaum/copilot-cmp',
dependencies = { 'copilot.lua' },
config = function()
require('copilot_cmp').setup()
end,
},
{
'CopilotC-Nvim/CopilotChat.nvim',
dependencies = {
{ 'zbirenbaum/copilot.lua' }, -- or github/copilot.vim
{ 'nvim-lua/plenary.nvim', branch = 'master' }, -- for curl, log and async functions
},
-- build = "make tiktoken", -- Only on MacOS or Linux
opts = {
-- See Configuration section for options
},
-- See Commands section for default commands if you want to lazy load on them
},
}