28 lines
696 B
Lua
28 lines
696 B
Lua
require('helpers').edit_cf('pa', '/lua/plugins/codecompanion.lua')
|
|
|
|
return {
|
|
'olimorris/codecompanion.nvim',
|
|
opts = {
|
|
adapters = {
|
|
copilot = function()
|
|
return require('codecompanion.adapters').extend('copilot', {
|
|
schema = {
|
|
model = {
|
|
default = 'claude-3.7-sonnet',
|
|
},
|
|
},
|
|
})
|
|
end,
|
|
},
|
|
display = {
|
|
chat = {
|
|
show_settings = true,
|
|
},
|
|
},
|
|
},
|
|
dependencies = {
|
|
'nvim-lua/plenary.nvim',
|
|
'nvim-treesitter/nvim-treesitter',
|
|
},
|
|
}
|