From aeea8df3bba2cfc36211155a6f9bc47228d3f806 Mon Sep 17 00:00:00 2001 From: AstroNvim Bot Date: Thu, 14 Nov 2024 17:59:52 +0000 Subject: [PATCH] chore(build): auto-generate vimdoc --- doc/api.md | 6 +++--- doc/astroui.txt | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/api.md b/doc/api.md index aab824f..c1822a2 100644 --- a/doc/api.md +++ b/doc/api.md @@ -379,7 +379,7 @@ function astroui.status.condition.aerial_available() ```lua -function astroui.status.condition.buffer_matches(patterns: table, bufnr?: integer, op?: "and"|"or") +function astroui.status.condition.buffer_matches(patterns: table<"bufname"|"buftype"|"filetype", string|string[]>, bufnr?: integer, op?: "and"|"or") -> boolean ``` @@ -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 ``` @@ -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 ``` diff --git a/doc/astroui.txt b/doc/astroui.txt index 4b37805..398d83b 100644 --- a/doc/astroui.txt +++ b/doc/astroui.txt @@ -595,7 +595,7 @@ M.aerial_available() return is_available "aerial.nvim" end BUFFER_MATCHES ~ >lua - function astroui.status.condition.buffer_matches(patterns: table, bufnr?: integer, op?: "and"|"or") + function astroui.status.condition.buffer_matches(patterns: table<"bufname"|"buftype"|"filetype", string|string[]>, bufnr?: integer, op?: "and"|"or") -> boolean < @@ -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 < @@ -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 <