docs: [ci] generate new docs

pull/128/head
TorchedSammy 2022-03-26 22:26:10 +00:00 committed by GitHub Actions
parent 3e50e608c1
commit e5d841a0a7
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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