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.
Этот коммит содержится в:
родитель
a4044a7e5d
Коммит
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="^$"
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user