From 1f682fc610de1beb57c68b92fe98bf057483773c Mon Sep 17 00:00:00 2001 From: Tim Culverhouse Date: Wed, 26 Oct 2022 11:05:23 -0500 Subject: msglist: style search results Add option to style search results in the message list. Set default style for results. Signed-off-by: Tim Culverhouse Acked-by: Robin Jarry --- config/default_styleset | 1 + config/style.go | 2 ++ 2 files changed, 3 insertions(+) (limited to 'config') diff --git a/config/default_styleset b/config/default_styleset index da57e936..078920bf 100644 --- a/config/default_styleset +++ b/config/default_styleset @@ -26,6 +26,7 @@ statusline_warning.reverse=true msglist_unread.bold=true msglist_deleted.fg=gray +msglist_result.fg=green completion_pill.reverse=true diff --git a/config/style.go b/config/style.go index 3a0f7a4f..d8da4c7f 100644 --- a/config/style.go +++ b/config/style.go @@ -36,6 +36,7 @@ const ( STYLE_MSGLIST_FLAGGED STYLE_MSGLIST_DELETED STYLE_MSGLIST_MARKED + STYLE_MSGLIST_RESULT STYLE_DIRLIST_DEFAULT STYLE_DIRLIST_UNREAD @@ -75,6 +76,7 @@ var StyleNames = map[string]StyleObject{ "msglist_flagged": STYLE_MSGLIST_FLAGGED, "msglist_deleted": STYLE_MSGLIST_DELETED, "msglist_marked": STYLE_MSGLIST_MARKED, + "msglist_result": STYLE_MSGLIST_RESULT, "dirlist_default": STYLE_DIRLIST_DEFAULT, "dirlist_unread": STYLE_DIRLIST_UNREAD, -- cgit