mirror of git://git.sv.gnu.org/nano.git
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.
This commit is contained in:
parent
a4044a7e5d
commit
fd3423f79a
|
@ -14,10 +14,13 @@ color brightblue "^ .*"
|
|||
# Deleted lines.
|
||||
color brightred "^-.*"
|
||||
|
||||
# Header lines.
|
||||
color magenta "^(Index:|diff)[[:blank:]].*"
|
||||
# File names and dates.
|
||||
color red "^---.*"
|
||||
color green "^\+\+\+.*"
|
||||
# Line numbers.
|
||||
color brightyellow "^@@.*"
|
||||
# Header lines.
|
||||
color magenta "^diff.*"
|
||||
|
||||
# Statistics.
|
||||
color cyan start="^---$" end="^$"
|
||||
|
|
Loading…
Reference in New Issue