chore: update copilot config

This commit is contained in:
Stevan Freeborn
2025-12-21 05:41:57 -06:00
parent e9f6ef0727
commit 87547ff7af
+10 -1
View File
@@ -1 +1,10 @@
return { "github/copilot.vim" } return {
"github/copilot.vim",
config = function()
vim.api.nvim_create_user_command("Silencio", "Copilot disable", {})
vim.api.nvim_create_user_command("Ruido", "Copilot enable", {})
vim.keymap.set('n', '<leader>cs', ':Silencio<CR>', { desc = "Disable Copilot" })
vim.keymap.set('n', '<leader>cr', ':Ruido<CR>', { desc = "Enable Copilot" })
end,
}