From 89681ba1f2b9316de4d3305c37ef59f9c5f34793 Mon Sep 17 00:00:00 2001 From: Martin Lucina Date: Mon, 9 Jan 2023 17:28:19 +0100 Subject: style: add msglist_answered config option Add a style for messages that have been marked as answered, and a "msglist_answered" config option for it. Signed-off-by: Martin Lucina Acked-by: Robin Jarry --- config/style.go | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'config') diff --git a/config/style.go b/config/style.go index 30351a24..3e4a9597 100644 --- a/config/style.go +++ b/config/style.go @@ -37,6 +37,7 @@ const ( STYLE_MSGLIST_DELETED STYLE_MSGLIST_MARKED STYLE_MSGLIST_RESULT + STYLE_MSGLIST_ANSWERED STYLE_DIRLIST_DEFAULT STYLE_DIRLIST_UNREAD @@ -70,13 +71,14 @@ var StyleNames = map[string]StyleObject{ "statusline_warning": STYLE_STATUSLINE_WARNING, "statusline_success": STYLE_STATUSLINE_SUCCESS, - "msglist_default": STYLE_MSGLIST_DEFAULT, - "msglist_unread": STYLE_MSGLIST_UNREAD, - "msglist_read": STYLE_MSGLIST_READ, - "msglist_flagged": STYLE_MSGLIST_FLAGGED, - "msglist_deleted": STYLE_MSGLIST_DELETED, - "msglist_marked": STYLE_MSGLIST_MARKED, - "msglist_result": STYLE_MSGLIST_RESULT, + "msglist_default": STYLE_MSGLIST_DEFAULT, + "msglist_unread": STYLE_MSGLIST_UNREAD, + "msglist_read": STYLE_MSGLIST_READ, + "msglist_flagged": STYLE_MSGLIST_FLAGGED, + "msglist_deleted": STYLE_MSGLIST_DELETED, + "msglist_marked": STYLE_MSGLIST_MARKED, + "msglist_result": STYLE_MSGLIST_RESULT, + "msglist_answered": STYLE_MSGLIST_ANSWERED, "dirlist_default": STYLE_DIRLIST_DEFAULT, "dirlist_unread": STYLE_DIRLIST_UNREAD, -- cgit