From: Chris Allegretta Date: Sun, 22 Nov 2009 16:36:53 +0000 (+0000) Subject: 2009-11-22 Mike Frysinger X-Git-Tag: v2.2.0~12 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=0bff84ef9ce2a198e536a7bb3465e326c4bf1b54;p=nano.git 2009-11-22 Mike Frysinger * doc/syntax/gentoo.nanorc: Tweak comment highlighting. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4438 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index 6df1cf97..f4991b32 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2009-11-22 Mike Frysinger + * doc/syntax/gentoo.nanorc: Tweak comment highlighting. + GNU nano 2.1.99pre2 - 2009.11.21 2009-11-21 Chris Allegretta * rcfile.c: Add unbinding keyword, fixes Savannah bug 22852 reported by frankd. diff --git a/doc/syntax/gentoo.nanorc b/doc/syntax/gentoo.nanorc index 319b81be..2ad15971 100644 --- 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 "\" "\<(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!