fix(docs): missing comma in custom autocmd example (#915)

This commit is contained in:
LEE,SEUNGMIN 2024-11-29 19:21:31 +09:00 committed by GitHub
parent 91f37e5fda
commit 66dc948647
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -423,7 +423,7 @@ Users can customize the system prompts via `Config.system_prompt`. We recommend
```lua
vim.api.nvim_create_autocmd("User", {
pattern = "ToggleMyPrompt"
pattern = "ToggleMyPrompt",
callback = function() require("avante.config").override({system_prompt = "MY CUSTOM SYSTEM PROMPT"}) end,
})