syntax: give the statistics part of a git patch a different color
Also, be more selective when coloring a git diff line. And color an svn index line too.master
parent
a4044a7e5d
commit
fd3423f79a
doc/syntax
|
@ -14,10 +14,13 @@ color brightblue "^ .*"
|
||||||
# Deleted lines.
|
# Deleted lines.
|
||||||
color brightred "^-.*"
|
color brightred "^-.*"
|
||||||
|
|
||||||
|
# Header lines.
|
||||||
|
color magenta "^(Index:|diff)[[:blank:]].*"
|
||||||
# File names and dates.
|
# File names and dates.
|
||||||
color red "^---.*"
|
color red "^---.*"
|
||||||
color green "^\+\+\+.*"
|
color green "^\+\+\+.*"
|
||||||
# Line numbers.
|
# Line numbers.
|
||||||
color brightyellow "^@@.*"
|
color brightyellow "^@@.*"
|
||||||
# Header lines.
|
|
||||||
color magenta "^diff.*"
|
# Statistics.
|
||||||
|
color cyan start="^---$" end="^$"
|
||||||
|
|
Loading…
Reference in New Issue