mirror of
https://github.com/d0zingcat/dotfiles.git
synced 2026-05-14 07:26:44 +00:00
mig packer to lazy and archive
Signed-off-by: d0zingcat <leewtang@gmail.com>
This commit is contained in:
21
nvim/lua/plugins/copilot.lua
Normal file
21
nvim/lua/plugins/copilot.lua
Normal file
@@ -0,0 +1,21 @@
|
||||
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>',
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user