nano

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

commit cd5d7faa4e453bbd48b87add49e37b3c5c590cdb
parent 3ca6c9241fa5158e151e4a36c06396fd555e7067
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Mon, 20 Feb 2017 13:07:50 -0500

syntax: gentoo: flag mixed whitespace

Diffstat:
Msyntax/gentoo.nanorc | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/syntax/gentoo.nanorc b/syntax/gentoo.nanorc @@ -43,6 +43,8 @@ color yellow "(^|[[:space:]])#.*$" color brightyellow ""(\\.|[^\"])*"" "'(\\.|[^'])*'" ## Trailing space is bad! color ,green "[[:space:]]+$" +## Mixed whitespace is also bad. +color ,green " " ## Here is an example for Portage control files. ## @@ -66,3 +68,5 @@ color brightmagenta "^[[:space:]]*(=|~|<|<=|>|>=)" color yellow "#.*$" ## Trailing space is bad! color ,green "[[:space:]]+$" +## Mixed whitespace is also bad. +color ,green " "