This commit is contained in:
George Guimarães 2025-08-13 13:00:18 +00:00 committed by GitHub
commit 2a1bd08e79
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,67 @@
return {
{
"yetone/avante.nvim",
build = vim.fn.has("win32") ~= 0 and "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false"
or "make",
event = "VeryLazy",
version = false,
opts = {
provider = "copilot",
hints = {
enabled = false,
},
},
dependencies = {
"nvim-lua/plenary.nvim",
"MunifTanjim/nui.nvim",
"zbirenbaum/copilot.lua",
{ "echasnovski/mini.pick", optional = true }, -- for file_selector provider mini.pick
{ "nvim-telescope/telescope.nvim", optional = true }, -- for file_selector provider telescope
{ "hrsh7th/nvim-cmp", optional = true }, -- autocompletion for avante commands and mentions
{ "ibhagwan/fzf-lua", optional = true }, -- for file_selector provider fzf
{ "stevearc/dressing.nvim", optional = true }, -- for input provider dressing
{ "folke/snacks.nvim", optional = true }, -- for input provider snacks
{ "nvim-tree/nvim-web-devicons", optional = true }, -- or echasnovski/mini.icons
{
-- support for image pasting
"HakonHarnes/img-clip.nvim",
event = "VeryLazy",
optional = true,
opts = {
-- recommended settings
default = {
embed_image_as_base64 = false,
prompt_for_file_name = false,
drag_and_drop = {
insert_mode = true,
},
-- required for Windows users
use_absolute_path = true,
},
},
},
{
-- Make sure to set this up properly if you have lazy=true
"MeanderingProgrammer/render-markdown.nvim",
optional = true,
opts = {
file_types = { "markdown", "Avante" },
},
ft = { "markdown", "Avante" },
},
{
"saghen/blink.cmp",
optional = true,
dependencies = {
"Kaiser-Yang/blink-cmp-avante",
},
opts = {
sources = {
default = { "avante" },
providers = { avante = { module = "blink-cmp-avante", name = "Avante" } },
},
},
},
},
},
}