nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit fd3423f79a47a39d58239b8ad5dff3fb16c09620
parent a4044a7e5d8686a7aea8af70e62406aa3ec483b7
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Sat, 10 Dec 2016 17:46:10 +0100

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.

Diffstat:
Mdoc/syntax/patch.nanorc | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/doc/syntax/patch.nanorc b/doc/syntax/patch.nanorc @@ -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="^$"