cleanup codecompanion, neogit, bump inputs

This commit is contained in:
iofq 2025-06-11 02:35:44 -05:00
parent ee647f4338
commit 8da416de1c
No known key found for this signature in database
GPG key ID: ECF3B2DA38BF7183
7 changed files with 37 additions and 99 deletions

View file

@ -11,45 +11,4 @@ return {
},
},
},
{
'olimorris/codecompanion.nvim',
cmd = 'Copilot',
dependencies = {
'nvim-lua/plenary.nvim',
'nvim-treesitter/nvim-treesitter',
'zbirenbaum/copilot.lua',
'MeanderingProgrammer/render-markdown.nvim',
},
opts = {
strategies = {
chat = { adapter = 'copilot' },
inline = { adapter = 'copilot' },
},
adapters = {
ollama = function()
return require('codecompanion.adapters').extend('ollama', {
schema = {
model = { default = 'qwen2.5-coder:1.5b' },
},
})
end,
},
},
keys = {
{
'<leader>as',
'<cmd>CodeCompanionChat Add<CR>',
noremap = true,
mode = { 'n', 'v' },
desc = 'Copilot chat add selection',
},
{
'<leader>aa',
'<cmd>CodeCompanionActions<CR>',
noremap = true,
mode = { 'n', 'v' },
desc = 'Copilot inline',
},
},
},
}