From: David Lawrence Ramsey Date: Wed, 2 Aug 2006 17:02:49 +0000 (+0000) Subject: in doc/syntax/c.nanorc, tweak the multiline comment regex to not color X-Git-Tag: v1.9.99pre1~30 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=28a68023075bf5ee757ee275ae94a7ef93faf65d;p=nano.git in doc/syntax/c.nanorc, tweak the multiline comment regex to not color lines so aggressively git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3832 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index c4dbb664..df7c84f3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -208,6 +208,8 @@ CVS code - - doc/syntax/c.nanorc: - Since .i and .ii are preprocessed C and C++ output, colorize them here. (Mike Frysinger) + - Tweak the multiline comment regex to not color lines so + aggressively. (DLR, found by Mike Frysinger) - doc/syntax/ruby.nanorc: - Add missing blank line after the first comment, for consistency. (DLR) diff --git a/doc/syntax/c.nanorc b/doc/syntax/c.nanorc index e90c623a..796fca30 100644 --- a/doc/syntax/c.nanorc +++ b/doc/syntax/c.nanorc @@ -24,4 +24,4 @@ color brightyellow start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*"" ## Comment highlighting color brightblue "//.*" -color brightblue start="/\*" end="\*/" +color brightblue start="(/){1}\*" end="\*(/){1}"