Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try out new YAML grammar #219833

Merged
merged 2 commits into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{
"c": "test1",
"t": "source.yaml string.unquoted.plain.out.yaml entity.name.tag.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.mapping.yaml meta.map.key.yaml string.unquoted.plain.yaml entity.name.tag.yaml",
"r": {
"dark_plus": "entity.name.tag: #569CD6",
"light_plus": "entity.name.tag: #800000",
Expand All @@ -15,7 +15,7 @@
},
{
"c": " ",
"t": "source.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.mapping.yaml punctuation.whitespace.separator.yaml",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
Expand All @@ -29,7 +29,7 @@
},
{
"c": ":",
"t": "source.yaml punctuation.separator.key-value.mapping.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.mapping.yaml meta.map.value.yaml punctuation.separator.map.value.yaml",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
Expand All @@ -43,7 +43,7 @@
},
{
"c": " ",
"t": "source.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.mapping.yaml meta.map.value.yaml punctuation.whitespace.separator.yaml",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
Expand All @@ -57,7 +57,7 @@
},
{
"c": "dsd",
"t": "source.yaml string.unquoted.plain.out.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.mapping.yaml meta.map.value.yaml string.unquoted.plain.out.yaml",
"r": {
"dark_plus": "string: #CE9178",
"light_plus": "string.unquoted.plain.out.yaml: #0000FF",
Expand All @@ -71,7 +71,7 @@
},
{
"c": "test2",
"t": "source.yaml string.unquoted.plain.out.yaml entity.name.tag.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.mapping.yaml meta.map.key.yaml string.unquoted.plain.yaml entity.name.tag.yaml",
"r": {
"dark_plus": "entity.name.tag: #569CD6",
"light_plus": "entity.name.tag: #800000",
Expand All @@ -85,7 +85,7 @@
},
{
"c": " ",
"t": "source.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.mapping.yaml punctuation.whitespace.separator.yaml",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
Expand All @@ -99,7 +99,7 @@
},
{
"c": ":",
"t": "source.yaml punctuation.separator.key-value.mapping.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.mapping.yaml meta.map.value.yaml punctuation.separator.map.value.yaml",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
Expand All @@ -113,7 +113,7 @@
},
{
"c": " ",
"t": "source.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.mapping.yaml meta.map.value.yaml punctuation.whitespace.separator.yaml",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
Expand All @@ -127,7 +127,7 @@
},
{
"c": "abc-def",
"t": "source.yaml string.unquoted.plain.out.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.mapping.yaml meta.map.value.yaml string.unquoted.plain.out.yaml",
"r": {
"dark_plus": "string: #CE9178",
"light_plus": "string.unquoted.plain.out.yaml: #0000FF",
Expand All @@ -141,7 +141,7 @@
},
{
"c": "test-3",
"t": "source.yaml string.unquoted.plain.out.yaml entity.name.tag.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.mapping.yaml meta.map.key.yaml string.unquoted.plain.yaml entity.name.tag.yaml",
"r": {
"dark_plus": "entity.name.tag: #569CD6",
"light_plus": "entity.name.tag: #800000",
Expand All @@ -155,7 +155,7 @@
},
{
"c": " ",
"t": "source.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.mapping.yaml punctuation.whitespace.separator.yaml",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
Expand All @@ -169,7 +169,7 @@
},
{
"c": ":",
"t": "source.yaml punctuation.separator.key-value.mapping.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.mapping.yaml meta.map.value.yaml punctuation.separator.map.value.yaml",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
Expand All @@ -183,7 +183,7 @@
},
{
"c": " ",
"t": "source.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.mapping.yaml meta.map.value.yaml punctuation.whitespace.separator.yaml",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
Expand All @@ -197,7 +197,7 @@
},
{
"c": "abcdef",
"t": "source.yaml string.unquoted.plain.out.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.mapping.yaml meta.map.value.yaml string.unquoted.plain.out.yaml",
"r": {
"dark_plus": "string: #CE9178",
"light_plus": "string.unquoted.plain.out.yaml: #0000FF",
Expand All @@ -211,7 +211,7 @@
},
{
"c": "test-4",
"t": "source.yaml string.unquoted.plain.out.yaml entity.name.tag.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.mapping.yaml meta.map.key.yaml string.unquoted.plain.yaml entity.name.tag.yaml",
"r": {
"dark_plus": "entity.name.tag: #569CD6",
"light_plus": "entity.name.tag: #800000",
Expand All @@ -225,7 +225,7 @@
},
{
"c": " ",
"t": "source.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.mapping.yaml punctuation.whitespace.separator.yaml",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
Expand All @@ -239,7 +239,7 @@
},
{
"c": ":",
"t": "source.yaml punctuation.separator.key-value.mapping.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.mapping.yaml meta.map.value.yaml punctuation.separator.map.value.yaml",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
Expand All @@ -253,7 +253,7 @@
},
{
"c": " ",
"t": "source.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.mapping.yaml meta.map.value.yaml punctuation.whitespace.separator.yaml",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
Expand All @@ -267,7 +267,7 @@
},
{
"c": "abc-def",
"t": "source.yaml string.unquoted.plain.out.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.mapping.yaml meta.map.value.yaml string.unquoted.plain.out.yaml",
"r": {
"dark_plus": "string: #CE9178",
"light_plus": "string.unquoted.plain.out.yaml: #0000FF",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{
"c": "-",
"t": "source.yaml punctuation.definition.block.sequence.item.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.block.sequence.yaml punctuation.definition.block.sequence.item.yaml",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
Expand All @@ -15,7 +15,7 @@
},
{
"c": " ",
"t": "source.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.block.sequence.yaml meta.mapping.yaml punctuation.whitespace.indentation.yaml",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
Expand All @@ -29,7 +29,7 @@
},
{
"c": "blue",
"t": "source.yaml string.unquoted.plain.out.yaml entity.name.tag.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.block.sequence.yaml meta.mapping.yaml meta.map.key.yaml string.unquoted.plain.yaml entity.name.tag.yaml",
"r": {
"dark_plus": "entity.name.tag: #569CD6",
"light_plus": "entity.name.tag: #800000",
Expand All @@ -43,7 +43,7 @@
},
{
"c": ":",
"t": "source.yaml punctuation.separator.key-value.mapping.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.block.sequence.yaml meta.mapping.yaml meta.map.value.yaml punctuation.separator.map.value.yaml",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
Expand All @@ -57,7 +57,7 @@
},
{
"c": " ",
"t": "source.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.block.sequence.yaml meta.mapping.yaml meta.map.value.yaml punctuation.whitespace.separator.yaml",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
Expand All @@ -71,7 +71,7 @@
},
{
"c": "a=\"brown,not_brown\"",
"t": "source.yaml string.unquoted.plain.out.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.block.sequence.yaml meta.mapping.yaml meta.map.value.yaml string.unquoted.plain.out.yaml",
"r": {
"dark_plus": "string: #CE9178",
"light_plus": "string.unquoted.plain.out.yaml: #0000FF",
Expand All @@ -85,7 +85,7 @@
},
{
"c": "-",
"t": "source.yaml punctuation.definition.block.sequence.item.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.block.sequence.yaml punctuation.definition.block.sequence.item.yaml",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
Expand All @@ -99,7 +99,7 @@
},
{
"c": " ",
"t": "source.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.block.sequence.yaml meta.mapping.yaml punctuation.whitespace.indentation.yaml",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
Expand All @@ -113,7 +113,7 @@
},
{
"c": "not_blue",
"t": "source.yaml string.unquoted.plain.out.yaml entity.name.tag.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.block.sequence.yaml meta.mapping.yaml meta.map.key.yaml string.unquoted.plain.yaml entity.name.tag.yaml",
"r": {
"dark_plus": "entity.name.tag: #569CD6",
"light_plus": "entity.name.tag: #800000",
Expand All @@ -127,7 +127,7 @@
},
{
"c": ":",
"t": "source.yaml punctuation.separator.key-value.mapping.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.block.sequence.yaml meta.mapping.yaml meta.map.value.yaml punctuation.separator.map.value.yaml",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
Expand All @@ -141,7 +141,7 @@
},
{
"c": " ",
"t": "source.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.block.sequence.yaml meta.mapping.yaml meta.map.value.yaml punctuation.whitespace.separator.yaml",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
Expand All @@ -155,7 +155,7 @@
},
{
"c": "foo",
"t": "source.yaml string.unquoted.plain.out.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.block.sequence.yaml meta.mapping.yaml meta.map.value.yaml string.unquoted.plain.out.yaml",
"r": {
"dark_plus": "string: #CE9178",
"light_plus": "string.unquoted.plain.out.yaml: #0000FF",
Expand All @@ -169,7 +169,7 @@
},
{
"c": "-",
"t": "source.yaml punctuation.definition.block.sequence.item.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.block.sequence.yaml punctuation.definition.block.sequence.item.yaml",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
Expand All @@ -183,7 +183,7 @@
},
{
"c": " ",
"t": "source.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.block.sequence.yaml meta.mapping.yaml punctuation.whitespace.indentation.yaml",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
Expand All @@ -197,7 +197,7 @@
},
{
"c": "blue",
"t": "source.yaml string.unquoted.plain.out.yaml entity.name.tag.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.block.sequence.yaml meta.mapping.yaml meta.map.key.yaml string.unquoted.plain.yaml entity.name.tag.yaml",
"r": {
"dark_plus": "entity.name.tag: #569CD6",
"light_plus": "entity.name.tag: #800000",
Expand All @@ -211,7 +211,7 @@
},
{
"c": ":",
"t": "source.yaml punctuation.separator.key-value.mapping.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.block.sequence.yaml meta.mapping.yaml meta.map.value.yaml punctuation.separator.map.value.yaml",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
Expand All @@ -225,7 +225,7 @@
},
{
"c": " ",
"t": "source.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.block.sequence.yaml meta.mapping.yaml meta.map.value.yaml punctuation.whitespace.separator.yaml",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
Expand All @@ -239,7 +239,7 @@
},
{
"c": "foo=\"}\"",
"t": "source.yaml string.unquoted.plain.out.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.block.sequence.yaml meta.mapping.yaml meta.map.value.yaml string.unquoted.plain.out.yaml",
"r": {
"dark_plus": "string: #CE9178",
"light_plus": "string.unquoted.plain.out.yaml: #0000FF",
Expand All @@ -253,7 +253,7 @@
},
{
"c": "-",
"t": "source.yaml punctuation.definition.block.sequence.item.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.block.sequence.yaml punctuation.definition.block.sequence.item.yaml",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
Expand All @@ -267,7 +267,7 @@
},
{
"c": " ",
"t": "source.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.block.sequence.yaml meta.mapping.yaml punctuation.whitespace.indentation.yaml",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
Expand All @@ -281,7 +281,7 @@
},
{
"c": "not_blue",
"t": "source.yaml string.unquoted.plain.out.yaml entity.name.tag.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.block.sequence.yaml meta.mapping.yaml meta.map.key.yaml string.unquoted.plain.yaml entity.name.tag.yaml",
"r": {
"dark_plus": "entity.name.tag: #569CD6",
"light_plus": "entity.name.tag: #800000",
Expand All @@ -295,7 +295,7 @@
},
{
"c": ":",
"t": "source.yaml punctuation.separator.key-value.mapping.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.block.sequence.yaml meta.mapping.yaml meta.map.value.yaml punctuation.separator.map.value.yaml",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
Expand All @@ -309,7 +309,7 @@
},
{
"c": " ",
"t": "source.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.block.sequence.yaml meta.mapping.yaml meta.map.value.yaml punctuation.whitespace.separator.yaml",
"r": {
"dark_plus": "default: #D4D4D4",
"light_plus": "default: #000000",
Expand All @@ -323,7 +323,7 @@
},
{
"c": "1",
"t": "source.yaml constant.numeric.integer.yaml",
"t": "source.yaml meta.stream.yaml meta.document.yaml meta.block.sequence.yaml meta.mapping.yaml meta.map.value.yaml string.unquoted.plain.out.yaml constant.numeric.integer.decimal.yaml",
"r": {
"dark_plus": "constant.numeric: #B5CEA8",
"light_plus": "constant.numeric: #098658",
Expand Down
Loading
Loading