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 Nov 14, 2024
1 parent a6e18b9 commit aeea8df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions doc/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ function astroui.status.condition.aerial_available()


```lua
function astroui.status.condition.buffer_matches(patterns: table<BufMatcherKinds, BufMatcherPatterns>, bufnr?: integer, op?: "and"|"or")
function astroui.status.condition.buffer_matches(patterns: table<"bufname"|"buftype"|"filetype", string|string[]>, bufnr?: integer, op?: "and"|"or")
-> boolean
```

Expand Down Expand Up @@ -839,7 +839,7 @@ function astroui.status.init.separated_path(opts?: table)


```lua
function astroui.status.init.update_events(opts: AstroUIUpdateEvents)
function astroui.status.init.update_events(opts: AstroUIUpdateEvent|AstroUIUpdateEvent[])
-> function
```

Expand Down Expand Up @@ -1556,7 +1556,7 @@ function astroui.status.utils.stylize(str?: string, opts?: table)


```lua
function astroui.status.utils.surround(separator: string|string[], color: string|function|table, component: table, condition: boolean|function, update?: AstroUIUpdateEvents)
function astroui.status.utils.surround(separator: string|string[], color: string|function|table, component: table, condition: boolean|function, update?: AstroUIUpdateEvent|AstroUIUpdateEvent[])
-> table
```

Expand Down
6 changes: 3 additions & 3 deletions doc/astroui.txt
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ M.aerial_available() return is_available "aerial.nvim" end
BUFFER_MATCHES ~

>lua
function astroui.status.condition.buffer_matches(patterns: table<BufMatcherKinds, BufMatcherPatterns>, bufnr?: integer, op?: "and"|"or")
function astroui.status.condition.buffer_matches(patterns: table<"bufname"|"buftype"|"filetype", string|string[]>, bufnr?: integer, op?: "and"|"or")
-> boolean
<

Expand Down Expand Up @@ -1099,7 +1099,7 @@ require("astroui.status").init.separated_path { padding = { left = 1 } } }
UPDATE_EVENTS ~

>lua
function astroui.status.init.update_events(opts: AstroUIUpdateEvents)
function astroui.status.init.update_events(opts: AstroUIUpdateEvent|AstroUIUpdateEvent[])
-> function
<

Expand Down Expand Up @@ -1886,7 +1886,7 @@ padding = { left = 1, right = 1 }, icon = { kind = "String" } })
SURROUND ~

>lua
function astroui.status.utils.surround(separator: string|string[], color: string|function|table, component: table, condition: boolean|function, update?: AstroUIUpdateEvents)
function astroui.status.utils.surround(separator: string|string[], color: string|function|table, component: table, condition: boolean|function, update?: AstroUIUpdateEvent|AstroUIUpdateEvent[])
-> table
<

Expand Down

0 comments on commit aeea8df

Please sign in to comment.