Files
dotfiles/nvim/lua/plugins/copilot.lua
d0zingcat 65b75edd9a mig packer to lazy and archive
Signed-off-by: d0zingcat <leewtang@gmail.com>
2024-06-03 11:18:10 +08:00

22 lines
439 B
Lua

return {
'zbirenbaum/copilot.lua',
cmd = 'Copilot',
event = 'InsertEnter',
opts = {
-- panel = {
-- auto_refresh = true,
-- },
filetypes = {
['*'] = true,
},
suggestion = {
auto_trigger = true,
keymap = {
accept = '<C-e>',
next = '<C-j>',
prev = '<C-k>',
}
}
}
}