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

68 lines
1 KiB
Text

#
# aerc nord styleset
#
*.default=true
*.normal=true
title.reverse=true
header.bold=true
*error.bold=true
error.fg=red
warning.fg=yellow
success.fg=green
statusline*.default=true
statusline_default.reverse=true
statusline_error.reverse=true
completion_pill.reverse=true
completion_description.dim=true
border.fg = #49576b
selector_focused.reverse=true
selector_chooser.bold=true
# Colors: Nord
*.selected.bg=#394353
msglist_marked.bg=#81a1c1
msglist_flagged.fg=#a3be8c
msglist_flagged.bold=true
msglist_unread.fg=#8fbcbb
msglist_pill.reverse=true
statusline_default.fg=#49576b
statusline_error.fg=#94545d
tab.fg=#e4e9f0
tab.bg=#49576b
tab.selected.bg=#64A6B3
tab.selected.fg=#2c3441
dirlist_unread.fg=#64A6B3
dirlist_recent.fg=#64A6B3
part_*.fg=#ffffff
part_mimetype.fg=#394353
part_*.selected.fg=#ffffff
part_filename.selected.bold=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