mirror of
https://github.com/Hilbis/Hilbish
synced 2025-07-03 01:32:03 +00:00
changes the actual file format of docs to markup since that's basically what we have been using in the first place. the docgen command has been modified to write markdown headings with the function name and yaml metadata for easy consumption by hugo for the website. all other docs have been moved to markdown as well this is the main reason this is a "breaking" change users will have to reinstall hilbish (task uninstall and task install) to remove the old plaintext docs
737 B
737 B
title | description | layout | menu | ||||
---|---|---|---|---|---|---|---|
Interface hilbish.completions | tab completions | doc |
|
Introduction
The completions interface deals with tab completions.
Functions
call(name, query, ctx, fields)
Calls a completer function. This is mainly used to call
a command completer, which will have a name
in the form
of command.name
, example: command.git
handler(line, pos)
The handler function is the callback for tab completion in Hilbish. You can check the completions doc for more info.
bins(query, ctx, fields)
Returns binary/executale completion candidates based on the provided query.
files(query, ctx, fields)
Returns file completion candidates based on the provided query.