tm-grammars 1.6.4 → 1.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -9
- package/grammars/cobol.json +20 -0
- package/grammars/erlang.json +429 -162
- package/grammars/go.json +196 -92
- package/grammars/julia.json +5 -5
- package/grammars/latex.json +1006 -231
- package/grammars/rust.json +1 -1
- package/grammars/shellscript.json +581 -551
- package/grammars/tex.json +74 -30
- package/index.js +42 -41
- package/package.json +1 -1
package/grammars/go.json
CHANGED
|
@@ -418,6 +418,9 @@
|
|
|
418
418
|
{
|
|
419
419
|
"include": "#struct_variables_types"
|
|
420
420
|
},
|
|
421
|
+
{
|
|
422
|
+
"include": "#interface_variables_types"
|
|
423
|
+
},
|
|
421
424
|
{
|
|
422
425
|
"include": "#type-declarations-without-brackets"
|
|
423
426
|
},
|
|
@@ -435,8 +438,8 @@
|
|
|
435
438
|
]
|
|
436
439
|
}
|
|
437
440
|
},
|
|
438
|
-
"comment": "struct type declaration",
|
|
439
|
-
"match": "((?:(?:\\b\\w+\\,\\s*)+)?\\b\\w+)\\s+(?=(?:(?:\\s*(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(?:[\\[\\]\\*]+)?\\
|
|
441
|
+
"comment": "struct/interface type declaration",
|
|
442
|
+
"match": "((?:(?:\\b\\w+\\,\\s*)+)?\\b\\w+)\\s+(?=(?:(?:\\s*(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(?:[\\[\\]\\*]+)?\\b(?:struct|interface)\\b\\s*\\{)"
|
|
440
443
|
},
|
|
441
444
|
{
|
|
442
445
|
"captures": {
|
|
@@ -610,9 +613,32 @@
|
|
|
610
613
|
"generic_param_types": {
|
|
611
614
|
"comment": "generic parameter variables and types",
|
|
612
615
|
"patterns": [
|
|
616
|
+
{
|
|
617
|
+
"include": "#struct_variables_types"
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
"include": "#interface_variables_types"
|
|
621
|
+
},
|
|
613
622
|
{
|
|
614
623
|
"include": "#type-declarations-without-brackets"
|
|
615
624
|
},
|
|
625
|
+
{
|
|
626
|
+
"captures": {
|
|
627
|
+
"1": {
|
|
628
|
+
"patterns": [
|
|
629
|
+
{
|
|
630
|
+
"include": "#type-declarations"
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"match": "\\w+",
|
|
634
|
+
"name": "variable.parameter.go"
|
|
635
|
+
}
|
|
636
|
+
]
|
|
637
|
+
}
|
|
638
|
+
},
|
|
639
|
+
"comment": "struct/interface type declaration",
|
|
640
|
+
"match": "((?:(?:\\b\\w+\\,\\s*)+)?\\b\\w+)\\s+(?=(?:(?:\\s*(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(?:[\\[\\]\\*]+)?\\b(?:struct|interface)\\b\\s*\\{)"
|
|
641
|
+
},
|
|
616
642
|
{
|
|
617
643
|
"captures": {
|
|
618
644
|
"1": {
|
|
@@ -881,101 +907,105 @@
|
|
|
881
907
|
]
|
|
882
908
|
},
|
|
883
909
|
"interface_variables_types": {
|
|
910
|
+
"begin": "(\\binterface\\b)\\s*(\\{)",
|
|
911
|
+
"beginCaptures": {
|
|
912
|
+
"1": {
|
|
913
|
+
"name": "keyword.interface.go"
|
|
914
|
+
},
|
|
915
|
+
"2": {
|
|
916
|
+
"name": "punctuation.definition.begin.bracket.curly.go"
|
|
917
|
+
}
|
|
918
|
+
},
|
|
919
|
+
"comment": "interface variable types",
|
|
920
|
+
"end": "\\}",
|
|
921
|
+
"endCaptures": {
|
|
922
|
+
"0": {
|
|
923
|
+
"name": "punctuation.definition.end.bracket.curly.go"
|
|
924
|
+
}
|
|
925
|
+
},
|
|
884
926
|
"patterns": [
|
|
885
927
|
{
|
|
886
|
-
"
|
|
928
|
+
"include": "#interface_variables_types_field"
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
"include": "$self"
|
|
932
|
+
}
|
|
933
|
+
]
|
|
934
|
+
},
|
|
935
|
+
"interface_variables_types_field": {
|
|
936
|
+
"comment": "interface variable type fields",
|
|
937
|
+
"patterns": [
|
|
938
|
+
{
|
|
939
|
+
"include": "#support_functions"
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
"include": "#type-declarations-without-brackets"
|
|
943
|
+
},
|
|
944
|
+
{
|
|
945
|
+
"begin": "(?:([\\w\\.\\*]+)?(\\[))",
|
|
887
946
|
"beginCaptures": {
|
|
888
947
|
"1": {
|
|
889
|
-
"
|
|
948
|
+
"patterns": [
|
|
949
|
+
{
|
|
950
|
+
"include": "#type-declarations"
|
|
951
|
+
},
|
|
952
|
+
{
|
|
953
|
+
"match": "(?:\\w+)",
|
|
954
|
+
"name": "entity.name.type.go"
|
|
955
|
+
}
|
|
956
|
+
]
|
|
890
957
|
},
|
|
891
958
|
"2": {
|
|
892
|
-
"name": "punctuation.definition.begin.bracket.
|
|
959
|
+
"name": "punctuation.definition.begin.bracket.square.go"
|
|
893
960
|
}
|
|
894
961
|
},
|
|
895
|
-
"
|
|
896
|
-
"end": "\\}",
|
|
962
|
+
"end": "\\]",
|
|
897
963
|
"endCaptures": {
|
|
898
964
|
"0": {
|
|
899
|
-
"name": "punctuation.definition.end.bracket.
|
|
965
|
+
"name": "punctuation.definition.end.bracket.square.go"
|
|
900
966
|
}
|
|
901
967
|
},
|
|
902
968
|
"patterns": [
|
|
903
969
|
{
|
|
904
|
-
"include": "#
|
|
905
|
-
}
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
970
|
+
"include": "#generic_param_types"
|
|
971
|
+
}
|
|
972
|
+
]
|
|
973
|
+
},
|
|
974
|
+
{
|
|
975
|
+
"begin": "\\(",
|
|
976
|
+
"beginCaptures": {
|
|
977
|
+
"0": {
|
|
978
|
+
"name": "punctuation.definition.begin.bracket.round.go"
|
|
979
|
+
}
|
|
980
|
+
},
|
|
981
|
+
"end": "\\)",
|
|
982
|
+
"endCaptures": {
|
|
983
|
+
"0": {
|
|
984
|
+
"name": "punctuation.definition.end.bracket.round.go"
|
|
985
|
+
}
|
|
986
|
+
},
|
|
987
|
+
"patterns": [
|
|
909
988
|
{
|
|
910
|
-
"
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
{
|
|
918
|
-
"match": "(?:\\w+)",
|
|
919
|
-
"name": "entity.name.type.go"
|
|
920
|
-
}
|
|
921
|
-
]
|
|
922
|
-
},
|
|
923
|
-
"2": {
|
|
924
|
-
"name": "punctuation.definition.begin.bracket.square.go"
|
|
925
|
-
}
|
|
926
|
-
},
|
|
927
|
-
"end": "\\]",
|
|
928
|
-
"endCaptures": {
|
|
929
|
-
"0": {
|
|
930
|
-
"name": "punctuation.definition.end.bracket.square.go"
|
|
931
|
-
}
|
|
932
|
-
},
|
|
989
|
+
"include": "#function_param_types"
|
|
990
|
+
}
|
|
991
|
+
]
|
|
992
|
+
},
|
|
993
|
+
{
|
|
994
|
+
"captures": {
|
|
995
|
+
"1": {
|
|
933
996
|
"patterns": [
|
|
934
997
|
{
|
|
935
|
-
"include": "#
|
|
936
|
-
}
|
|
937
|
-
]
|
|
938
|
-
},
|
|
939
|
-
{
|
|
940
|
-
"begin": "\\(",
|
|
941
|
-
"beginCaptures": {
|
|
942
|
-
"0": {
|
|
943
|
-
"name": "punctuation.definition.begin.bracket.round.go"
|
|
944
|
-
}
|
|
945
|
-
},
|
|
946
|
-
"end": "\\)",
|
|
947
|
-
"endCaptures": {
|
|
948
|
-
"0": {
|
|
949
|
-
"name": "punctuation.definition.end.bracket.round.go"
|
|
950
|
-
}
|
|
951
|
-
},
|
|
952
|
-
"patterns": [
|
|
998
|
+
"include": "#type-declarations"
|
|
999
|
+
},
|
|
953
1000
|
{
|
|
954
|
-
"
|
|
1001
|
+
"match": "\\w+",
|
|
1002
|
+
"name": "entity.name.type.go"
|
|
955
1003
|
}
|
|
956
1004
|
]
|
|
957
|
-
},
|
|
958
|
-
{
|
|
959
|
-
"captures": {
|
|
960
|
-
"1": {
|
|
961
|
-
"patterns": [
|
|
962
|
-
{
|
|
963
|
-
"include": "#type-declarations"
|
|
964
|
-
},
|
|
965
|
-
{
|
|
966
|
-
"match": "\\w+",
|
|
967
|
-
"name": "entity.name.type.go"
|
|
968
|
-
}
|
|
969
|
-
]
|
|
970
|
-
}
|
|
971
|
-
},
|
|
972
|
-
"comment": "other types",
|
|
973
|
-
"match": "([\\w\\.]+)"
|
|
974
|
-
},
|
|
975
|
-
{
|
|
976
|
-
"include": "$self"
|
|
977
1005
|
}
|
|
978
|
-
|
|
1006
|
+
},
|
|
1007
|
+
"comment": "other types",
|
|
1008
|
+
"match": "([\\w\\.]+)"
|
|
979
1009
|
}
|
|
980
1010
|
]
|
|
981
1011
|
},
|
|
@@ -1057,7 +1087,7 @@
|
|
|
1057
1087
|
}
|
|
1058
1088
|
},
|
|
1059
1089
|
"comment": "map types",
|
|
1060
|
-
"end": "(?:(\\])((?:(?:(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(?!(?:[\\[\\]\\*]+)?\\b(?:func|struct|map)\\b)[
|
|
1090
|
+
"end": "(?:(\\])((?:(?:(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(?!(?:[\\[\\]\\*]+)?\\b(?:func|struct|map)\\b)(?:[\\*\\[\\]]+)?(?:[\\w\\.]+))?)",
|
|
1061
1091
|
"endCaptures": {
|
|
1062
1092
|
"1": {
|
|
1063
1093
|
"name": "punctuation.definition.end.bracket.square.go"
|
|
@@ -1087,7 +1117,7 @@
|
|
|
1087
1117
|
"include": "#type-declarations-without-brackets"
|
|
1088
1118
|
},
|
|
1089
1119
|
{
|
|
1090
|
-
"include": "#
|
|
1120
|
+
"include": "#parameter-variable-types"
|
|
1091
1121
|
},
|
|
1092
1122
|
{
|
|
1093
1123
|
"include": "#functions"
|
|
@@ -1872,7 +1902,7 @@
|
|
|
1872
1902
|
}
|
|
1873
1903
|
},
|
|
1874
1904
|
"comment": "single type declaration",
|
|
1875
|
-
"match": "(?:(?:^\\s*)(\\btype\\b)(?:\\s*)([\\w\\.\\*]+)(?:\\s+)(?!(?:[\\[\\]\\*]+)?\\b(?:struct|interface)\\b)([\\s\\S]+))"
|
|
1905
|
+
"match": "(?:(?:^\\s*)(\\btype\\b)(?:\\s*)([\\w\\.\\*]+)(?:\\s+)(?!(?:\\=\\s*)?(?:[\\[\\]\\*]+)?\\b(?:struct|interface)\\b)([\\s\\S]+))"
|
|
1876
1906
|
},
|
|
1877
1907
|
{
|
|
1878
1908
|
"begin": "(?:(?:^|\\s+)(\\btype\\b)(?:\\s*)([\\w\\.\\*]+)(?=\\[))",
|
|
@@ -2101,9 +2131,10 @@
|
|
|
2101
2131
|
"match": "(?:(?:^\\s*)(\\btype\\b)(?:\\s*)([\\w\\.]+))"
|
|
2102
2132
|
},
|
|
2103
2133
|
"struct_variable_types_fields_multi": {
|
|
2134
|
+
"comment": "struct variable and type fields with multi lines",
|
|
2104
2135
|
"patterns": [
|
|
2105
2136
|
{
|
|
2106
|
-
"begin": "(?:(
|
|
2137
|
+
"begin": "(?:((?:\\w+(?:\\,\\s*\\w+)*)(?:(?:\\s*(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(?:\\s+)(?:[\\[\\]\\*]+)?)(\\bstruct\\b)(?:\\s*)(\\{))",
|
|
2107
2138
|
"beginCaptures": {
|
|
2108
2139
|
"1": {
|
|
2109
2140
|
"patterns": [
|
|
@@ -2123,7 +2154,7 @@
|
|
|
2123
2154
|
"name": "punctuation.definition.begin.bracket.curly.go"
|
|
2124
2155
|
}
|
|
2125
2156
|
},
|
|
2126
|
-
"comment": "
|
|
2157
|
+
"comment": "struct in struct types",
|
|
2127
2158
|
"end": "\\}",
|
|
2128
2159
|
"endCaptures": {
|
|
2129
2160
|
"0": {
|
|
@@ -2138,22 +2169,29 @@
|
|
|
2138
2169
|
"include": "$self"
|
|
2139
2170
|
}
|
|
2140
2171
|
]
|
|
2141
|
-
}
|
|
2142
|
-
]
|
|
2143
|
-
},
|
|
2144
|
-
"struct_variables_types": {
|
|
2145
|
-
"patterns": [
|
|
2172
|
+
},
|
|
2146
2173
|
{
|
|
2147
|
-
"begin": "(\\
|
|
2174
|
+
"begin": "(?:((?:\\w+(?:\\,\\s*\\w+)*)(?:(?:\\s*(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(?:\\s+)(?:[\\[\\]\\*]+)?)(\\binterface\\b)(?:\\s*)(\\{))",
|
|
2148
2175
|
"beginCaptures": {
|
|
2149
2176
|
"1": {
|
|
2150
|
-
"
|
|
2177
|
+
"patterns": [
|
|
2178
|
+
{
|
|
2179
|
+
"include": "#type-declarations"
|
|
2180
|
+
},
|
|
2181
|
+
{
|
|
2182
|
+
"match": "\\w+",
|
|
2183
|
+
"name": "variable.other.property.go"
|
|
2184
|
+
}
|
|
2185
|
+
]
|
|
2151
2186
|
},
|
|
2152
2187
|
"2": {
|
|
2188
|
+
"name": "keyword.interface.go"
|
|
2189
|
+
},
|
|
2190
|
+
"3": {
|
|
2153
2191
|
"name": "punctuation.definition.begin.bracket.curly.go"
|
|
2154
2192
|
}
|
|
2155
2193
|
},
|
|
2156
|
-
"comment": "
|
|
2194
|
+
"comment": "interface in struct types",
|
|
2157
2195
|
"end": "\\}",
|
|
2158
2196
|
"endCaptures": {
|
|
2159
2197
|
"0": {
|
|
@@ -2162,12 +2200,78 @@
|
|
|
2162
2200
|
},
|
|
2163
2201
|
"patterns": [
|
|
2164
2202
|
{
|
|
2165
|
-
"include": "#
|
|
2203
|
+
"include": "#interface_variables_types_field"
|
|
2204
|
+
},
|
|
2205
|
+
{
|
|
2206
|
+
"include": "$self"
|
|
2207
|
+
}
|
|
2208
|
+
]
|
|
2209
|
+
},
|
|
2210
|
+
{
|
|
2211
|
+
"begin": "(?:((?:\\w+(?:\\,\\s*\\w+)*)(?:(?:\\s*(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(?:\\s+)(?:[\\[\\]\\*]+)?)(\\bfunc\\b)(?:\\s*)(\\())",
|
|
2212
|
+
"beginCaptures": {
|
|
2213
|
+
"1": {
|
|
2214
|
+
"patterns": [
|
|
2215
|
+
{
|
|
2216
|
+
"include": "#type-declarations"
|
|
2217
|
+
},
|
|
2218
|
+
{
|
|
2219
|
+
"match": "\\w+",
|
|
2220
|
+
"name": "variable.other.property.go"
|
|
2221
|
+
}
|
|
2222
|
+
]
|
|
2223
|
+
},
|
|
2224
|
+
"2": {
|
|
2225
|
+
"name": "keyword.function.go"
|
|
2226
|
+
},
|
|
2227
|
+
"3": {
|
|
2228
|
+
"name": "punctuation.definition.begin.bracket.round.go"
|
|
2229
|
+
}
|
|
2230
|
+
},
|
|
2231
|
+
"comment": "function in struct types",
|
|
2232
|
+
"end": "\\)",
|
|
2233
|
+
"endCaptures": {
|
|
2234
|
+
"0": {
|
|
2235
|
+
"name": "punctuation.definition.end.bracket.round.go"
|
|
2236
|
+
}
|
|
2237
|
+
},
|
|
2238
|
+
"patterns": [
|
|
2239
|
+
{
|
|
2240
|
+
"include": "#function_param_types"
|
|
2166
2241
|
},
|
|
2167
2242
|
{
|
|
2168
2243
|
"include": "$self"
|
|
2169
2244
|
}
|
|
2170
2245
|
]
|
|
2246
|
+
},
|
|
2247
|
+
{
|
|
2248
|
+
"include": "#parameter-variable-types"
|
|
2249
|
+
}
|
|
2250
|
+
]
|
|
2251
|
+
},
|
|
2252
|
+
"struct_variables_types": {
|
|
2253
|
+
"begin": "(\\bstruct\\b)\\s*(\\{)",
|
|
2254
|
+
"beginCaptures": {
|
|
2255
|
+
"1": {
|
|
2256
|
+
"name": "keyword.struct.go"
|
|
2257
|
+
},
|
|
2258
|
+
"2": {
|
|
2259
|
+
"name": "punctuation.definition.begin.bracket.curly.go"
|
|
2260
|
+
}
|
|
2261
|
+
},
|
|
2262
|
+
"comment": "Struct variable type",
|
|
2263
|
+
"end": "\\}",
|
|
2264
|
+
"endCaptures": {
|
|
2265
|
+
"0": {
|
|
2266
|
+
"name": "punctuation.definition.end.bracket.curly.go"
|
|
2267
|
+
}
|
|
2268
|
+
},
|
|
2269
|
+
"patterns": [
|
|
2270
|
+
{
|
|
2271
|
+
"include": "#struct_variables_types_fields"
|
|
2272
|
+
},
|
|
2273
|
+
{
|
|
2274
|
+
"include": "$self"
|
|
2171
2275
|
}
|
|
2172
2276
|
]
|
|
2173
2277
|
},
|
|
@@ -2251,13 +2355,13 @@
|
|
|
2251
2355
|
]
|
|
2252
2356
|
}
|
|
2253
2357
|
},
|
|
2254
|
-
"match": "(?:((?:(?:\\w+\\,\\s*)+)?(?:\\w+\\s+))?((?:(?:\\s*(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(?:[\\
|
|
2358
|
+
"match": "(?:((?:(?:\\w+\\,\\s*)+)?(?:\\w+\\s+))?((?:(?:\\s*(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(?:[\\S]+)(?:\\;)?))"
|
|
2255
2359
|
}
|
|
2256
2360
|
]
|
|
2257
2361
|
}
|
|
2258
2362
|
},
|
|
2259
2363
|
"comment": "one line with semicolon(;) without formatting gofmt - single type | property variables and types",
|
|
2260
|
-
"match": "(?:(?<=\\{)((?:\\s*(?:(?:(?:\\w+\\,\\s*)+)?(?:\\w+\\s+))?(?:(?:(?:\\s*(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(?:[\\
|
|
2364
|
+
"match": "(?:(?<=\\{)((?:\\s*(?:(?:(?:\\w+\\,\\s*)+)?(?:\\w+\\s+))?(?:(?:(?:\\s*(?:[\\*\\[\\]]+)?(?:\\<\\-\\s*)?\\bchan\\b(?:\\s*\\<\\-)?\\s*)+)?(?:[\\S]+)(?:\\;)?))+)\\s*(?=\\}))"
|
|
2261
2365
|
},
|
|
2262
2366
|
{
|
|
2263
2367
|
"captures": {
|
package/grammars/julia.json
CHANGED
|
@@ -335,7 +335,7 @@
|
|
|
335
335
|
"operator": {
|
|
336
336
|
"patterns": [
|
|
337
337
|
{
|
|
338
|
-
"match": "(
|
|
338
|
+
"match": "\\.?(?:<-->|->|-->|<--|←|→|↔|↚|↛|↞|↠|↢|↣|↦|↤|↮|⇎|⇍|⇏|⇐|⇒|⇔|⇴|⇶|⇷|⇸|⇹|⇺|⇻|⇼|⇽|⇾|⇿|⟵|⟶|⟷|⟹|⟺|⟻|⟼|⟽|⟾|⟿|⤀|⤁|⤂|⤃|⤄|⤅|⤆|⤇|⤌|⤍|⤎|⤏|⤐|⤑|⤔|⤕|⤖|⤗|⤘|⤝|⤞|⤟|⤠|⥄|⥅|⥆|⥇|⥈|⥊|⥋|⥎|⥐|⥒|⥓|⥖|⥗|⥚|⥛|⥞|⥟|⥢|⥤|⥦|⥧|⥨|⥩|⥪|⥫|⥬|⥭|⥰|⧴|⬱|⬰|⬲|⬳|⬴|⬵|⬶|⬷|⬸|⬹|⬺|⬻|⬼|⬽|⬾|⬿|⭀|⭁|⭂|⭃|⥷|⭄|⥺|⭇|⭈|⭉|⭊|⭋|⭌|←|→|⇜|⇝|↜|↝|↩|↪|↫|↬|↼|↽|⇀|⇁|⇄|⇆|⇇|⇉|⇋|⇌|⇚|⇛|⇠|⇢|↷|↶|↺|↻|=>)",
|
|
339
339
|
"name": "keyword.operator.arrow.julia"
|
|
340
340
|
},
|
|
341
341
|
{
|
|
@@ -361,7 +361,7 @@
|
|
|
361
361
|
"match": "(?:\\s*(::|>:|<:)\\s*((?:(?:Union)?\\([^)]*\\)|[[:alpha:]_$∇][[:word:]⁺-ₜ!′\\.]*(?:(?:{(?:[^{}]|{(?:[^{}]|{[^{}]*})*})*})|(?:\".+?(?<!\\\\)\"))?)))(?:\\.\\.\\.)?((?:\\.)?'*)"
|
|
362
362
|
},
|
|
363
363
|
{
|
|
364
|
-
"match": "(
|
|
364
|
+
"match": "(\\.?((?<!<)<=|(?<!>)>=|>|<|≥|≤|===|==|≡|!=|≠|!==|≢|∈|∉|∋|∌|⊆|⊈|⊂|⊄|⊊|∝|∊|∍|∥|∦|∷|∺|∻|∽|∾|≁|≃|≂|≄|≅|≆|≇|≈|≉|≊|≋|≌|≍|≎|≐|≑|≒|≓|≖|≗|≘|≙|≚|≛|≜|≝|≞|≟|≣|≦|≧|≨|≩|≪|≫|≬|≭|≮|≯|≰|≱|≲|≳|≴|≵|≶|≷|≸|≹|≺|≻|≼|≽|≾|≿|⊀|⊁|⊃|⊅|⊇|⊉|⊋|⊏|⊐|⊑|⊒|⊜|⊩|⊬|⊮|⊰|⊱|⊲|⊳|⊴|⊵|⊶|⊷|⋍|⋐|⋑|⋕|⋖|⋗|⋘|⋙|⋚|⋛|⋜|⋝|⋞|⋟|⋠|⋡|⋢|⋣|⋤|⋥|⋦|⋧|⋨|⋩|⋪|⋫|⋬|⋭|⋲|⋳|⋴|⋵|⋶|⋷|⋸|⋹|⋺|⋻|⋼|⋽|⋾|⋿|⟈|⟉|⟒|⦷|⧀|⧁|⧡|⧣|⧤|⧥|⩦|⩧|⩪|⩫|⩬|⩭|⩮|⩯|⩰|⩱|⩲|⩳|⩵|⩶|⩷|⩸|⩹|⩺|⩻|⩼|⩽|⩾|⩿|⪀|⪁|⪂|⪃|⪄|⪅|⪆|⪇|⪈|⪉|⪊|⪋|⪌|⪍|⪎|⪏|⪐|⪑|⪒|⪓|⪔|⪕|⪖|⪗|⪘|⪙|⪚|⪛|⪜|⪝|⪞|⪟|⪠|⪡|⪢|⪣|⪤|⪥|⪦|⪧|⪨|⪩|⪪|⪫|⪬|⪭|⪮|⪯|⪰|⪱|⪲|⪳|⪴|⪵|⪶|⪷|⪸|⪹|⪺|⪻|⪼|⪽|⪾|⪿|⫀|⫁|⫂|⫃|⫄|⫅|⫆|⫇|⫈|⫉|⫊|⫋|⫌|⫍|⫎|⫏|⫐|⫑|⫒|⫓|⫔|⫕|⫖|⫗|⫘|⫙|⫷|⫸|⫹|⫺|⊢|⊣|⟂|⫪|⫫|<:|>:))",
|
|
365
365
|
"name": "keyword.operator.relation.julia"
|
|
366
366
|
},
|
|
367
367
|
{
|
|
@@ -385,11 +385,11 @@
|
|
|
385
385
|
"name": "keyword.operator.applies.julia"
|
|
386
386
|
},
|
|
387
387
|
{
|
|
388
|
-
"match": "(
|
|
388
|
+
"match": "(?:\\||\\.\\||\\&|\\.\\&|~|¬|\\.~|⊻|\\.⊻)",
|
|
389
389
|
"name": "keyword.operator.bitwise.julia"
|
|
390
390
|
},
|
|
391
391
|
{
|
|
392
|
-
"match": "(
|
|
392
|
+
"match": "\\.?(?:\\+\\+|\\-\\-|\\+|\\-|−|¦|\\||⊕|⊖|⊞|⊟|∪|∨|⊔|±|∓|∔|∸|≏|⊎|⊻|⊽|⋎|⋓|⟇|⧺|⧻|⨈|⨢|⨣|⨤|⨥|⨦|⨧|⨨|⨩|⨪|⨫|⨬|⨭|⨮|⨹|⨺|⩁|⩂|⩅|⩊|⩌|⩏|⩐|⩒|⩔|⩖|⩗|⩛|⩝|⩡|⩢|⩣|\\*|//?|⌿|÷|%|&|·|·|⋅|∘|×|\\\\|∩|∧|⊗|⊘|⊙|⊚|⊛|⊠|⊡|⊓|∗|∙|∤|⅋|≀|⊼|⋄|⋆|⋇|⋉|⋊|⋋|⋌|⋏|⋒|⟑|⦸|⦼|⦾|⦿|⧶|⧷|⨇|⨰|⨱|⨲|⨳|⨴|⨵|⨶|⨷|⨸|⨻|⨼|⨽|⩀|⩃|⩄|⩋|⩍|⩎|⩑|⩓|⩕|⩘|⩚|⩜|⩞|⩟|⩠|⫛|⊍|▷|⨝|⟕|⟖|⟗|⨟|\\^|↑|↓|⇵|⟰|⟱|⤈|⤉|⤊|⤋|⤒|⤓|⥉|⥌|⥍|⥏|⥑|⥔|⥕|⥘|⥙|⥜|⥝|⥠|⥡|⥣|⥥|⥮|⥯|↑|↓|√|∛|∜|⋆|±|∓)",
|
|
393
393
|
"name": "keyword.operator.arithmetic.julia"
|
|
394
394
|
},
|
|
395
395
|
{
|
|
@@ -405,7 +405,7 @@
|
|
|
405
405
|
"name": "keyword.operator.relation.in.julia"
|
|
406
406
|
},
|
|
407
407
|
{
|
|
408
|
-
"match": "(?:\\.(?=(?:@|_|\\p{L}))
|
|
408
|
+
"match": "(?:\\.(?=(?:@|_|\\p{L}))|\\.\\.+|…|⁝|⋮|⋱|⋰|⋯)",
|
|
409
409
|
"name": "keyword.operator.dots.julia"
|
|
410
410
|
},
|
|
411
411
|
{
|