mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-18 01:34:32 +02:00
Update lua/lazyvim/plugins/extras/ai/avante.lua
Co-authored-by: PatMulligan <43773168+PatMulligan@users.noreply.github.com>
This commit is contained in:
parent
91f5850c3c
commit
326fddd927
1 changed files with 36 additions and 0 deletions
|
@ -28,6 +28,42 @@ return {
|
||||||
},
|
},
|
||||||
build = LazyVim.is_win() and "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false" or "make",
|
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",
|
"MeanderingProgrammer/render-markdown.nvim",
|
||||||
optional = true,
|
optional = true,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue