♻️ refactor(nvim): personal copilot extra now imports the lazyvim one
This commit is contained in:
parent
7d5c1f50ea
commit
f2cfbd6110
1 changed files with 20 additions and 17 deletions
|
@ -1,23 +1,26 @@
|
||||||
return {
|
return {
|
||||||
"zbirenbaum/copilot.lua",
|
{
|
||||||
event = "InsertEnter",
|
import = "lazyvim.plugins.extras.coding.copilot",
|
||||||
opts = {
|
},
|
||||||
suggestion = {
|
{
|
||||||
enabled = true,
|
"zbirenbaum/copilot.lua",
|
||||||
auto_trigger = true,
|
event = "InsertEnter",
|
||||||
keymap = {
|
opts = {
|
||||||
accept = "<M-CR>",
|
suggestion = {
|
||||||
accept_line = "<M-l>",
|
enabled = true,
|
||||||
accept_word = "<M-k>",
|
auto_trigger = true,
|
||||||
next = "<M-]>",
|
keymap = {
|
||||||
prev = "<M-[>",
|
accept = "<M-CR>",
|
||||||
dismiss = "<M-c>",
|
accept_line = "<M-l>",
|
||||||
|
accept_word = "<M-k>",
|
||||||
|
next = "<M-]>",
|
||||||
|
prev = "<M-[>",
|
||||||
|
dismiss = "<M-c>",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
panel = { enabled = false },
|
keys = {
|
||||||
filetypes = {
|
{ "<leader>cI", "<cmd>Copilot toggle<cr>", desc = "Toggle IA" },
|
||||||
markdown = true,
|
|
||||||
help = true,
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue