30 lines
692 B
Lua
30 lines
692 B
Lua
return {
|
|
{
|
|
"CopilotC-Nvim/CopilotChat.nvim",
|
|
branch = "canary",
|
|
dependencies = {
|
|
"zbirenbaum/copilot.lua",
|
|
"nvim-lua/plenary.nvim",
|
|
},
|
|
opts = {},
|
|
},
|
|
keys = {
|
|
{
|
|
"<leader>cch",
|
|
function()
|
|
local actions = require("CopilotChat.actions")
|
|
require("CopilotChat.integrations.telescope").pick(actions.help_actions())
|
|
end,
|
|
desc = "CopilotChat - Help actions",
|
|
},
|
|
{
|
|
"<leader>ccp",
|
|
function()
|
|
local actions = require("CopilotChat.actions")
|
|
require("CopilotChat.integrations.telescope").pick(actions.prompt_actions())
|
|
end,
|
|
desc = "CopilotChat - Prompt actions",
|
|
},
|
|
}
|
|
}
|