aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorMartin Lucina <martin@lucina.net>2023-01-09 17:28:19 +0100
committerRobin Jarry <robin@jarry.cc>2023-01-10 21:37:40 +0100
commit89681ba1f2b9316de4d3305c37ef59f9c5f34793 (patch)
tree3a67c76ac9a36d5b77b8f8c0a553f7dd300fefe8 /config
parent6de51bad583b9ca194953d9d24e1a683c737a4b4 (diff)
downloadaerc-89681ba1f2b9316de4d3305c37ef59f9c5f34793.tar.gz
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 <martin@lucina.net> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'config')
-rw-r--r--config/style.go16
1 files changed, 9 insertions, 7 deletions
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,