patch highlighting

This commit is contained in:
Jessica Frazelle 2014-12-04 23:30:36 -08:00
parent 0cf946573a
commit 0c4faad207
2 changed files with 13 additions and 0 deletions

View File

@ -64,3 +64,4 @@ macro index,pager gd "<change-folder>=[Gmail]/Drafts<enter>" "Go to drafts"
# colors # colors
source /home/user/mutt-colors-solarized-dark-16.muttrc source /home/user/mutt-colors-solarized-dark-16.muttrc
source /home/user/mutt-patch-highlighting.muttrc

View File

@ -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)