aboutsummaryrefslogtreecommitdiff
path: root/muttrc
diff options
context:
space:
mode:
Diffstat (limited to 'muttrc')
-rw-r--r--muttrc16
1 files changed, 16 insertions, 0 deletions
diff --git a/muttrc b/muttrc
index 62bd2cb..fa5d24e 100644
--- a/muttrc
+++ b/muttrc
@@ -50,8 +50,24 @@ bind editor ^T complete
# use xdg-mime to determine mime types
set mime_type_query_command = "xdg-mime query filetype"
+set mailcap_path = ~/.mutt/mailcap
+
############## COLOR #######################
+# Patch syntax highlighting
+# https://www.do-not-panic.com/2014/07/colored-diffs-with-mutt.html
+color normal white default
+color body brightwhite default ^[[:space:]].*
+color body brightwhite default ^(diff).*
+color body white default ^[\-\-\-].*
+color body white default ^[\+\+\+].*
+color body green default ^[\+].*
+color body red default ^[\-].*
+color body brightblue default [@@].*
+color body brightwhite default ^(\s).*
+color body brightwhite default ^(Signed-off-by).*
+color body brightwhite default ^(Cc)
+
source ~/.mutt/theme
############ STATUSBAR #####################