aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorTim Culverhouse <tim@timculverhouse.com>2022-10-26 11:05:23 -0500
committerRobin Jarry <robin@jarry.cc>2022-11-06 23:18:06 +0100
commit1f682fc610de1beb57c68b92fe98bf057483773c (patch)
treec5371883c50ffe2e9b8b7c505a288e54f4e03bdf /config
parent59510c41c839004f037a20464f368c445a7a91d1 (diff)
downloadaerc-1f682fc610de1beb57c68b92fe98bf057483773c.tar.gz
msglist: style search results
Add option to style search results in the message list. Set default style for results. Signed-off-by: Tim Culverhouse <tim@timculverhouse.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'config')
-rw-r--r--config/default_styleset1
-rw-r--r--config/style.go2
2 files changed, 3 insertions, 0 deletions
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,