mirror of
https://github.com/Microsoft/vscode
synced 2024-10-05 19:02:54 +00:00
[coffee] update grammar
This commit is contained in:
parent
3ace2f4c8d
commit
e35cd8be33
|
@ -4,7 +4,7 @@
|
|||
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
||||
"Once accepted there, we are happy to receive an update request."
|
||||
],
|
||||
"version": "https://github.com/atom/language-coffee-script/commit/8873cbc4e2f3b790603cbe7102d60f41fc82f726",
|
||||
"version": "https://github.com/atom/language-coffee-script/commit/3f0b6b0e28d64cd6d5a720bf7a25c969be636e7b",
|
||||
"scopeName": "source.coffee",
|
||||
"name": "CoffeeScript",
|
||||
"fileTypes": [
|
||||
|
@ -47,7 +47,7 @@
|
|||
"name": "punctuation.definition.string.end.coffee"
|
||||
}
|
||||
},
|
||||
"name": "string.quoted.heredoc.coffee",
|
||||
"name": "string.quoted.single.heredoc.coffee",
|
||||
"patterns": [
|
||||
{
|
||||
"captures": {
|
||||
|
@ -143,7 +143,7 @@
|
|||
{
|
||||
"begin": "///",
|
||||
"end": "(///)[gimuy]*",
|
||||
"name": "string.regexp.coffee",
|
||||
"name": "string.regexp.multiline.coffee",
|
||||
"beginCaptures": {
|
||||
"0": {
|
||||
"name": "punctuation.definition.string.begin.coffee"
|
||||
|
|
|
@ -430,7 +430,7 @@
|
|||
},
|
||||
{
|
||||
"c": "///",
|
||||
"t": "source.coffee string.regexp.coffee punctuation.definition.string.begin.coffee",
|
||||
"t": "source.coffee string.regexp.multiline.coffee punctuation.definition.string.begin.coffee",
|
||||
"r": {
|
||||
"dark_plus": "string.regexp: #D16969",
|
||||
"light_plus": "string.regexp: #811F3F",
|
||||
|
@ -441,7 +441,7 @@
|
|||
},
|
||||
{
|
||||
"c": " ",
|
||||
"t": "source.coffee string.regexp.coffee",
|
||||
"t": "source.coffee string.regexp.multiline.coffee",
|
||||
"r": {
|
||||
"dark_plus": "string.regexp: #D16969",
|
||||
"light_plus": "string.regexp: #811F3F",
|
||||
|
@ -452,7 +452,7 @@
|
|||
},
|
||||
{
|
||||
"c": "#{",
|
||||
"t": "source.coffee string.regexp.coffee source.coffee.embedded.source punctuation.section.embedded.coffee",
|
||||
"t": "source.coffee string.regexp.multiline.coffee source.coffee.embedded.source punctuation.section.embedded.coffee",
|
||||
"r": {
|
||||
"dark_plus": "punctuation.section.embedded: #569CD6",
|
||||
"light_plus": "punctuation.section.embedded: #0000FF",
|
||||
|
@ -463,7 +463,7 @@
|
|||
},
|
||||
{
|
||||
"c": "name",
|
||||
"t": "source.coffee string.regexp.coffee source.coffee.embedded.source",
|
||||
"t": "source.coffee string.regexp.multiline.coffee source.coffee.embedded.source",
|
||||
"r": {
|
||||
"dark_plus": "source.coffee.embedded: #9CDCFE",
|
||||
"light_plus": "source.coffee.embedded: #FF0000",
|
||||
|
@ -474,7 +474,7 @@
|
|||
},
|
||||
{
|
||||
"c": "}",
|
||||
"t": "source.coffee string.regexp.coffee source.coffee.embedded.source punctuation.section.embedded.coffee",
|
||||
"t": "source.coffee string.regexp.multiline.coffee source.coffee.embedded.source punctuation.section.embedded.coffee",
|
||||
"r": {
|
||||
"dark_plus": "punctuation.section.embedded: #569CD6",
|
||||
"light_plus": "punctuation.section.embedded: #0000FF",
|
||||
|
@ -485,7 +485,7 @@
|
|||
},
|
||||
{
|
||||
"c": "fancyRegExp = ",
|
||||
"t": "source.coffee string.regexp.coffee",
|
||||
"t": "source.coffee string.regexp.multiline.coffee",
|
||||
"r": {
|
||||
"dark_plus": "string.regexp: #D16969",
|
||||
"light_plus": "string.regexp: #811F3F",
|
||||
|
@ -496,7 +496,7 @@
|
|||
},
|
||||
{
|
||||
"c": "///",
|
||||
"t": "source.coffee string.regexp.coffee punctuation.definition.string.end.coffee",
|
||||
"t": "source.coffee string.regexp.multiline.coffee punctuation.definition.string.end.coffee",
|
||||
"r": {
|
||||
"dark_plus": "string.regexp: #D16969",
|
||||
"light_plus": "string.regexp: #811F3F",
|
||||
|
@ -716,7 +716,7 @@
|
|||
},
|
||||
{
|
||||
"c": "///",
|
||||
"t": "source.coffee string.regexp.coffee punctuation.definition.string.begin.coffee",
|
||||
"t": "source.coffee string.regexp.multiline.coffee punctuation.definition.string.begin.coffee",
|
||||
"r": {
|
||||
"dark_plus": "string.regexp: #D16969",
|
||||
"light_plus": "string.regexp: #811F3F",
|
||||
|
|
|
@ -1354,7 +1354,7 @@
|
|||
},
|
||||
{
|
||||
"c": "///",
|
||||
"t": "source.coffee string.regexp.coffee punctuation.definition.string.begin.coffee",
|
||||
"t": "source.coffee string.regexp.multiline.coffee punctuation.definition.string.begin.coffee",
|
||||
"r": {
|
||||
"dark_plus": "string.regexp: #D16969",
|
||||
"light_plus": "string.regexp: #811F3F",
|
||||
|
@ -1365,7 +1365,7 @@
|
|||
},
|
||||
{
|
||||
"c": "\t",
|
||||
"t": "source.coffee string.regexp.coffee",
|
||||
"t": "source.coffee string.regexp.multiline.coffee",
|
||||
"r": {
|
||||
"dark_plus": "string.regexp: #D16969",
|
||||
"light_plus": "string.regexp: #811F3F",
|
||||
|
@ -1376,7 +1376,7 @@
|
|||
},
|
||||
{
|
||||
"c": "(",
|
||||
"t": "source.coffee string.regexp.coffee meta.group.regexp punctuation.definition.group.regexp",
|
||||
"t": "source.coffee string.regexp.multiline.coffee meta.group.regexp punctuation.definition.group.regexp",
|
||||
"r": {
|
||||
"dark_plus": "punctuation.definition.group.regexp: #CE9178",
|
||||
"light_plus": "punctuation.definition.group.regexp: #D16969",
|
||||
|
@ -1387,7 +1387,7 @@
|
|||
},
|
||||
{
|
||||
"c": "\\d",
|
||||
"t": "source.coffee string.regexp.coffee meta.group.regexp constant.character.character-class.regexp",
|
||||
"t": "source.coffee string.regexp.multiline.coffee meta.group.regexp constant.character.character-class.regexp",
|
||||
"r": {
|
||||
"dark_plus": "constant.character.character-class.regexp: #D16969",
|
||||
"light_plus": "constant.character.character-class.regexp: #811F3F",
|
||||
|
@ -1398,7 +1398,7 @@
|
|||
},
|
||||
{
|
||||
"c": "+",
|
||||
"t": "source.coffee string.regexp.coffee meta.group.regexp keyword.operator.quantifier.regexp",
|
||||
"t": "source.coffee string.regexp.multiline.coffee meta.group.regexp keyword.operator.quantifier.regexp",
|
||||
"r": {
|
||||
"dark_plus": "keyword.operator.quantifier.regexp: #D7BA7D",
|
||||
"light_plus": "keyword.operator.quantifier.regexp: #000000",
|
||||
|
@ -1409,7 +1409,7 @@
|
|||
},
|
||||
{
|
||||
"c": ")",
|
||||
"t": "source.coffee string.regexp.coffee meta.group.regexp punctuation.definition.group.regexp",
|
||||
"t": "source.coffee string.regexp.multiline.coffee meta.group.regexp punctuation.definition.group.regexp",
|
||||
"r": {
|
||||
"dark_plus": "punctuation.definition.group.regexp: #CE9178",
|
||||
"light_plus": "punctuation.definition.group.regexp: #D16969",
|
||||
|
@ -1420,7 +1420,7 @@
|
|||
},
|
||||
{
|
||||
"c": "\t",
|
||||
"t": "source.coffee string.regexp.coffee",
|
||||
"t": "source.coffee string.regexp.multiline.coffee",
|
||||
"r": {
|
||||
"dark_plus": "string.regexp: #D16969",
|
||||
"light_plus": "string.regexp: #811F3F",
|
||||
|
@ -1431,7 +1431,7 @@
|
|||
},
|
||||
{
|
||||
"c": "#",
|
||||
"t": "source.coffee string.regexp.coffee comment.line.number-sign.coffee punctuation.definition.comment.coffee",
|
||||
"t": "source.coffee string.regexp.multiline.coffee comment.line.number-sign.coffee punctuation.definition.comment.coffee",
|
||||
"r": {
|
||||
"dark_plus": "comment: #608B4E",
|
||||
"light_plus": "comment: #008000",
|
||||
|
@ -1442,7 +1442,7 @@
|
|||
},
|
||||
{
|
||||
"c": " numbers",
|
||||
"t": "source.coffee string.regexp.coffee comment.line.number-sign.coffee",
|
||||
"t": "source.coffee string.regexp.multiline.coffee comment.line.number-sign.coffee",
|
||||
"r": {
|
||||
"dark_plus": "comment: #608B4E",
|
||||
"light_plus": "comment: #008000",
|
||||
|
@ -1453,7 +1453,7 @@
|
|||
},
|
||||
{
|
||||
"c": "\t",
|
||||
"t": "source.coffee string.regexp.coffee",
|
||||
"t": "source.coffee string.regexp.multiline.coffee",
|
||||
"r": {
|
||||
"dark_plus": "string.regexp: #D16969",
|
||||
"light_plus": "string.regexp: #811F3F",
|
||||
|
@ -1464,7 +1464,7 @@
|
|||
},
|
||||
{
|
||||
"c": "(",
|
||||
"t": "source.coffee string.regexp.coffee meta.group.regexp punctuation.definition.group.regexp",
|
||||
"t": "source.coffee string.regexp.multiline.coffee meta.group.regexp punctuation.definition.group.regexp",
|
||||
"r": {
|
||||
"dark_plus": "punctuation.definition.group.regexp: #CE9178",
|
||||
"light_plus": "punctuation.definition.group.regexp: #D16969",
|
||||
|
@ -1475,7 +1475,7 @@
|
|||
},
|
||||
{
|
||||
"c": "\\w",
|
||||
"t": "source.coffee string.regexp.coffee meta.group.regexp constant.character.character-class.regexp",
|
||||
"t": "source.coffee string.regexp.multiline.coffee meta.group.regexp constant.character.character-class.regexp",
|
||||
"r": {
|
||||
"dark_plus": "constant.character.character-class.regexp: #D16969",
|
||||
"light_plus": "constant.character.character-class.regexp: #811F3F",
|
||||
|
@ -1486,7 +1486,7 @@
|
|||
},
|
||||
{
|
||||
"c": "*",
|
||||
"t": "source.coffee string.regexp.coffee meta.group.regexp keyword.operator.quantifier.regexp",
|
||||
"t": "source.coffee string.regexp.multiline.coffee meta.group.regexp keyword.operator.quantifier.regexp",
|
||||
"r": {
|
||||
"dark_plus": "keyword.operator.quantifier.regexp: #D7BA7D",
|
||||
"light_plus": "keyword.operator.quantifier.regexp: #000000",
|
||||
|
@ -1497,7 +1497,7 @@
|
|||
},
|
||||
{
|
||||
"c": ")",
|
||||
"t": "source.coffee string.regexp.coffee meta.group.regexp punctuation.definition.group.regexp",
|
||||
"t": "source.coffee string.regexp.multiline.coffee meta.group.regexp punctuation.definition.group.regexp",
|
||||
"r": {
|
||||
"dark_plus": "punctuation.definition.group.regexp: #CE9178",
|
||||
"light_plus": "punctuation.definition.group.regexp: #D16969",
|
||||
|
@ -1508,7 +1508,7 @@
|
|||
},
|
||||
{
|
||||
"c": "\t",
|
||||
"t": "source.coffee string.regexp.coffee",
|
||||
"t": "source.coffee string.regexp.multiline.coffee",
|
||||
"r": {
|
||||
"dark_plus": "string.regexp: #D16969",
|
||||
"light_plus": "string.regexp: #811F3F",
|
||||
|
@ -1519,7 +1519,7 @@
|
|||
},
|
||||
{
|
||||
"c": "#",
|
||||
"t": "source.coffee string.regexp.coffee comment.line.number-sign.coffee punctuation.definition.comment.coffee",
|
||||
"t": "source.coffee string.regexp.multiline.coffee comment.line.number-sign.coffee punctuation.definition.comment.coffee",
|
||||
"r": {
|
||||
"dark_plus": "comment: #608B4E",
|
||||
"light_plus": "comment: #008000",
|
||||
|
@ -1530,7 +1530,7 @@
|
|||
},
|
||||
{
|
||||
"c": " letters",
|
||||
"t": "source.coffee string.regexp.coffee comment.line.number-sign.coffee",
|
||||
"t": "source.coffee string.regexp.multiline.coffee comment.line.number-sign.coffee",
|
||||
"r": {
|
||||
"dark_plus": "comment: #608B4E",
|
||||
"light_plus": "comment: #008000",
|
||||
|
@ -1541,7 +1541,7 @@
|
|||
},
|
||||
{
|
||||
"c": "\t",
|
||||
"t": "source.coffee string.regexp.coffee",
|
||||
"t": "source.coffee string.regexp.multiline.coffee",
|
||||
"r": {
|
||||
"dark_plus": "string.regexp: #D16969",
|
||||
"light_plus": "string.regexp: #811F3F",
|
||||
|
@ -1552,7 +1552,7 @@
|
|||
},
|
||||
{
|
||||
"c": "$",
|
||||
"t": "source.coffee string.regexp.coffee keyword.control.anchor.regexp",
|
||||
"t": "source.coffee string.regexp.multiline.coffee keyword.control.anchor.regexp",
|
||||
"r": {
|
||||
"dark_plus": "keyword.control.anchor.regexp: #DCDCAA",
|
||||
"light_plus": "keyword.control.anchor.regexp: #FF0000",
|
||||
|
@ -1563,7 +1563,7 @@
|
|||
},
|
||||
{
|
||||
"c": "\t\t",
|
||||
"t": "source.coffee string.regexp.coffee",
|
||||
"t": "source.coffee string.regexp.multiline.coffee",
|
||||
"r": {
|
||||
"dark_plus": "string.regexp: #D16969",
|
||||
"light_plus": "string.regexp: #811F3F",
|
||||
|
@ -1574,7 +1574,7 @@
|
|||
},
|
||||
{
|
||||
"c": "#",
|
||||
"t": "source.coffee string.regexp.coffee comment.line.number-sign.coffee punctuation.definition.comment.coffee",
|
||||
"t": "source.coffee string.regexp.multiline.coffee comment.line.number-sign.coffee punctuation.definition.comment.coffee",
|
||||
"r": {
|
||||
"dark_plus": "comment: #608B4E",
|
||||
"light_plus": "comment: #008000",
|
||||
|
@ -1585,7 +1585,7 @@
|
|||
},
|
||||
{
|
||||
"c": " the end",
|
||||
"t": "source.coffee string.regexp.coffee comment.line.number-sign.coffee",
|
||||
"t": "source.coffee string.regexp.multiline.coffee comment.line.number-sign.coffee",
|
||||
"r": {
|
||||
"dark_plus": "comment: #608B4E",
|
||||
"light_plus": "comment: #008000",
|
||||
|
@ -1596,7 +1596,7 @@
|
|||
},
|
||||
{
|
||||
"c": "///",
|
||||
"t": "source.coffee string.regexp.coffee punctuation.definition.string.end.coffee",
|
||||
"t": "source.coffee string.regexp.multiline.coffee punctuation.definition.string.end.coffee",
|
||||
"r": {
|
||||
"dark_plus": "string.regexp: #D16969",
|
||||
"light_plus": "string.regexp: #811F3F",
|
||||
|
|
Loading…
Reference in a new issue