From 6cc1cdefd0ef6fef6a5f9227a7e8b18e32f014ee Mon Sep 17 00:00:00 2001 From: Paul-Henri Froidmont Date: Fri, 5 Dec 2025 19:39:14 +0100 Subject: [PATCH] Configure avante --- modules/editor/vim/lua/plugins/avante.lua | 14 ++++++++++++++ modules/editor/vim/vim.nix | 6 ++++++ 2 files changed, 20 insertions(+) create mode 100644 modules/editor/vim/lua/plugins/avante.lua diff --git a/modules/editor/vim/lua/plugins/avante.lua b/modules/editor/vim/lua/plugins/avante.lua new file mode 100644 index 0000000..e8f759a --- /dev/null +++ b/modules/editor/vim/lua/plugins/avante.lua @@ -0,0 +1,14 @@ +return { + "yetone/avante.nvim", + opts = { + provider = "opencode", + { + acp_providers = { + ["opencode"] = { + command = "opencode", + args = { "acp" } + } + } + }, + }, +} diff --git a/modules/editor/vim/vim.nix b/modules/editor/vim/vim.nix index 13f618d..5a7cc85 100644 --- a/modules/editor/vim/vim.nix +++ b/modules/editor/vim/vim.nix @@ -134,6 +134,9 @@ in vim-startuptime yazi-nvim zk-nvim + avante-nvim + blink-cmp-avante + img-clip-nvim ]; extraPackages = with pkgs; [ @@ -223,6 +226,7 @@ in { import = "lazyvim.plugins.extras.lang.elixir" }, { import = "lazyvim.plugins.extras.test.core" }, { import = "lazyvim.plugins.extras.lang.typescript" }, + { import = "lazyvim.plugins.extras.ai.avante" }, -- import/override with your plugins { import = "plugins" }, }, @@ -295,6 +299,8 @@ in angular-language-server vtsls zk + + opencode ]; }; };