From f28fd7e6c057f195c3fd04afa7abdde60d42338f Mon Sep 17 00:00:00 2001 From: TorchedSammy <38820196+TorchedSammy@users.noreply.github.com> Date: Sat, 5 Mar 2022 21:39:52 -0400 Subject: [PATCH] docs: fix indent size and type --- CHANGELOG.md | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b0608d7..c4585c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -58,27 +58,27 @@ is true - `hilbish.complete()` has had a slight refactor to fit with the new readline library. It now expects a table of "completion groups" which are just tables with the `type` and `items` keys. Here is a (more or less) complete example of how it works now: - ```lua - hilbish.complete('command.git', function() - return { - { - items = { - 'add', - 'clone' - }, - type = 'grid' - }, - { - items = { - ['--git-dir'] = {'Description of flag'}, - '-c' - }, - type = 'list' - } - } - end) - ``` - Completer functions are now also expected to handle subcommands/subcompletions + ```lua + hilbish.complete('command.git', function() + return { + { + items = { + 'add', + 'clone' + }, + type = 'grid' + }, + { + items = { + ['--git-dir'] = {'Description of flag'}, + '-c' + }, + type = 'list' + } + } + end) + ``` + Completer functions are now also expected to handle subcommands/subcompletions ## [0.7.1] - 2021-11-22 ### Fixed