From afe35839eddfaf43be0f791e97a926a15d91fc02 Mon Sep 17 00:00:00 2001 From: Tim Culverhouse Date: Sun, 24 Apr 2022 09:50:08 -0500 Subject: style: add style config options for dirlist_unread and dirlist_recent Adds two style options: dirlist_unread and dirlist_recent. These options apply in layers, in the same way as msglist_* styles do. Signed-off-by: Tim Culverhouse Acked-by: Robin Jarry --- config/style.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config/style.go') diff --git a/config/style.go b/config/style.go index fc6f7db7..71d39dcd 100644 --- a/config/style.go +++ b/config/style.go @@ -37,6 +37,8 @@ const ( STYLE_MSGLIST_MARKED STYLE_DIRLIST_DEFAULT + STYLE_DIRLIST_UNREAD + STYLE_DIRLIST_RECENT STYLE_COMPLETION_DEFAULT STYLE_COMPLETION_GUTTER @@ -73,6 +75,8 @@ var StyleNames = map[string]StyleObject{ "msglist_marked": STYLE_MSGLIST_MARKED, "dirlist_default": STYLE_DIRLIST_DEFAULT, + "dirlist_unread": STYLE_DIRLIST_UNREAD, + "dirlist_recent": STYLE_DIRLIST_RECENT, "completion_default": STYLE_COMPLETION_DEFAULT, "completion_gutter": STYLE_COMPLETION_GUTTER, -- cgit