nvim: fix copilot ft, switch to toggle binding
This commit is contained in:
parent
0d613f6adf
commit
6334ae5030
1 changed files with 10 additions and 5 deletions
|
@ -4,14 +4,19 @@ return {
|
|||
{
|
||||
"zbirenbaum/copilot.lua",
|
||||
optional = true,
|
||||
filetypes = {
|
||||
yaml = true,
|
||||
[""] = false,
|
||||
opts = {
|
||||
filetypes = {
|
||||
yaml = true,
|
||||
[""] = false,
|
||||
},
|
||||
},
|
||||
keys = {
|
||||
{ "<leader>a", "", desc = "+ai", mode = { "n" } },
|
||||
{ "<leader>at", "<CMD>Copilot detach<CR>", desc = "Detach (Copilot)" },
|
||||
{ "<leader>ac", "<CMD>Copilot attach<CR>", desc = "Attach (Copilot)" },
|
||||
{
|
||||
"<leader>at",
|
||||
"<CMD>Copilot toggle<CR>",
|
||||
desc = "Toggle (Copilot)",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue