nvim-config/lua/plugins/avante.lua

24 lines
579 B
Lua
Raw Normal View History

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