feat(nvim): AI edit with avante-nvim

This commit is contained in:
js0ny 2025-02-22 12:11:14 +00:00
parent 6885636712
commit 385f289e1a
5 changed files with 90 additions and 23 deletions

View file

@ -0,0 +1,23 @@
return {
"zbirenbaum/copilot.lua",
cmd = "Copilot",
build = ":Copilot auth",
event = "BufReadPost",
opts = {
suggestion = {
enabled = not vim.g.ai_cmp,
auto_trigger = true,
hide_during_completion = vim.g.ai_cmp,
keymap = {
accept = "<M-f>",
next = "<M-]>",
prev = "<M-[>",
},
},
panel = { enabled = false },
filetypes = {
markdown = true,
help = true,
},
},
}