feat: add CodeCompanion
This commit is contained in:
parent
000823f879
commit
1dce1ddcf2
2 changed files with 13 additions and 0 deletions
|
@ -86,6 +86,7 @@
|
||||||
copilot-lua
|
copilot-lua
|
||||||
copilot-cmp
|
copilot-cmp
|
||||||
CopilotChat-nvim
|
CopilotChat-nvim
|
||||||
|
codecompanion-nvim
|
||||||
|
|
||||||
# debugging
|
# debugging
|
||||||
nvim-dap
|
nvim-dap
|
||||||
|
@ -181,6 +182,17 @@
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
require('codecompanion').setup({
|
||||||
|
strategies = {
|
||||||
|
chat = {
|
||||||
|
adapter = "copilot",
|
||||||
|
},
|
||||||
|
inline = {
|
||||||
|
adapter = "copilot",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
require("diffview").setup({
|
require("diffview").setup({
|
||||||
view = {
|
view = {
|
||||||
merge_tool = {
|
merge_tool = {
|
||||||
|
|
|
@ -69,3 +69,4 @@ require("better_escape").setup()
|
||||||
|
|
||||||
-- open Copilot Chat window
|
-- open Copilot Chat window
|
||||||
nnoremap("<leader>cc", ":lua require('CopilotChat').open()<CR>")
|
nnoremap("<leader>cc", ":lua require('CopilotChat').open()<CR>")
|
||||||
|
nnoremap("<leader>C", ":CodeCompanionChat #buffer<CR>")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue