Merge pull request #1383 from rgriffith/velocity_mode_improvement

Improvement to HTML comments
This commit is contained in:
Harutyun Amirjanyan 2013-04-29 01:58:42 -07:00
commit 9b8090bf0b

View file

@ -130,12 +130,11 @@ var VelocityHighlightRules = function() {
],
"comment" : [
{
token : "comment.block", // closing comment
regex : ".*?\\*#",
token : "comment", // closing comment
regex : "\\*#|-->",
next : "start"
}, {
token : "comment", // comment spanning whole line
regex : ".+"
defaultToken: "comment"
}
],
"vm_start" : [