Skip to content

Commit

Permalink
fix(nvim): Update codecomapnion settings
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones2014 committed Mar 18, 2024
1 parent e18588e commit d519fc3
Showing 1 changed file with 21 additions and 7 deletions.
28 changes: 21 additions & 7 deletions nvim/lua/my/configure/codecompanion.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,31 @@ return {
'CodeCompanionToggle',
'CodeCompanionActions',
},
keys = { {
'<leader>cc',
function()
require('codecompanion').actions()
end,
desc = 'CodeCompanion Actions',
} },
keys = {
{
'<leader>cc',
function()
require('codecompanion').actions()
end,
desc = 'CodeCompanion Actions',
},
},
opts = {
adapters = {
chat = 'ollama',
inline = 'ollama',
},
display = {
chat = {
type = 'buffer',
buf_options = {
buflisted = true,
},
win_options = {
wrap = true,
linebreak = true,
},
},
},
},
}

0 comments on commit d519fc3

Please sign in to comment.