1
0
Fork 0
mirror of https://git.sr.ht/~rjarry/aerc synced 2025-02-22 14:53:57 +01:00
aerc/stylesets/monochrome
Robin Jarry 3c9ad93801 completion: display descriptions next to choices
Use go-opt v2 new completion API which returns items descriptions along
with their text values.

Display the descriptions after the items separated by two spaces. Wrap
the descriptions in parentheses to better indicate that they are not
part of the completion choices. Limit the description length to 80
characters to avoid display issues.

Add a new style object completion_description in stylesets. By default,
the object will be rendered with a dimmed terminal attribute. Update all
stylesets and documentation accordingly.

Implements: https://todo.sr.ht/~rjarry/aerc/271
Link: https://git.sr.ht/~rjarry/go-opt/commit/ebeb82538395a
Changelog-added: Command completion now displays descriptions next
 to completion items.
Changelog-added: New `completion_description` style object in style
 sets used for rendering completion item descriptions.
Signed-off-by: Robin Jarry <robin@jarry.cc>
Tested-by: Bojan Gabric <bojan@bojangabric.com>
Tested-by: Jason Cox <me@jasoncarloscox.com>
Acked-by: Tim Culverhouse <tim@timculverhouse.com>
2024-10-23 10:22:51 +02:00

47 lines
845 B
INI

# vim: ft=dosini
#
# aerc monochrome styleset
#
*.default = true
*.normal = true
*.selected.reverse = toggle
*_pill.reverse = true
title.reverse = true
title.bold = true
header.bold = true
tab.selected.bold = true
dirlist*.selected.bold = true
statusline_default.reverse = true
*error.bold = true
*error.fg = 1
*warning.fg = 3
msglist_unread.bold = true
msglist_deleted.dim = true
msglist_result.underline = true
part_mimetype.dim = true
part_mimetype.selected.dim = false
part_filename.selected.bold = true
selector_focused.reverse = true
selector_chooser.bold = true
completion_description.dim = true
[viewer]
*.default = true
*.normal = true
url.underline = true
header.bold = true
signature.dim = true
diff_meta.bold = true
diff_chunk*.dim = true
diff_add.fg = 2
diff_del.fg = 1
quote_*.fg = 6
quote_*.dim = true
quote_1.dim = false