Update avante config to use copilot

This commit is contained in:
2025-05-12 11:22:25 -04:00
parent 7715f07c34
commit 0d09d7334b
3 changed files with 90 additions and 67 deletions

View File

@@ -1,5 +1,9 @@
return {
"saghen/blink.cmp",
dependencies = {
-- For auto-completion in the avante window
"Kaiser-Yang/blink-cmp-avante",
},
opts = {
completion = {
trigger = {
@@ -7,5 +11,18 @@ return {
},
},
keymap = { preset = "super-tab" },
sources = {
-- Add 'avante' to the list
default = { "avante", "lsp", "path", "snippets", "buffer" },
providers = {
avante = {
module = "blink-cmp-avante",
name = "Avante",
opts = {
-- options for blink-cmp-avante
},
},
},
},
},
}