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" : [ "comment" : [
{ {
token : "comment.block", // closing comment token : "comment", // closing comment
regex : ".*?\\*#", regex : "\\*#|-->",
next : "start" next : "start"
}, { }, {
token : "comment", // comment spanning whole line defaultToken: "comment"
regex : ".+"
} }
], ],
"vm_start" : [ "vm_start" : [