Skip to content

Commit

Permalink
chore(build): auto-generate vimdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
astronvimbot committed Jul 8, 2024
1 parent c2cd437 commit 25471cb
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
17 changes: 17 additions & 0 deletions doc/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1503,6 +1503,23 @@ function astroui.status.utils.encode_pos(line: integer, col: integer, winnr: int

*return* `the` — encoded position

### icon_provider


```lua
function astroui.status.utils.icon_provider(bufnr: integer)
-> icon: string?
2. color: string?
```

Resolve the icon and color information for a given buffer

*param* `bufnr` — the buffer number to resolve the icon and color of

*return* `icon` — the icon string

*return* `color` — the hex color of the icon

### null_ls_providers


Expand Down
17 changes: 17 additions & 0 deletions doc/astroui.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1797,6 +1797,23 @@ _param_ `winnr` — a window number
_return_ `the` — encoded position


ICON_PROVIDER ~

>lua
function astroui.status.utils.icon_provider(bufnr: integer)
-> icon: string?
2. color: string?
<

Resolve the icon and color information for a given buffer

_param_ `bufnr` — the buffer number to resolve the icon and color of

_return_ `icon` — the icon string

_return_ `color` — the hex color of the icon


NULL_LS_PROVIDERS ~

>lua
Expand Down

0 comments on commit 25471cb

Please sign in to comment.