copilot: add CopilotChat.nvim

This commit is contained in:
Tigor Hutasuhut 2024-08-23 07:54:17 +07:00
parent 6a1506671f
commit f1b856215b
2 changed files with 15 additions and 0 deletions

View file

@ -1,4 +1,5 @@
{ {
"CopilotChat.nvim": { "branch": "canary", "commit": "1a92bb6d69b35bbfe32a57f81dc4f254abb56352" },
"LazyVim": { "branch": "main", "commit": "12818a6cb499456f4903c5d8e68af43753ebc869" }, "LazyVim": { "branch": "main", "commit": "12818a6cb499456f4903c5d8e68af43753ebc869" },
"LuaSnip": { "branch": "master", "commit": "b84eeb3641b08324287587b426ec974b888390d9" }, "LuaSnip": { "branch": "master", "commit": "b84eeb3641b08324287587b426ec974b888390d9" },
"SchemaStore.nvim": { "branch": "main", "commit": "d25cb49aa52f8bd459e1b8f3f4efd6c8af5eb7e5" }, "SchemaStore.nvim": { "branch": "main", "commit": "d25cb49aa52f8bd459e1b8f3f4efd6c8af5eb7e5" },

View file

@ -25,4 +25,18 @@ return {
"zbirenbaum/copilot-cmp", "zbirenbaum/copilot-cmp",
enabled = false, enabled = false,
}, },
{
"CopilotC-Nvim/CopilotChat.nvim",
branch = "canary",
event = { "BufReadPost", "BufNewFile" },
dependencies = {
{ "zbirenbaum/copilot.lua" }, -- or github/copilot.vim
{ "nvim-lua/plenary.nvim" }, -- for curl, log wrapper
},
opts = {
debug = true, -- Enable debugging
-- See Configuration section for rest
},
-- See Commands section for default commands if you want to lazy load on them
},
} }