format codecompanion
This commit is contained in:
parent
345147cc91
commit
0ccaeed2e5
@ -1,29 +1,29 @@
|
||||
return {
|
||||
'olimorris/codecompanion.nvim',
|
||||
dependencies = {
|
||||
'nvim-lua/plenary.nvim',
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
},
|
||||
branch = 'main',
|
||||
config = function()
|
||||
require('codecompanion').setup({
|
||||
strategies = {
|
||||
chat = {
|
||||
adapter = 'copilot',
|
||||
},
|
||||
inline = {
|
||||
adapter = 'copilot',
|
||||
},
|
||||
},
|
||||
-- adapters = {
|
||||
-- anthropic = function()
|
||||
-- return require('codecompanion.adapters').extend('copilot', {
|
||||
-- env = {
|
||||
-- api_key = 'ghu_8hbMItSdtNIrzMI4svd94dem3ZCsk23VG446',
|
||||
-- },
|
||||
-- })
|
||||
-- end,
|
||||
-- },
|
||||
})
|
||||
end,
|
||||
}
|
||||
return {
|
||||
'olimorris/codecompanion.nvim',
|
||||
dependencies = {
|
||||
'nvim-lua/plenary.nvim',
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
},
|
||||
branch = 'main',
|
||||
config = function()
|
||||
require('codecompanion').setup({
|
||||
strategies = {
|
||||
chat = {
|
||||
adapter = 'copilot',
|
||||
},
|
||||
inline = {
|
||||
adapter = 'copilot',
|
||||
},
|
||||
},
|
||||
-- adapters = {
|
||||
-- anthropic = function()
|
||||
-- return require('codecompanion.adapters').extend('copilot', {
|
||||
-- env = {
|
||||
-- api_key = 'ghu_8hbMItSdtNIrzMI4svd94dem3ZCsk23VG446',
|
||||
-- },
|
||||
-- })
|
||||
-- end,
|
||||
-- },
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user