aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.def.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/config.def.h b/config.def.h
index 0f7cd4a..1d7c9ab 100644
--- a/config.def.h
+++ b/config.def.h
@@ -789,10 +789,10 @@ static Color colors[] = {
/* common rules, used by multiple languages */
-#define SYNTAX_MULTILINE_COMMENT { \
- "(/\\*([^*]|\\*[^/])*\\*/)", \
- &colors[COLOR_COMMENT], \
- true, /* multiline */ \
+#define SYNTAX_MULTILINE_COMMENT { \
+ "(/\\*([^*]|\\*[^/])*\\*/|/\\*([^*]|\\*[^/])*$|^([^/]|/[^*])*\\*/)", \
+ &colors[COLOR_COMMENT], \
+ true, /* multiline */ \
}
#define SYNTAX_SINGLE_LINE_COMMENT { \
@@ -808,7 +808,7 @@ static Color colors[] = {
#define SYNTAX_STRING { \
"(\"(\\\\.|[^\"])*\")", \
&colors[COLOR_STRING], \
- true, /* multiline */ \
+ false, /* multiline */ \
}
#define SYNTAX_CONSTANT { \