fix: clean up configuration examples in README.md (#2656)
This commit is contained in:
13
README.md
13
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
|
#### 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
|
||||||
|
|||||||
Reference in New Issue
Block a user