(feat): add avante plugin on neovim
This commit is contained in:
parent
e08ef74fa4
commit
ae9a96d0f7
3 changed files with 36 additions and 0 deletions
30
.config/nvim/lua/bumpsoo/plugins/avante.lua
Normal file
30
.config/nvim/lua/bumpsoo/plugins/avante.lua
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
return {
|
||||
"yetone/avante.nvim",
|
||||
event = "VeryLazy",
|
||||
version = false,
|
||||
opts = {
|
||||
provider = "groq",
|
||||
vendors = {
|
||||
groq = {
|
||||
__inherited_from = "openai",
|
||||
api_key_name = "GROQ_API_KEY",
|
||||
endpoint = "https://api.groq.com/openai/v1/",
|
||||
model = "meta-llama/llama-4-maverick-17b-128e-instruct",
|
||||
max_tokens = 8192,
|
||||
},
|
||||
}
|
||||
},
|
||||
dependencies = {
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
"stevearc/dressing.nvim",
|
||||
"nvim-lua/plenary.nvim",
|
||||
"MunifTanjim/nui.nvim",
|
||||
{
|
||||
'MeanderingProgrammer/render-markdown.nvim',
|
||||
opts = {
|
||||
file_types = { "markdown", "Avante" },
|
||||
},
|
||||
ft = { "markdown", "Avante" },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
@ -20,6 +20,7 @@ return {
|
|||
"yaml",
|
||||
'python',
|
||||
"terraform",
|
||||
"markdown",
|
||||
},
|
||||
})
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue