34 lines
867 B
Lua
34 lines
867 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
|
|
model = 'claude-3.5-sonnet',
|
|
},
|
|
-- See Commands section for default commands if you want to lazy load on them
|
|
},
|
|
}
|