fix(cli): display command list groups in insert order
On 'doom help' or 'doom help --commands'
This commit is contained in:
parent
cfb533043f
commit
fe850934f1
1 changed files with 1 additions and 1 deletions
|
@ -306,7 +306,7 @@ OPTIONS:
|
|||
(let* ((doom-print-indent 0)
|
||||
(commands (seq-group-by (fn!! (if grouped? (doom-cli-prop (doom-cli-get % t) :group))) commands))
|
||||
(toplevel (assq nil commands))
|
||||
(rest (nreverse (remove toplevel commands)))
|
||||
(rest (remove toplevel commands))
|
||||
(drop (if prefix (length prefix) 0))
|
||||
(minwidth
|
||||
(apply
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue