diff --git a/lua/custom/plugins/copilot.lua b/lua/custom/plugins/copilot.lua index ffba2575..ea9e13f1 100644 --- a/lua/custom/plugins/copilot.lua +++ b/lua/custom/plugins/copilot.lua @@ -15,9 +15,13 @@ return { mapping = 'apwa', description = 'Copilot: Write Atomic Note', }, + -- You can add more prompts here }, - -- You can add more prompts here }, + config = function(_, opts) + require('CopilotChat').setup(opts) + vim.api.nvim_set_keymap('n', 'ac', ':CopilotChat', { noremap = true, silent = true }) + end, -- See Commands section for default commands if you want to lazy load on them }, }