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" : [
|
"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" : [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue