Update lua/lazyvim/plugins/extras/ai/avante.lua

Co-authored-by: PatMulligan <43773168+PatMulligan@users.noreply.github.com>
This commit is contained in:
George Guimarães 2025-01-28 09:40:59 -03:00
parent 91f5850c3c
commit 326fddd927
No known key found for this signature in database
GPG key ID: 20E86F6F5FC22FA7

View file

@ -28,6 +28,42 @@ return {
},
build = LazyVim.is_win() and "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false" or "make",
},
{
"saghen/blink.cmp",
lazy = true,
opts = {
sources = {
default = { "avante_commands", "avante_mentions", "avante_files" },
compat = {
"avante_commands",
"avante_mentions",
"avante_files",
},
-- LSP score_offset is typically 60
providers = {
avante_commands = {
name = "avante_commands",
module = "blink.compat.source",
score_offset = 90,
opts = {},
},
avante_files = {
name = "avante_files",
module = "blink.compat.source",
score_offset = 100,
opts = {},
},
avante_mentions = {
name = "avante_mentions",
module = "blink.compat.source",
score_offset = 1000,
opts = {},
},
},
},
},
},
{
"MeanderingProgrammer/render-markdown.nvim",
optional = true,