Merge pull request #1383 from rgriffith/velocity_mode_improvement
Improvement to HTML comments
This commit is contained in:
commit
9b8090bf0b
1 changed files with 3 additions and 4 deletions
|
|
@ -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" : [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue