nano

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

commit 7f77e1dcdde42f691e6bd2429408c79415b81b2a
parent a8824a197ea7352dca3e178ec91c71fac9167c96
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Sun, 26 Jun 2005 19:49:53 +0000

apparently a "[[:space:]]" doesn't work properly inside a "[^ ... ]";
replace it with a literal space and a literal tab, so that include files
are properly colored again


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

Diffstat:
Mdoc/nanorc.sample | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/nanorc.sample b/doc/nanorc.sample @@ -169,7 +169,7 @@ ## because syntax highlighting rules will be applied in the order they ## are read in. ## -# color brightyellow "<[^=[[:space:]]]*>" ""(\\.|[^\"])*"" +# color brightyellow "<[^= ]*>" ""(\\.|[^\"])*"" ## ## This string is VERY resource intensive!!! # color brightyellow start=""(\\.|[^\"])*\\[[:space:]]*$" end="^(\\.|[^\"])*""