1
0
Fork 0
mirror of https://git.sr.ht/~rjarry/aerc synced 2025-02-22 23:23:57 +01:00
aerc/stylesets/solarized
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

62 lines
1.4 KiB
INI

# vim: ft=dosini
#
# aerc solarized styleset
#
*.default=true
*.normal=true
*error.bold=true
border.reverse=true
completion_pill.reverse=true
completion_description.dim=true
error.fg=#dc322f # red
header.bold=true
selector_chooser.bold=true
statusline*.default=true
success.fg=#859900 # green
warning.fg=#b58900 # yellow
*.selected.bg=#b58900
*.selected.fg=#3b4252
dirlist_recent.fg=#b58900
dirlist_unread.fg=#b58900
msglist_flagged.bold=true
msglist_flagged.fg=#a3be8c
msglist_marked.bg=#81a1c1
msglist_unread.fg=#b58900
msglist_unread.selected.bg=#b58900
msglist_unread.selected.fg=#002b36
msglist_pill.reverse=true
statusline_*.bg=#859900
statusline_*.fg=#002b36
statusline_error.bg=#d33682
statusline_error.fg=#002b36
tab.bg=#eee8d5
tab.fg=#586e75
tab.selected.bg=#b58900
tab.selected.fg=#002b36
part_mimetype.fg=#b58900
part_filename.selected.bold=true
[viewer]
*.default=true
*.normal=true
diff_add.fg=#859900 # green
diff_chunk.dim=true
diff_chunk.fg=#2aa198 # cyan
diff_del.fg=#dc322f # red
diff_meta.bold=true
diff_meta.fg=#839496 # bright blue
header.bold=true
header.fg=#d33682 # magenta
quote_*.dim=true
quote_*.fg=#93a1a1 # bright cyan
quote_1.dim=false
quote_1.fg=#268bd2 # blue
quote_2.fg=#cb4b16 # bright red
quote_3.fg=#d33682 # magenta
quote_4.fg=#6c71c4 # bright magenta
signature.dim=true
signature.fg=#d33682 # magenta
url.fg=#b58900 # yellow
url.underline=true