feat: added avante

This commit is contained in:
root
2025-07-14 18:57:13 +00:00
parent 79a2f35cec
commit 049160ceac
3 changed files with 21 additions and 2 deletions
+1 -2
View File
@@ -1,5 +1,3 @@
if true then return {} end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE
-- AstroCommunity: import any community modules here
-- We import this file in `lazy_setup.lua` before the `plugins/` folder.
-- This guarantees that the specs are processed before any user plugins.
@@ -8,5 +6,6 @@ if true then return {} end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE
return {
"AstroNvim/astrocommunity",
{ import = "astrocommunity.pack.lua" },
{ import = "astrocommunity.completion.avante-nvim" },
-- import/override with your plugins folder
}
+17
View File
@@ -0,0 +1,17 @@
return {
{ -- further customize the options set by the community
"yetone/avante.nvim",
opts = {
provider = "deepseek",
providers = {
deepseek = {
__inherited_from = "openai",
api_key_name = "DEEPSEEK_API_KEY",
endpoint = "https://api.deepseek.com",
model = "deepseek-coder",
max_tokens = 8192,
},
},
},
},
}