From 28a68023075bf5ee757ee275ae94a7ef93faf65d Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Wed, 2 Aug 2006 17:02:49 +0000 Subject: [PATCH] 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 --- ChangeLog | 2 ++ doc/syntax/c.nanorc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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}" -- 2.39.5