From 80b70edcaafdb64a14711883aa3404976ff1686a Mon Sep 17 00:00:00 2001 From: root Date: Mon, 14 Jul 2025 20:48:58 +0000 Subject: [PATCH] fix: avante parameters --- lazy-lock.json | 4 ++-- lua/community.lua | 2 +- lua/plugins/avante-nvim.lua | 4 ++++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index 6e50f2d..32df145 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -11,7 +11,7 @@ "avante.nvim": { "branch": "main", "commit": "0c6a8f5688cefb37259d3404f0403075e033a182" }, "better-escape.nvim": { "branch": "master", "commit": "199dcc2643dec5d8dbdab4ec672cf405224dcb3b" }, "blink-cmp-avante": { "branch": "master", "commit": "5cf0854b065073083de72d9a988cff1c4b419148" }, - "blink.cmp": { "branch": "main", "commit": "9bcb14b43852a6f2bfd5ac9ef29cb5cf09b1b39b" }, + "blink.cmp": { "branch": "main", "commit": "3536ce464e82843b00c76718d9bfe1994647d686" }, "blink.compat": { "branch": "main", "commit": "2ed6d9a28b07fa6f3bface818470605f8896408c" }, "cmp-dap": { "branch": "master", "commit": "ea92773e84c0ad3288c3bc5e452ac91559669087" }, "friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" }, @@ -26,7 +26,7 @@ "mason-tool-installer.nvim": { "branch": "main", "commit": "517ef5994ef9d6b738322664d5fdd948f0fdeb46" }, "mason.nvim": { "branch": "main", "commit": "7f265cd6ae56cecdd0aa50c8c73fc593b0604801" }, "mini.icons": { "branch": "main", "commit": "397ed3807e96b59709ef3292f0a3e253d5c1dc0a" }, - "neo-tree.nvim": { "branch": "main", "commit": "f481de16a0eb59c985abac8985e3f2e2f75b4875" }, + "neo-tree.nvim": { "branch": "main", "commit": "cea666ef965884414b1b71f6b39a537f9238bdb2" }, "neoconf.nvim": { "branch": "main", "commit": "907a1fe4e346aab2989af6848d7d697098506c5e" }, "none-ls.nvim": { "branch": "main", "commit": "db2a48b79cfcdab8baa5d3f37f21c78b6705c62e" }, "nui.nvim": { "branch": "main", "commit": "f535005e6ad1016383f24e39559833759453564e" }, diff --git a/lua/community.lua b/lua/community.lua index a53ca6c..cce9c7f 100644 --- a/lua/community.lua +++ b/lua/community.lua @@ -6,6 +6,6 @@ return { "AstroNvim/astrocommunity", { import = "astrocommunity.pack.lua" }, - { import = "astrocommunity.completion.avante-nvim" }, + -- { import = "astrocommunity.completion.avante-nvim" }, -- import/override with your plugins folder } diff --git a/lua/plugins/avante-nvim.lua b/lua/plugins/avante-nvim.lua index 4af7dde..6473722 100644 --- a/lua/plugins/avante-nvim.lua +++ b/lua/plugins/avante-nvim.lua @@ -1,8 +1,11 @@ +if true then return {} end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE + return { { -- further customize the options set by the community "yetone/avante.nvim", opts = { provider = "deepseek", + auto_suggestions_provider = "deepseek", providers = { deepseek = { __inherited_from = "openai", @@ -10,6 +13,7 @@ return { endpoint = "https://api.deepseek.com", model = "deepseek-coder", max_tokens = 8192, + disable_tools = true, }, }, },