commit 28a68023075bf5ee757ee275ae94a7ef93faf65d
parent 2578025e7f7e373542b36e4d986b3248c398c3db
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Wed, 2 Aug 2006 17:02:49 +0000
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
Diffstat:
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git 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
@@ -24,4 +24,4 @@ color brightyellow start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*""
## Comment highlighting
color brightblue "//.*"
-color brightblue start="/\*" end="\*/"
+color brightblue start="(/){1}\*" end="\*(/){1}"