mirror of
https://github.com/iofq/nvim.nix.git
synced 2026-01-23 08:55:16 -06:00
cleanup codecompanion, neogit, bump inputs
This commit is contained in:
parent
ee647f4338
commit
8da416de1c
7 changed files with 37 additions and 99 deletions
|
|
@ -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',
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue