Signed-off-by: d0zingcat <leewtang@gmail.com>
This commit is contained in:
d0zingcat
2024-06-19 07:38:29 +08:00
parent 7c98cab801
commit 711134daff
4 changed files with 67 additions and 62 deletions

View File

@@ -1,21 +1,24 @@
-- 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>',
-- }
-- }
-- }
-- }
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>',
}
}
}
}