nvim-config/lua/plugins/avante.lua
Salar Rahmanian 2a385cac58 avante update
2024-10-20 20:33:58 -07:00

23 lines
579 B
Lua

return {
"yetone/avante.nvim",
event = "VeryLazy",
lazy = false,
version = false,
opts = {
provider = "openai",
openai = {
api_key_name = "cmd:cat " .. vim.fn.expand("~/.openai"),
},
},
-- if you want to build from source then do `make BUILD_FROM_SOURCE=true`
build = "make",
dependencies = {
"HakonHarnes/img-clip.nvim",
"MeanderingProgrammer/render-markdown.nvim",
"MunifTanjim/nui.nvim",
"nvim-lua/plenary.nvim",
"nvim-tree/nvim-web-devicons",
"nvim-treesitter/nvim-treesitter",
"stevearc/dressing.nvim",
},
}