Skip to content

Commit 7790c4a

Browse files
committed
update grammars
1 parent 08f65e7 commit 7790c4a

37 files changed

Lines changed: 649 additions & 77 deletions

File tree

extensions/clojure/syntaxes/clojure.tmLanguage.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +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-clojure/commit/71068a45499cace7a69c45e337860ebbc9b7fccc",
78
"scopeName": "source.clojure",
89
"fileTypes": [
910
"boot",
@@ -15,7 +16,9 @@
1516
"cljx",
1617
"clojure",
1718
"edn",
18-
"org"
19+
"org",
20+
"joke",
21+
"joker"
1922
],
2023
"foldingStartMarker": "\\(\\s*$",
2124
"foldingStopMarker": "^\\s*\\)",

extensions/css/syntaxes/css.tmLanguage.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +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-css/commit/23dcdee3372050eb3f07374fbe9188884bd545d1",
78
"scopeName": "source.css",
89
"name": "CSS",
910
"fileTypes": [

extensions/diff/syntaxes/diff.tmLanguage.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +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/textmate/diff.tmbundle/commit/0593bb775eab1824af97ef2172fd38822abd97d7",
78
"fileTypes": [
89
"patch",
910
"diff",

extensions/docker/syntaxes/docker.tmLanguage.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +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/moby/moby/commit/8523e9d108a0e98865673701a7bd0a7929c5260b",
78
"fileTypes": [
89
"Dockerfile"
910
],

extensions/fsharp/syntaxes/fsharp.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +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/ionide/ionide-fsgrammar/commit/f2e3c30f0ebfcc89fb78ad908701159f20516812",
78
"name": "fsharp",
89
"scopeName": "source.fsharp",
910
"fileTypes": [

extensions/gitsyntax/syntaxes/git-commit.tmLanguage.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +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/textmate/git.tmbundle/commit/93897a78c6e52bef13dadc0d4091d203c5facb40",
78
"fileTypes": [
89
"COMMIT_EDITMSG",
910
"MERGE_MSG"

extensions/gitsyntax/syntaxes/git-rebase.tmLanguage.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +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/textmate/git.tmbundle/commit/d1db42c2d71948662098183a6df519fb53a7a15b",
78
"fileTypes": [
89
"git-rebase-todo"
910
],

extensions/go/syntaxes/go.json

Lines changed: 63 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +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-go/commit/c413bc93966c03031cd114c53c54bc7927eea25b",
78
"scopeName": "source.go",
89
"name": "Go",
910
"comment": "Go language",
@@ -308,16 +309,46 @@
308309
"brackets": {
309310
"patterns": [
310311
{
311-
"match": "\\{|\\}",
312-
"name": "punctuation.other.bracket.curly.go"
312+
"begin": "{",
313+
"beginCaptures": {
314+
"0": {
315+
"name": "punctuation.definition.begin.bracket.curly.go"
316+
}
317+
},
318+
"end": "}",
319+
"endCaptures": {
320+
"0": {
321+
"name": "punctuation.definition.end.bracket.curly.go"
322+
}
323+
},
324+
"patterns": [
325+
{
326+
"include": "$self"
327+
}
328+
]
313329
},
314330
{
315-
"match": "\\(|\\)",
316-
"name": "punctuation.other.bracket.round.go"
331+
"begin": "\\(",
332+
"beginCaptures": {
333+
"0": {
334+
"name": "punctuation.definition.begin.bracket.round.go"
335+
}
336+
},
337+
"end": "\\)",
338+
"endCaptures": {
339+
"0": {
340+
"name": "punctuation.definition.end.bracket.round.go"
341+
}
342+
},
343+
"patterns": [
344+
{
345+
"include": "$self"
346+
}
347+
]
317348
},
318349
{
319350
"match": "\\[|\\]",
320-
"name": "punctuation.other.bracket.square.go"
351+
"name": "punctuation.definition.bracket.square.go"
321352
}
322353
]
323354
},
@@ -387,13 +418,13 @@
387418
"begin": "\\(",
388419
"beginCaptures": {
389420
"0": {
390-
"name": "punctuation.other.bracket.round.go"
421+
"name": "punctuation.definition.imports.begin.bracket.round.go"
391422
}
392423
},
393424
"end": "\\)",
394425
"endCaptures": {
395426
"0": {
396-
"name": "punctuation.other.bracket.round.go"
427+
"name": "punctuation.definition.imports.end.bracket.round.go"
397428
}
398429
},
399430
"patterns": [
@@ -488,12 +519,29 @@
488519
"runes": {
489520
"patterns": [
490521
{
491-
"match": "\\'(\\\\([0-7]{3}|[abfnrtv\\\\'\"]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})|\\p{Any})\\'",
492-
"name": "constant.other.rune.go"
493-
},
494-
{
495-
"match": "\\'.*\\'",
496-
"name": "invalid.illegal.unknown-rune.go"
522+
"begin": "'",
523+
"beginCaptures": {
524+
"0": {
525+
"name": "punctuation.definition.string.begin.go"
526+
}
527+
},
528+
"end": "'",
529+
"endCaptures": {
530+
"0": {
531+
"name": "punctuation.definition.string.end.go"
532+
}
533+
},
534+
"name": "string.quoted.rune.go",
535+
"patterns": [
536+
{
537+
"match": "\\G(\\\\([0-7]{3}|[abfnrtv\\\\'\"]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})|.)(?=')",
538+
"name": "constant.other.rune.go"
539+
},
540+
{
541+
"match": "[^']+",
542+
"name": "invalid.illegal.unknown-rune.go"
543+
}
544+
]
497545
}
498546
]
499547
},
@@ -609,13 +657,13 @@
609657
"begin": "\\(",
610658
"beginCaptures": {
611659
"0": {
612-
"name": "punctuation.other.bracket.round.go"
660+
"name": "punctuation.definition.variables.begin.bracket.round.go"
613661
}
614662
},
615663
"end": "\\)",
616664
"endCaptures": {
617665
"0": {
618-
"name": "punctuation.other.bracket.round.go"
666+
"name": "punctuation.definition.variables.end.bracket.round.go"
619667
}
620668
},
621669
"patterns": [

extensions/go/test/colorize-results/test-13777_go.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
},
4646
{
4747
"c": "[][]",
48-
"t": "source.go punctuation.other.bracket.square.go",
48+
"t": "source.go punctuation.definition.bracket.square.go",
4949
"r": {
5050
"dark_plus": "default: #D4D4D4",
5151
"light_plus": "default: #000000",

extensions/go/test/colorize-results/test_go.json

Lines changed: 29 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
},
5757
{
5858
"c": "(",
59-
"t": "source.go punctuation.other.bracket.round.go",
59+
"t": "source.go punctuation.definition.imports.begin.bracket.round.go",
6060
"r": {
6161
"dark_plus": "default: #D4D4D4",
6262
"light_plus": "default: #000000",
@@ -155,7 +155,7 @@
155155
},
156156
{
157157
"c": ")",
158-
"t": "source.go punctuation.other.bracket.round.go",
158+
"t": "source.go punctuation.definition.imports.end.bracket.round.go",
159159
"r": {
160160
"dark_plus": "default: #D4D4D4",
161161
"light_plus": "default: #000000",
@@ -198,8 +198,19 @@
198198
}
199199
},
200200
{
201-
"c": "()",
202-
"t": "source.go punctuation.other.bracket.round.go",
201+
"c": "(",
202+
"t": "source.go punctuation.definition.begin.bracket.round.go",
203+
"r": {
204+
"dark_plus": "default: #D4D4D4",
205+
"light_plus": "default: #000000",
206+
"dark_vs": "default: #D4D4D4",
207+
"light_vs": "default: #000000",
208+
"hc_black": "default: #FFFFFF"
209+
}
210+
},
211+
{
212+
"c": ")",
213+
"t": "source.go punctuation.definition.end.bracket.round.go",
203214
"r": {
204215
"dark_plus": "default: #D4D4D4",
205216
"light_plus": "default: #000000",
@@ -221,7 +232,7 @@
221232
},
222233
{
223234
"c": "{",
224-
"t": "source.go punctuation.other.bracket.curly.go",
235+
"t": "source.go punctuation.definition.begin.bracket.curly.go",
225236
"r": {
226237
"dark_plus": "default: #D4D4D4",
227238
"light_plus": "default: #000000",
@@ -518,7 +529,7 @@
518529
},
519530
{
520531
"c": "(",
521-
"t": "source.go punctuation.other.bracket.round.go",
532+
"t": "source.go punctuation.definition.begin.bracket.round.go",
522533
"r": {
523534
"dark_plus": "default: #D4D4D4",
524535
"light_plus": "default: #000000",
@@ -606,7 +617,7 @@
606617
},
607618
{
608619
"c": ")",
609-
"t": "source.go punctuation.other.bracket.round.go",
620+
"t": "source.go punctuation.definition.end.bracket.round.go",
610621
"r": {
611622
"dark_plus": "default: #D4D4D4",
612623
"light_plus": "default: #000000",
@@ -694,7 +705,7 @@
694705
},
695706
{
696707
"c": "{",
697-
"t": "source.go punctuation.other.bracket.curly.go",
708+
"t": "source.go punctuation.definition.begin.bracket.curly.go",
698709
"r": {
699710
"dark_plus": "default: #D4D4D4",
700711
"light_plus": "default: #000000",
@@ -727,7 +738,7 @@
727738
},
728739
{
729740
"c": "(",
730-
"t": "source.go punctuation.other.bracket.round.go",
741+
"t": "source.go punctuation.definition.begin.bracket.round.go",
731742
"r": {
732743
"dark_plus": "default: #D4D4D4",
733744
"light_plus": "default: #000000",
@@ -749,7 +760,7 @@
749760
},
750761
{
751762
"c": ")",
752-
"t": "source.go punctuation.other.bracket.round.go",
763+
"t": "source.go punctuation.definition.end.bracket.round.go",
753764
"r": {
754765
"dark_plus": "default: #D4D4D4",
755766
"light_plus": "default: #000000",
@@ -771,7 +782,7 @@
771782
},
772783
{
773784
"c": "}",
774-
"t": "source.go punctuation.other.bracket.curly.go",
785+
"t": "source.go punctuation.definition.end.bracket.curly.go",
775786
"r": {
776787
"dark_plus": "default: #D4D4D4",
777788
"light_plus": "default: #000000",
@@ -892,7 +903,7 @@
892903
},
893904
{
894905
"c": "(",
895-
"t": "source.go punctuation.other.bracket.round.go",
906+
"t": "source.go punctuation.definition.begin.bracket.round.go",
896907
"r": {
897908
"dark_plus": "default: #D4D4D4",
898909
"light_plus": "default: #000000",
@@ -936,7 +947,7 @@
936947
},
937948
{
938949
"c": ")",
939-
"t": "source.go punctuation.other.bracket.round.go",
950+
"t": "source.go punctuation.definition.end.bracket.round.go",
940951
"r": {
941952
"dark_plus": "default: #D4D4D4",
942953
"light_plus": "default: #000000",
@@ -980,7 +991,7 @@
980991
},
981992
{
982993
"c": "(",
983-
"t": "source.go punctuation.other.bracket.round.go",
994+
"t": "source.go punctuation.definition.begin.bracket.round.go",
984995
"r": {
985996
"dark_plus": "default: #D4D4D4",
986997
"light_plus": "default: #000000",
@@ -1090,7 +1101,7 @@
10901101
},
10911102
{
10921103
"c": "(",
1093-
"t": "source.go punctuation.other.bracket.round.go",
1104+
"t": "source.go punctuation.definition.begin.bracket.round.go",
10941105
"r": {
10951106
"dark_plus": "default: #D4D4D4",
10961107
"light_plus": "default: #000000",
@@ -1222,7 +1233,7 @@
12221233
},
12231234
{
12241235
"c": ")",
1225-
"t": "source.go punctuation.other.bracket.round.go",
1236+
"t": "source.go punctuation.definition.end.bracket.round.go",
12261237
"r": {
12271238
"dark_plus": "default: #D4D4D4",
12281239
"light_plus": "default: #000000",
@@ -1277,7 +1288,7 @@
12771288
},
12781289
{
12791290
"c": ")",
1280-
"t": "source.go punctuation.other.bracket.round.go",
1291+
"t": "source.go punctuation.definition.end.bracket.round.go",
12811292
"r": {
12821293
"dark_plus": "default: #D4D4D4",
12831294
"light_plus": "default: #000000",
@@ -1288,7 +1299,7 @@
12881299
},
12891300
{
12901301
"c": "}",
1291-
"t": "source.go punctuation.other.bracket.curly.go",
1302+
"t": "source.go punctuation.definition.end.bracket.curly.go",
12921303
"r": {
12931304
"dark_plus": "default: #D4D4D4",
12941305
"light_plus": "default: #000000",

0 commit comments

Comments
 (0)