mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix(cli): display command list groups in insert order
On 'doom help' or 'doom help --commands'
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user