From 0c4faad207bf83ed800b341e7f8b5b487eaa775e Mon Sep 17 00:00:00 2001 From: Jessica Frazelle Date: Thu, 4 Dec 2014 23:30:36 -0800 Subject: [PATCH] patch highlighting --- mutt/.muttrc | 1 + mutt/mutt-patch-highlighting.muttrc | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 mutt/mutt-patch-highlighting.muttrc diff --git a/mutt/.muttrc b/mutt/.muttrc index c275912..8660e64 100644 --- a/mutt/.muttrc +++ b/mutt/.muttrc @@ -64,3 +64,4 @@ macro index,pager gd "=[Gmail]/Drafts" "Go to drafts" # colors source /home/user/mutt-colors-solarized-dark-16.muttrc +source /home/user/mutt-patch-highlighting.muttrc diff --git a/mutt/mutt-patch-highlighting.muttrc b/mutt/mutt-patch-highlighting.muttrc new file mode 100644 index 0000000..61e8854 --- /dev/null +++ b/mutt/mutt-patch-highlighting.muttrc @@ -0,0 +1,12 @@ +# Patch syntax highlighting +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)