Skip to content

Commit cd86ad5

Browse files
committed
fix: comment syntax between objectKey and value
1 parent 4615a1b commit cd86ad5

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

syntaxes/jsona.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,9 @@
266266
"comment": "the jsona object key",
267267
"include": "#objectkey"
268268
},
269+
{
270+
"include": "#comments"
271+
},
269272
{
270273
"begin": ":",
271274
"beginCaptures": {
@@ -312,7 +315,8 @@
312315
{ "include": "#number" },
313316
{ "include": "#string" },
314317
{ "include": "#array" },
315-
{ "include": "#object" }
318+
{ "include": "#object" },
319+
{ "include": "#comments" }
316320
]
317321
},
318322
"comments": {

0 commit comments

Comments
 (0)