fix: clean up configuration examples in README.md (#2656)

This commit is contained in:
yetone
2025-08-31 07:49:12 +08:00
committed by GitHub
parent 5e0aa7e5c0
commit 8a956123ca

View File

@@ -1169,18 +1169,18 @@ To use ACP-compatible agents with Avante.nvim, you need to configure an ACP prov
#### Gemini CLI with ACP #### Gemini CLI with ACP
```lua ```lua
require('avante').setup({ {
provider = "gemini-cli", provider = "gemini-cli",
-- other configuration options... -- other configuration options...
}) }
``` ```
#### Claude Code with ACP #### Claude Code with ACP
```lua ```lua
require('avante').setup({ {
provider = "claude-code", provider = "claude-code",
-- other configuration options... -- other configuration options...
}) }
``` ```
### ACP Configuration ### ACP Configuration
@@ -1188,7 +1188,7 @@ require('avante').setup({
ACP providers are configured in the `acp_providers` section of your configuration: ACP providers are configured in the `acp_providers` section of your configuration:
```lua ```lua
require('avante').setup({ {
acp_providers = { acp_providers = {
["gemini-cli"] = { ["gemini-cli"] = {
command = "gemini", command = "gemini",
@@ -1207,7 +1207,8 @@ require('avante').setup({
}, },
}, },
}, },
}) -- other configuration options...
}
``` ```
### Prerequisites ### Prerequisites