Add copilot support

This commit is contained in:
2024-09-30 23:02:36 +02:00
parent fcda8f82b9
commit 9c6fd2dc03
2 changed files with 22 additions and 0 deletions

View File

@@ -19,4 +19,17 @@ M.dap_python = {
}
}
M.copilot = {
n = {
["<C-l>"] = {
function()
vim.fn.feedkeys(vim.fn['copilot#Accept'](), '')
end,
"Copilot Accept",
{replace_keycodes = true, nowait=true, silent=true, expr=true, noremap=true}
}
}
}
return M