From e5d841a0a72c31466dad6683e4d14b4782665c23 Mon Sep 17 00:00:00 2001 From: TorchedSammy Date: Sat, 26 Mar 2022 22:26:10 +0000 Subject: [PATCH] docs: [ci] generate new docs --- docs/hilbish.txt | 1 + emmyLuaDocs/hilbish.lua | 3 +++ 2 files changed, 4 insertions(+) diff --git a/docs/hilbish.txt b/docs/hilbish.txt index d405df9..2b0f3af 100644 --- a/docs/hilbish.txt +++ b/docs/hilbish.txt @@ -16,6 +16,7 @@ exec(cmd) > Replaces running hilbish with `cmd` goro(fn) > Puts `fn` in a goroutine + > hinter(cb) > Sets the hinter function. This will be called on every key insert to determine what text to use as an inline hint. The callback is passed 2 arguments: the current line and the position. It is expected to return a string diff --git a/emmyLuaDocs/hilbish.lua b/emmyLuaDocs/hilbish.lua index 014c868..4ed3c64 100644 --- a/emmyLuaDocs/hilbish.lua +++ b/emmyLuaDocs/hilbish.lua @@ -33,6 +33,9 @@ function hilbish.exec(cmd) end --- @param fn function function hilbish.goro(fn) end +--- +function hilbish.highlighter() end + --- Sets the hinter function. This will be called on every key insert to determine --- what text to use as an inline hint. The callback is passed 2 arguments: --- the current line and the position. It is expected to return a string