From dbb27f77396079535399c3211683c51a5bbaa133 Mon Sep 17 00:00:00 2001 From: TorchedSammy Date: Sat, 23 Apr 2022 01:26:03 +0000 Subject: [PATCH] docs: [ci] generate new docs --- docs/hilbish.txt | 4 +--- emmyLuaDocs/hilbish.lua | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/docs/hilbish.txt b/docs/hilbish.txt index 7b8dfea..d9763a0 100644 --- a/docs/hilbish.txt +++ b/docs/hilbish.txt @@ -6,9 +6,7 @@ complete(scope, cb) > Registers a completion handler for `scope`. A `scope` is currently only expected to be `command.`, replacing with the name of the command (for example `command.git`). `cb` must be a function that returns a table of "completion groups." -A completion group is a table with the keys `items` and `type`. -`items` being a table of items and `type` being the display type, which is -`grid` (the normal file completion display) or `list` (with a description) +Check `doc completions` for more information. cwd() > Returns the current directory of the shell diff --git a/emmyLuaDocs/hilbish.lua b/emmyLuaDocs/hilbish.lua index b2848d1..ca34425 100644 --- a/emmyLuaDocs/hilbish.lua +++ b/emmyLuaDocs/hilbish.lua @@ -15,9 +15,7 @@ function hilbish.appendPath(dir) end --- A `scope` is currently only expected to be `command.`, --- replacing with the name of the command (for example `command.git`). --- `cb` must be a function that returns a table of "completion groups." ---- A completion group is a table with the keys `items` and `type`. ---- `items` being a table of items and `type` being the display type, which is ---- `grid` (the normal file completion display) or `list` (with a description) +--- Check `doc completions` for more information. --- @param scope string --- @param cb function function hilbish.complete(scope, cb) end