1
0
Fork 0

nvim: enable copilot for yaml, disable for no ft

This commit is contained in:
Luca Bilke 2024-10-07 11:34:00 +02:00
parent a2d81ac49e
commit 0d613f6adf

View file

@ -4,6 +4,10 @@ return {
{
"zbirenbaum/copilot.lua",
optional = true,
filetypes = {
yaml = true,
[""] = false,
},
keys = {
{ "<leader>a", "", desc = "+ai", mode = { "n" } },
{ "<leader>at", "<CMD>Copilot detach<CR>", desc = "Detach (Copilot)" },