remove trailing commas
This commit is contained in:
parent
95f0e7308f
commit
f2944d4ced
7 changed files with 10 additions and 10 deletions
|
|
@ -21,7 +21,7 @@ var JsRegexHighlightRules = function() {
|
||||||
// flag
|
// flag
|
||||||
token: "string.regexp",
|
token: "string.regexp",
|
||||||
regex: "/\\w*",
|
regex: "/\\w*",
|
||||||
next: "start",
|
next: "start"
|
||||||
}, {
|
}, {
|
||||||
token : ["string", "string.regex"],
|
token : ["string", "string.regex"],
|
||||||
regex: quantifier,
|
regex: quantifier,
|
||||||
|
|
@ -43,7 +43,7 @@ var JsRegexHighlightRules = function() {
|
||||||
}, {
|
}, {
|
||||||
token: "constant.language.escape",
|
token: "constant.language.escape",
|
||||||
regex: /\[\^?/,
|
regex: /\[\^?/,
|
||||||
next: "character_class",
|
next: "character_class"
|
||||||
}, {
|
}, {
|
||||||
token: "empty",
|
token: "empty",
|
||||||
regex: "$",
|
regex: "$",
|
||||||
|
|
@ -63,7 +63,7 @@ var JsRegexHighlightRules = function() {
|
||||||
}, {
|
}, {
|
||||||
token: "constant.language.escape",
|
token: "constant.language.escape",
|
||||||
regex: "]",
|
regex: "]",
|
||||||
next: "start",
|
next: "start"
|
||||||
}, {
|
}, {
|
||||||
token: "constant.language.escape",
|
token: "constant.language.escape",
|
||||||
regex: "-"
|
regex: "-"
|
||||||
|
|
|
||||||
|
|
@ -559,7 +559,7 @@ var MushCodeRules = function() {
|
||||||
}, {
|
}, {
|
||||||
token : "text",
|
token : "text",
|
||||||
regex : "\\s+"
|
regex : "\\s+"
|
||||||
} ],
|
} ]
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -108,7 +108,7 @@ var MysqlHighlightRules = function() {
|
||||||
"comment" : [
|
"comment" : [
|
||||||
{token : "comment", regex : "\\*\\/", next : "start"},
|
{token : "comment", regex : "\\*\\/", next : "start"},
|
||||||
{defaultToken : "comment"}
|
{defaultToken : "comment"}
|
||||||
],
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
this.embedRules(DocCommentHighlightRules, "doc-", [ DocCommentHighlightRules.getEndRule("start") ]);
|
this.embedRules(DocCommentHighlightRules, "doc-", [ DocCommentHighlightRules.getEndRule("start") ]);
|
||||||
|
|
|
||||||
|
|
@ -1013,7 +1013,7 @@ var PhpLangHighlightRules = function() {
|
||||||
next: "start"
|
next: "start"
|
||||||
}, {
|
}, {
|
||||||
token: "string",
|
token: "string",
|
||||||
regex : ".*",
|
regex : ".*"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"comment" : [
|
"comment" : [
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ var PropertiesHighlightRules = function() {
|
||||||
next : "value"
|
next : "value"
|
||||||
}, {
|
}, {
|
||||||
token : "constant.language.escape",
|
token : "constant.language.escape",
|
||||||
regex : escapeRe,
|
regex : escapeRe
|
||||||
}, {
|
}, {
|
||||||
defaultToken: "variable"
|
defaultToken: "variable"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -86,7 +86,7 @@ var SnippetGroupHighlightRules = function() {
|
||||||
{onMatch: function(value, state, stack) {
|
{onMatch: function(value, state, stack) {
|
||||||
stack.splice(stack.length);
|
stack.splice(stack.length);
|
||||||
return this.tokenName;
|
return this.tokenName;
|
||||||
}, tokenName: "text", regex: "^(?!\t)", next: "start"},
|
}, tokenName: "text", regex: "^(?!\t)", next: "start"}
|
||||||
])
|
])
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -139,7 +139,7 @@ var TwigHighlightRules = function() {
|
||||||
}, {
|
}, {
|
||||||
token : "string",
|
token : "string",
|
||||||
regex : '"',
|
regex : '"',
|
||||||
next : "twig-start",
|
next : "twig-start"
|
||||||
}, {
|
}, {
|
||||||
defaultToken : "string"
|
defaultToken : "string"
|
||||||
}
|
}
|
||||||
|
|
@ -151,7 +151,7 @@ var TwigHighlightRules = function() {
|
||||||
}, {
|
}, {
|
||||||
token : "string",
|
token : "string",
|
||||||
regex : "'",
|
regex : "'",
|
||||||
next : "twig-start",
|
next : "twig-start"
|
||||||
}, {
|
}, {
|
||||||
defaultToken : "string"
|
defaultToken : "string"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue