Auto generate docs

This commit is contained in:
L3MON4D3 2023-03-08 17:14:19 +00:00 committed by github-actions[bot]
parent 2405e700ff
commit 4f7657157d

View file

@ -2264,9 +2264,12 @@ can be quickly edited via
When called, it will open a `vim.ui.select`-dialog to select first a filetype,
and then (if there are multiple) the associated file to edit.
`opts` contains three settings:
`opts` contains four settings:
- `ft_filter`: `fn(filetype:string) -> bool` Optionally filter initially listed
filetypes. `true` -> filetype will be listed, `false` -> not listed. Accepts
all filetypes by default.
- `format`: `fn(file:string, source_name:string) -> string|nil` `file` is simply
the path to the file, `source_name` is one of `"lua"`, `"snipmate"` or
`"vscode"`. If a string is returned, it is used as the title of the item, `nil`