diff --git a/docs/hilbish.txt b/docs/hilbish.txt index 1a0ab65..a56b4a6 100644 --- a/docs/hilbish.txt +++ b/docs/hilbish.txt @@ -14,6 +14,8 @@ exec(cmd) > Replaces running hilbish with `cmd` goro(fn) > Puts `fn` in a goroutine +inputMode(mode) > Sets the input mode for Hilbish's line reader. Accepts either emacs for vim + interval(cb, time) > Runs the `cb` function every `time` milliseconds multiprompt(str) > Changes the continued line prompt to `str` diff --git a/emmyLuaDocs/hilbish.lua b/emmyLuaDocs/hilbish.lua index 0b2a3ae..feb3f53 100644 --- a/emmyLuaDocs/hilbish.lua +++ b/emmyLuaDocs/hilbish.lua @@ -29,6 +29,9 @@ function hilbish.exec(cmd) end --- @param fn function function hilbish.goroutine(fn) end +--- Sets the input mode for Hilbish's line reader. Accepts either emacs for vim +function hilbish.inputMode() end + --- Runs the `cb` function every `time` milliseconds --- @param cb function --- @param time number