Adjusted to comment section tokens based on recommendation.

This commit is contained in:
Ryan Griffith 2013-04-26 14:57:17 -04:00
commit f380abf51c

View file

@ -130,16 +130,11 @@ var VelocityHighlightRules = function() {
],
"comment" : [
{
token : "comment.block", // closing comment
regex : ".*?\\*#",
token : "comment", // closing comment
regex : "\\*#|-->",
next : "start"
}, {
token : "comment", // closing HTML comment
regex : ".*?-->",
next : "start"
}, {
token : "comment", // comment spanning whole line
regex : ".+"
defaultToken: "comment"
}
],
"vm_start" : [
@ -233,4 +228,4 @@ var VelocityHighlightRules = function() {
oop.inherits(VelocityHighlightRules, TextHighlightRules);
exports.VelocityHighlightRules = VelocityHighlightRules;
});
});