nvim: enable copilot for yaml, disable for no ft
This commit is contained in:
parent
a2d81ac49e
commit
0d613f6adf
1 changed files with 4 additions and 0 deletions
|
@ -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)" },
|
||||
|
|
Loading…
Add table
Reference in a new issue