nano

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

commit 0bff84ef9ce2a198e536a7bb3465e326c4bf1b54
parent 6277f59d248b0d682a5605bb7917984782817747
Author: Chris Allegretta <chrisa@asty.org>
Date:   Sun, 22 Nov 2009 16:36:53 +0000

2009-11-22 Mike Frysinger <vapier@gentoo.org>
        * doc/syntax/gentoo.nanorc: Tweak comment highlighting.



git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4438 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
MChangeLog | 3+++
Mdoc/syntax/gentoo.nanorc | 2+-
2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,6 @@ +2009-11-22 Mike Frysinger <vapier@gentoo.org> + * doc/syntax/gentoo.nanorc: Tweak comment highlighting. + GNU nano 2.1.99pre2 - 2009.11.21 2009-11-21 Chris Allegretta <chrisa@asty.org> * rcfile.c: Add unbinding keyword, fixes Savannah bug 22852 reported by frankd. diff --git a/doc/syntax/gentoo.nanorc b/doc/syntax/gentoo.nanorc @@ -27,7 +27,7 @@ color brightblue "\<(doc|ins|exe)?into\>" "\<(f|games)(owners|perms)\>" "\<(exe| ## Highlight common commands used in ebuilds color blue "\<make\>" "\<(awk|cat|cd|chmod|chown|cp|echo|env|export|find|e?grep|ln|mkdir|mv|rm|sed|set|tar|touch|unset|xargs)\>" ## Highlight comments (doesnt work that well) -color yellow "#.*$" +color yellow "(^|[[:space:]])#.*$" ## Highlight strings (doesnt work that well) color brightyellow ""(\\.|[^\"])*"" "'(\\.|[^'])*'" ## Trailing space is bad!