chore(build): auto-generate docs

This commit is contained in:
folke 2025-02-25 14:27:09 +00:00 committed by github-actions[bot]
parent e2cb9df7d0
commit bd0f46be9a
2 changed files with 29 additions and 19 deletions

View file

@ -65,6 +65,16 @@ Encodes a string to be used as a file name.
Snacks.util.file_encode(str)
```
### `Snacks.util.get_lang()`
```lua
---@param lang string|number|nil
---@overload fun(buf:number):string?
---@overload fun(ft:string):string?
---@return string?
Snacks.util.get_lang(lang)
```
### `Snacks.util.icon()`
Get an icon from `mini.icons` or `nvim-web-devicons`.