Skip to content

Commit e35cd8b

Browse files
committed
[coffee] update grammar
1 parent 3ace2f4 commit e35cd8b

3 files changed

Lines changed: 34 additions & 34 deletions

File tree

extensions/coffeescript/syntaxes/coffeescript.tmLanguage.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
55
"Once accepted there, we are happy to receive an update request."
66
],
7-
"version": "https://github.com/atom/language-coffee-script/commit/8873cbc4e2f3b790603cbe7102d60f41fc82f726",
7+
"version": "https://github.com/atom/language-coffee-script/commit/3f0b6b0e28d64cd6d5a720bf7a25c969be636e7b",
88
"scopeName": "source.coffee",
99
"name": "CoffeeScript",
1010
"fileTypes": [
@@ -47,7 +47,7 @@
4747
"name": "punctuation.definition.string.end.coffee"
4848
}
4949
},
50-
"name": "string.quoted.heredoc.coffee",
50+
"name": "string.quoted.single.heredoc.coffee",
5151
"patterns": [
5252
{
5353
"captures": {
@@ -143,7 +143,7 @@
143143
{
144144
"begin": "///",
145145
"end": "(///)[gimuy]*",
146-
"name": "string.regexp.coffee",
146+
"name": "string.regexp.multiline.coffee",
147147
"beginCaptures": {
148148
"0": {
149149
"name": "punctuation.definition.string.begin.coffee"

extensions/coffeescript/test/colorize-results/test-regex_coffee.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@
430430
},
431431
{
432432
"c": "///",
433-
"t": "source.coffee string.regexp.coffee punctuation.definition.string.begin.coffee",
433+
"t": "source.coffee string.regexp.multiline.coffee punctuation.definition.string.begin.coffee",
434434
"r": {
435435
"dark_plus": "string.regexp: #D16969",
436436
"light_plus": "string.regexp: #811F3F",
@@ -441,7 +441,7 @@
441441
},
442442
{
443443
"c": " ",
444-
"t": "source.coffee string.regexp.coffee",
444+
"t": "source.coffee string.regexp.multiline.coffee",
445445
"r": {
446446
"dark_plus": "string.regexp: #D16969",
447447
"light_plus": "string.regexp: #811F3F",
@@ -452,7 +452,7 @@
452452
},
453453
{
454454
"c": "#{",
455-
"t": "source.coffee string.regexp.coffee source.coffee.embedded.source punctuation.section.embedded.coffee",
455+
"t": "source.coffee string.regexp.multiline.coffee source.coffee.embedded.source punctuation.section.embedded.coffee",
456456
"r": {
457457
"dark_plus": "punctuation.section.embedded: #569CD6",
458458
"light_plus": "punctuation.section.embedded: #0000FF",
@@ -463,7 +463,7 @@
463463
},
464464
{
465465
"c": "name",
466-
"t": "source.coffee string.regexp.coffee source.coffee.embedded.source",
466+
"t": "source.coffee string.regexp.multiline.coffee source.coffee.embedded.source",
467467
"r": {
468468
"dark_plus": "source.coffee.embedded: #9CDCFE",
469469
"light_plus": "source.coffee.embedded: #FF0000",
@@ -474,7 +474,7 @@
474474
},
475475
{
476476
"c": "}",
477-
"t": "source.coffee string.regexp.coffee source.coffee.embedded.source punctuation.section.embedded.coffee",
477+
"t": "source.coffee string.regexp.multiline.coffee source.coffee.embedded.source punctuation.section.embedded.coffee",
478478
"r": {
479479
"dark_plus": "punctuation.section.embedded: #569CD6",
480480
"light_plus": "punctuation.section.embedded: #0000FF",
@@ -485,7 +485,7 @@
485485
},
486486
{
487487
"c": "fancyRegExp = ",
488-
"t": "source.coffee string.regexp.coffee",
488+
"t": "source.coffee string.regexp.multiline.coffee",
489489
"r": {
490490
"dark_plus": "string.regexp: #D16969",
491491
"light_plus": "string.regexp: #811F3F",
@@ -496,7 +496,7 @@
496496
},
497497
{
498498
"c": "///",
499-
"t": "source.coffee string.regexp.coffee punctuation.definition.string.end.coffee",
499+
"t": "source.coffee string.regexp.multiline.coffee punctuation.definition.string.end.coffee",
500500
"r": {
501501
"dark_plus": "string.regexp: #D16969",
502502
"light_plus": "string.regexp: #811F3F",
@@ -716,7 +716,7 @@
716716
},
717717
{
718718
"c": "///",
719-
"t": "source.coffee string.regexp.coffee punctuation.definition.string.begin.coffee",
719+
"t": "source.coffee string.regexp.multiline.coffee punctuation.definition.string.begin.coffee",
720720
"r": {
721721
"dark_plus": "string.regexp: #D16969",
722722
"light_plus": "string.regexp: #811F3F",

extensions/coffeescript/test/colorize-results/test_coffee.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1354,7 +1354,7 @@
13541354
},
13551355
{
13561356
"c": "///",
1357-
"t": "source.coffee string.regexp.coffee punctuation.definition.string.begin.coffee",
1357+
"t": "source.coffee string.regexp.multiline.coffee punctuation.definition.string.begin.coffee",
13581358
"r": {
13591359
"dark_plus": "string.regexp: #D16969",
13601360
"light_plus": "string.regexp: #811F3F",
@@ -1365,7 +1365,7 @@
13651365
},
13661366
{
13671367
"c": "\t",
1368-
"t": "source.coffee string.regexp.coffee",
1368+
"t": "source.coffee string.regexp.multiline.coffee",
13691369
"r": {
13701370
"dark_plus": "string.regexp: #D16969",
13711371
"light_plus": "string.regexp: #811F3F",
@@ -1376,7 +1376,7 @@
13761376
},
13771377
{
13781378
"c": "(",
1379-
"t": "source.coffee string.regexp.coffee meta.group.regexp punctuation.definition.group.regexp",
1379+
"t": "source.coffee string.regexp.multiline.coffee meta.group.regexp punctuation.definition.group.regexp",
13801380
"r": {
13811381
"dark_plus": "punctuation.definition.group.regexp: #CE9178",
13821382
"light_plus": "punctuation.definition.group.regexp: #D16969",
@@ -1387,7 +1387,7 @@
13871387
},
13881388
{
13891389
"c": "\\d",
1390-
"t": "source.coffee string.regexp.coffee meta.group.regexp constant.character.character-class.regexp",
1390+
"t": "source.coffee string.regexp.multiline.coffee meta.group.regexp constant.character.character-class.regexp",
13911391
"r": {
13921392
"dark_plus": "constant.character.character-class.regexp: #D16969",
13931393
"light_plus": "constant.character.character-class.regexp: #811F3F",
@@ -1398,7 +1398,7 @@
13981398
},
13991399
{
14001400
"c": "+",
1401-
"t": "source.coffee string.regexp.coffee meta.group.regexp keyword.operator.quantifier.regexp",
1401+
"t": "source.coffee string.regexp.multiline.coffee meta.group.regexp keyword.operator.quantifier.regexp",
14021402
"r": {
14031403
"dark_plus": "keyword.operator.quantifier.regexp: #D7BA7D",
14041404
"light_plus": "keyword.operator.quantifier.regexp: #000000",
@@ -1409,7 +1409,7 @@
14091409
},
14101410
{
14111411
"c": ")",
1412-
"t": "source.coffee string.regexp.coffee meta.group.regexp punctuation.definition.group.regexp",
1412+
"t": "source.coffee string.regexp.multiline.coffee meta.group.regexp punctuation.definition.group.regexp",
14131413
"r": {
14141414
"dark_plus": "punctuation.definition.group.regexp: #CE9178",
14151415
"light_plus": "punctuation.definition.group.regexp: #D16969",
@@ -1420,7 +1420,7 @@
14201420
},
14211421
{
14221422
"c": "\t",
1423-
"t": "source.coffee string.regexp.coffee",
1423+
"t": "source.coffee string.regexp.multiline.coffee",
14241424
"r": {
14251425
"dark_plus": "string.regexp: #D16969",
14261426
"light_plus": "string.regexp: #811F3F",
@@ -1431,7 +1431,7 @@
14311431
},
14321432
{
14331433
"c": "#",
1434-
"t": "source.coffee string.regexp.coffee comment.line.number-sign.coffee punctuation.definition.comment.coffee",
1434+
"t": "source.coffee string.regexp.multiline.coffee comment.line.number-sign.coffee punctuation.definition.comment.coffee",
14351435
"r": {
14361436
"dark_plus": "comment: #608B4E",
14371437
"light_plus": "comment: #008000",
@@ -1442,7 +1442,7 @@
14421442
},
14431443
{
14441444
"c": " numbers",
1445-
"t": "source.coffee string.regexp.coffee comment.line.number-sign.coffee",
1445+
"t": "source.coffee string.regexp.multiline.coffee comment.line.number-sign.coffee",
14461446
"r": {
14471447
"dark_plus": "comment: #608B4E",
14481448
"light_plus": "comment: #008000",
@@ -1453,7 +1453,7 @@
14531453
},
14541454
{
14551455
"c": "\t",
1456-
"t": "source.coffee string.regexp.coffee",
1456+
"t": "source.coffee string.regexp.multiline.coffee",
14571457
"r": {
14581458
"dark_plus": "string.regexp: #D16969",
14591459
"light_plus": "string.regexp: #811F3F",
@@ -1464,7 +1464,7 @@
14641464
},
14651465
{
14661466
"c": "(",
1467-
"t": "source.coffee string.regexp.coffee meta.group.regexp punctuation.definition.group.regexp",
1467+
"t": "source.coffee string.regexp.multiline.coffee meta.group.regexp punctuation.definition.group.regexp",
14681468
"r": {
14691469
"dark_plus": "punctuation.definition.group.regexp: #CE9178",
14701470
"light_plus": "punctuation.definition.group.regexp: #D16969",
@@ -1475,7 +1475,7 @@
14751475
},
14761476
{
14771477
"c": "\\w",
1478-
"t": "source.coffee string.regexp.coffee meta.group.regexp constant.character.character-class.regexp",
1478+
"t": "source.coffee string.regexp.multiline.coffee meta.group.regexp constant.character.character-class.regexp",
14791479
"r": {
14801480
"dark_plus": "constant.character.character-class.regexp: #D16969",
14811481
"light_plus": "constant.character.character-class.regexp: #811F3F",
@@ -1486,7 +1486,7 @@
14861486
},
14871487
{
14881488
"c": "*",
1489-
"t": "source.coffee string.regexp.coffee meta.group.regexp keyword.operator.quantifier.regexp",
1489+
"t": "source.coffee string.regexp.multiline.coffee meta.group.regexp keyword.operator.quantifier.regexp",
14901490
"r": {
14911491
"dark_plus": "keyword.operator.quantifier.regexp: #D7BA7D",
14921492
"light_plus": "keyword.operator.quantifier.regexp: #000000",
@@ -1497,7 +1497,7 @@
14971497
},
14981498
{
14991499
"c": ")",
1500-
"t": "source.coffee string.regexp.coffee meta.group.regexp punctuation.definition.group.regexp",
1500+
"t": "source.coffee string.regexp.multiline.coffee meta.group.regexp punctuation.definition.group.regexp",
15011501
"r": {
15021502
"dark_plus": "punctuation.definition.group.regexp: #CE9178",
15031503
"light_plus": "punctuation.definition.group.regexp: #D16969",
@@ -1508,7 +1508,7 @@
15081508
},
15091509
{
15101510
"c": "\t",
1511-
"t": "source.coffee string.regexp.coffee",
1511+
"t": "source.coffee string.regexp.multiline.coffee",
15121512
"r": {
15131513
"dark_plus": "string.regexp: #D16969",
15141514
"light_plus": "string.regexp: #811F3F",
@@ -1519,7 +1519,7 @@
15191519
},
15201520
{
15211521
"c": "#",
1522-
"t": "source.coffee string.regexp.coffee comment.line.number-sign.coffee punctuation.definition.comment.coffee",
1522+
"t": "source.coffee string.regexp.multiline.coffee comment.line.number-sign.coffee punctuation.definition.comment.coffee",
15231523
"r": {
15241524
"dark_plus": "comment: #608B4E",
15251525
"light_plus": "comment: #008000",
@@ -1530,7 +1530,7 @@
15301530
},
15311531
{
15321532
"c": " letters",
1533-
"t": "source.coffee string.regexp.coffee comment.line.number-sign.coffee",
1533+
"t": "source.coffee string.regexp.multiline.coffee comment.line.number-sign.coffee",
15341534
"r": {
15351535
"dark_plus": "comment: #608B4E",
15361536
"light_plus": "comment: #008000",
@@ -1541,7 +1541,7 @@
15411541
},
15421542
{
15431543
"c": "\t",
1544-
"t": "source.coffee string.regexp.coffee",
1544+
"t": "source.coffee string.regexp.multiline.coffee",
15451545
"r": {
15461546
"dark_plus": "string.regexp: #D16969",
15471547
"light_plus": "string.regexp: #811F3F",
@@ -1552,7 +1552,7 @@
15521552
},
15531553
{
15541554
"c": "$",
1555-
"t": "source.coffee string.regexp.coffee keyword.control.anchor.regexp",
1555+
"t": "source.coffee string.regexp.multiline.coffee keyword.control.anchor.regexp",
15561556
"r": {
15571557
"dark_plus": "keyword.control.anchor.regexp: #DCDCAA",
15581558
"light_plus": "keyword.control.anchor.regexp: #FF0000",
@@ -1563,7 +1563,7 @@
15631563
},
15641564
{
15651565
"c": "\t\t",
1566-
"t": "source.coffee string.regexp.coffee",
1566+
"t": "source.coffee string.regexp.multiline.coffee",
15671567
"r": {
15681568
"dark_plus": "string.regexp: #D16969",
15691569
"light_plus": "string.regexp: #811F3F",
@@ -1574,7 +1574,7 @@
15741574
},
15751575
{
15761576
"c": "#",
1577-
"t": "source.coffee string.regexp.coffee comment.line.number-sign.coffee punctuation.definition.comment.coffee",
1577+
"t": "source.coffee string.regexp.multiline.coffee comment.line.number-sign.coffee punctuation.definition.comment.coffee",
15781578
"r": {
15791579
"dark_plus": "comment: #608B4E",
15801580
"light_plus": "comment: #008000",
@@ -1585,7 +1585,7 @@
15851585
},
15861586
{
15871587
"c": " the end",
1588-
"t": "source.coffee string.regexp.coffee comment.line.number-sign.coffee",
1588+
"t": "source.coffee string.regexp.multiline.coffee comment.line.number-sign.coffee",
15891589
"r": {
15901590
"dark_plus": "comment: #608B4E",
15911591
"light_plus": "comment: #008000",
@@ -1596,7 +1596,7 @@
15961596
},
15971597
{
15981598
"c": "///",
1599-
"t": "source.coffee string.regexp.coffee punctuation.definition.string.end.coffee",
1599+
"t": "source.coffee string.regexp.multiline.coffee punctuation.definition.string.end.coffee",
16001600
"r": {
16011601
"dark_plus": "string.regexp: #D16969",
16021602
"light_plus": "string.regexp: #811F3F",

0 commit comments

Comments
 (0)