📝 docs(README): update customized file_selector example (#1242)

* 📝 docs(README): update customized file_selector example

* fix types
This commit is contained in:
guanghechen
2025-02-11 15:57:15 +08:00
committed by GitHub
parent 3305bdb769
commit 31c1701660
2 changed files with 34 additions and 2 deletions

View File

@@ -332,7 +332,7 @@ M._defaults = {
},
--- @class AvanteFileSelectorConfig
file_selector = {
--- @alias FileSelectorProvider "native" | "fzf" | "mini.pick" | "snacks" | "telescope" | string | fun(params: avante.file_selector.IParams): nil
--- @alias FileSelectorProvider "native" | "fzf" | "mini.pick" | "snacks" | "telescope" | string | fun(params: avante.file_selector.IParams|nil): nil
provider = "native",
-- Options override for custom providers
provider_opts = {},