Adjusted to comment section tokens based on recommendation.
This commit is contained in:
parent
d0709fea87
commit
f380abf51c
1 changed files with 4 additions and 9 deletions
|
|
@ -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;
|
||||
});
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue