Skip to content

Commit

Permalink
Update x_json_highlight_rules.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jpcarey authored and jbudz committed Mar 30, 2018
1 parent b3a569d commit 2f6435d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var jsonRules = function (root) {
rules[root] = [
{
token: ["variable", "whitespace", "ace.punctuation.colon", "whitespace", "punctuation.start_triple_quote"],
regex: '("script"|"inline"|"init_script"|"map_script"|"combine_script"|"reduce_script")(\\s*?)(:)(\\s*?)(""")',
regex: '("([^"]*_)?script"|"inline")(\\s*?)(:)(\\s*?)(""")',
next: "script-start",
merge: false,
push: true
Expand Down

0 comments on commit 2f6435d

Please sign in to comment.