From 57e1baf24c6fef14d44b88a241a2de4c4e220de3 Mon Sep 17 00:00:00 2001 From: AstroNvim Bot Date: Fri, 26 Jan 2024 13:57:25 +0000 Subject: [PATCH] chore(build): auto-generate vimdoc --- doc/api.md | 25 ++++++++++++------------- doc/astrocore.txt | 27 +++++++++++++-------------- 2 files changed, 25 insertions(+), 27 deletions(-) diff --git a/doc/api.md b/doc/api.md index 0dc0951..aaee62b 100644 --- a/doc/api.md +++ b/doc/api.md @@ -703,13 +703,6 @@ function astrocore.rooter.detect(bufnr?: integer, all?: boolean) *return* `detected` — roots -### disabled - - -```lua -boolean -``` - ### exists @@ -728,16 +721,11 @@ function astrocore.rooter.exists(path: string) ```lua -function astrocore.rooter.info(silent?: integer) - -> the: string +function astrocore.rooter.info() ``` Get information information about the current root -*param* `silent` — whether or not to notify with verbose details - -*return* `the` — currently detected root - ### is_excluded @@ -825,6 +813,17 @@ This module can be loaded with `local ui = require("astrocore.toggles")` copyright 2023 license GNU General Public License v3.0 +### autochdir + + +```lua +function astrocore.toggles.autochdir(silent?: boolean) +``` + + Toggle rooter autochdir + +*param* `silent` — if true then don't sent a notification + ### autopairs diff --git a/doc/astrocore.txt b/doc/astrocore.txt index 4e63b21..b93913f 100644 --- a/doc/astrocore.txt +++ b/doc/astrocore.txt @@ -1,4 +1,4 @@ -*astrocore.txt* For Neovim >= 0.9.0 Last change: 2024 January 25 +*astrocore.txt* For Neovim >= 0.9.0 Last change: 2024 January 26 ============================================================================== Table of Contents *astrocore-table-of-contents* @@ -924,13 +924,6 @@ _param_ `all` — whether to return all roots or just one _return_ `detected` — roots -DISABLED ~ - ->lua - boolean -< - - EXISTS ~ >lua @@ -948,16 +941,11 @@ _return_ `exists` — whether or not the path exists INFO ~ >lua - function astrocore.rooter.info(silent?: integer) - -> the: string + function astrocore.rooter.info() < Get information information about the current root -_param_ `silent` — whether or not to notify with verbose details - -_return_ `the` — currently detected root - IS_EXCLUDED ~ @@ -1046,6 +1034,17 @@ This module can be loaded with `local ui = require("astrocore.toggles")` copyright 2023 license GNU General Public License v3.0 +AUTOCHDIR ~ + +>lua + function astrocore.toggles.autochdir(silent?: boolean) +< + +Toggle rooter autochdir + +_param_ `silent` — if true then don’t sent a notification + + AUTOPAIRS ~ >lua