From 8a956123ca42c235d977d6ee1c1acfed5e9a97d2 Mon Sep 17 00:00:00 2001 From: yetone Date: Sun, 31 Aug 2025 07:49:12 +0800 Subject: [PATCH] fix: clean up configuration examples in README.md (#2656) --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 90b378c..203c56b 100644 --- a/README.md +++ b/README.md @@ -1169,18 +1169,18 @@ To use ACP-compatible agents with Avante.nvim, you need to configure an ACP prov #### Gemini CLI with ACP ```lua -require('avante').setup({ +{ provider = "gemini-cli", -- other configuration options... -}) +} ``` #### Claude Code with ACP ```lua -require('avante').setup({ +{ provider = "claude-code", -- other configuration options... -}) +} ``` ### ACP Configuration @@ -1188,7 +1188,7 @@ require('avante').setup({ ACP providers are configured in the `acp_providers` section of your configuration: ```lua -require('avante').setup({ +{ acp_providers = { ["gemini-cli"] = { command = "gemini", @@ -1207,7 +1207,8 @@ require('avante').setup({ }, }, }, -}) + -- other configuration options... +} ``` ### Prerequisites