Skip to content

Commit bd056d5

Browse files
committed
Fix minify JSON bug
1 parent 56c794b commit bd056d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

syntaxes/json.tmLanguage.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1264,7 +1264,7 @@
12641264
{ "include": "#comment" },
12651265
{ "include": "#json-pair" },
12661266
{
1267-
"begin": "\\G|,",
1267+
"begin": "\\G(?=\\s|,|$)|,",
12681268
"end": "(?!\\s|,|$)",
12691269
"beginCaptures": { "0": { "name": "punctuation.separator.dictionary.json.tm" } },
12701270
"patterns": [
@@ -1280,7 +1280,7 @@
12801280
"array-separator": {
12811281
"patterns": [
12821282
{
1283-
"begin": "\\G|,",
1283+
"begin": "\\G(?=\\s|,|$)|,",
12841284
"end": "(?!\\s|,|$)",
12851285
"beginCaptures": { "0": { "name": "punctuation.separator.array.json.tm" } },
12861286
"patterns": [

0 commit comments

Comments
 (0)