github-linguist 4.8.13 → 4.8.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 46c7351e7ebad2d30eedeed7981f723ecc0df1b6
4
- data.tar.gz: 54ede4cdeb8dc158f7a8fd84cae08d4355e52542
3
+ metadata.gz: 5c3e75c75f35dcf001db52496a1ac0617dc0e410
4
+ data.tar.gz: 75f15c826735561eef136870c55b4cb2ca2f47c2
5
5
  SHA512:
6
- metadata.gz: 6ffaaacc36d9641f040034fe838aff903e28539c098afc6d3de31829e925c4388fa728cab76df0cd05a14880d1831d5b2ae51a8aaa980b4bee72444a9e7cde62
7
- data.tar.gz: f5a2ed2442c4264e292515b2308511ff2834eb4f33ffb21bca04bee729530640690c5952f930b66f96e4c30ba17f85a8078d9407c34a975a8b83079414b3d24d
6
+ metadata.gz: 3468f457589aad859584bfe169e86b93224d2e452ca887466825b1dd07cffe24a859929c4943062c5dcdfcd2c03b7b21081848176db018dd93d657b58c48083a
7
+ data.tar.gz: 7a49daf07f6e2bce3546e8b2b3e333ee30c366cfa39c4808bef2ba24693afed578cdeddc06533845b00bbfb1e206771a25077e6a37dc59308b921048b0695456
@@ -900,7 +900,7 @@
900
900
  }
901
901
  },
902
902
  {
903
- "match": "(::|∷)(.*?)(?:(?<![\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']])(<-|=)(?![\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']])|$)",
903
+ "match": "(::|∷)(.*?)(?=(?<![\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']])(<-|=)(?![\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']])|$)",
904
904
  "captures": {
905
905
  "1": {
906
906
  "name": "keyword.other.double-colon.haskell"
@@ -912,16 +912,6 @@
912
912
  "include": "#type_signature"
913
913
  }
914
914
  ]
915
- },
916
- "3": {
917
- "patterns": [
918
- {
919
- "include": "#assignment_op"
920
- },
921
- {
922
- "include": "#operator"
923
- }
924
- ]
925
915
  }
926
916
  }
927
917
  }
@@ -924,7 +924,7 @@
924
924
  }
925
925
  },
926
926
  {
927
- "match": "(::|∷)(.*?)(?:(?<![\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']])(<-|=)(?![\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']])|$)",
927
+ "match": "(::|∷)(.*?)(?=(?<![\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']])(<-|=)(?![\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']])|$)",
928
928
  "captures": {
929
929
  "1": {
930
930
  "name": "keyword.other.double-colon.haskell"
@@ -936,16 +936,6 @@
936
936
  "include": "#type_signature"
937
937
  }
938
938
  ]
939
- },
940
- "3": {
941
- "patterns": [
942
- {
943
- "include": "#assignment_op"
944
- },
945
- {
946
- "include": "#operator"
947
- }
948
- ]
949
939
  }
950
940
  }
951
941
  }
@@ -897,7 +897,7 @@
897
897
  }
898
898
  },
899
899
  {
900
- "match": "(::|∷)(.*?)(?:(?<![\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']])(<-|=)(?![\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']])|$)",
900
+ "match": "(::|∷)(.*?)(?=(?<![\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']])(<-|=)(?![\\p{S}\\p{P}&&[^(),;\\[\\]`{}_\"']])|$)",
901
901
  "captures": {
902
902
  "1": {
903
903
  "name": "keyword.other.double-colon.haskell"
@@ -909,16 +909,6 @@
909
909
  "include": "#type_signature"
910
910
  }
911
911
  ]
912
- },
913
- "3": {
914
- "patterns": [
915
- {
916
- "include": "#assignment_op"
917
- },
918
- {
919
- "include": "#operator"
920
- }
921
- ]
922
912
  }
923
913
  }
924
914
  }
@@ -11,11 +11,11 @@
11
11
  },
12
12
  {
13
13
  "match": "::=",
14
- "name": "keyword.operator.asn"
14
+ "name": "storage.type.asn"
15
15
  },
16
16
  {
17
17
  "match": "\\|",
18
- "name": "keyword.operator.asn"
18
+ "name": "storage.type.asn"
19
19
  },
20
20
  {
21
21
  "match": "\\.\\.",
@@ -27,16 +27,16 @@
27
27
  },
28
28
  {
29
29
  "match": "(BOOLEAN|INTEGER|ENUMERATED|REAL|(BIT|OCTET) STRING|NULL|OBJECT IDENTIFIER|ANY|DATE|DATE-TIME|(Numeric|Printable|Teletex|IA5|Visible|Graphic|General)String|(Generalized|UTC)Time|EXTERNAL|Object Descriptor)",
30
- "name": "variable.other.asn"
30
+ "name": "variable.language.asn"
31
31
  },
32
32
  {
33
- "match": "[-+]?[0-9]+|[-+]?\\.[0-9]+",
33
+ "match": "([-+]?[0-9]+|[-+]?\\.[0-9]+)(?=\\)|\\.\\.)",
34
34
  "name": "constant.numeric.float.asn"
35
35
  },
36
36
  {
37
37
  "begin": "\"",
38
38
  "end": "\"",
39
- "name": "string.quoted.double.turing"
39
+ "name": "string.quoted.double.asn"
40
40
  },
41
41
  {
42
42
  "match": "OPTIONAL|SIZE|\\^ FROM",
@@ -44,7 +44,7 @@
44
44
  },
45
45
  {
46
46
  "match": "DEFINITIONS|AUTOMATIC TAGS|BEGIN|END",
47
- "name": "keyword.control.asn"
47
+ "name": "entity.name.type.class.asn"
48
48
  },
49
49
  {
50
50
  "match": "IMPORTS|FROM",
@@ -46,6 +46,9 @@
46
46
  },
47
47
  "comments": {
48
48
  "patterns": [
49
+ {
50
+ "include": "#commentDoc"
51
+ },
49
52
  {
50
53
  "include": "#commentBlock"
51
54
  },
@@ -54,6 +57,26 @@
54
57
  }
55
58
  ]
56
59
  },
60
+ "commentDoc": {
61
+ "name": "comment.block.documentation",
62
+ "begin": "/\\*\\*",
63
+ "end": "\\*/",
64
+ "beginCaptures": {
65
+ "0": {
66
+ "name": "punctuation.definition.comment.documentation.begin.clean"
67
+ }
68
+ },
69
+ "endCaptures": {
70
+ "0": {
71
+ "name": "punctuation.definition.comment.documentation.begin.clean"
72
+ }
73
+ },
74
+ "patterns": [
75
+ {
76
+ "include": "text.md"
77
+ }
78
+ ]
79
+ },
57
80
  "commentBlock": {
58
81
  "name": "comment.block.clean",
59
82
  "begin": "/\\*",
@@ -107,7 +130,7 @@
107
130
  },
108
131
  "keywordReserved": {
109
132
  "name": "keyword.reserved.clean",
110
- "match": "\\b(special|code|inline|foreign|export|ccall|stdcall|generic|derive|infixl|infixr)\\b"
133
+ "match": "\\b(special|code|inline|foreign|export|ccall|stdcall|generic|derive|infix(l|r)?|otherwise)\\b"
111
134
  },
112
135
  "literals": {
113
136
  "patterns": [
@@ -136,23 +159,23 @@
136
159
  },
137
160
  "literalChar": {
138
161
  "name": "constant.character.clean",
139
- "match": "'.'"
162
+ "match": "'([^'\\\\]|\\\\(x[0-9a-fA-F]+|\\d+|.))'"
140
163
  },
141
164
  "literalInt": {
142
165
  "name": "constant.numeric.integer.decimal.clean",
143
- "match": "\\b[+-]?[0-9]+\\b"
166
+ "match": "\\b[+~-]?[0-9]+\\b"
144
167
  },
145
168
  "literalOct": {
146
169
  "name": "constant.numeric.integer.octal.clean",
147
- "match": "\\b0[0-7]+\\b"
170
+ "match": "\\b[+~-]?0[0-7]+\\b"
148
171
  },
149
172
  "literalHex": {
150
173
  "name": "constant.numeric.integer.hexadecimal.clean",
151
- "match": "\\b0x[0-9A-Fa-f]+\\b"
174
+ "match": "\\b[+~-]?0x[0-9A-Fa-f]+\\b"
152
175
  },
153
176
  "literalReal": {
154
177
  "name": "constant.numeric.float.clean",
155
- "match": "\\b[+-]?[0-9]+\\.[0-9]+([eE][+-]?[0-9]+)?\\b"
178
+ "match": "\\b[+~-]?[0-9]+\\.[0-9]+(E[+-]?[0-9]+)?\\b"
156
179
  },
157
180
  "literalBool": {
158
181
  "name": "constant.language.boolean.clean",
@@ -281,7 +281,7 @@
281
281
  "name": "constant.language.boolean.false.coffee"
282
282
  },
283
283
  {
284
- "match": "@?\\b(?!class|subclass|extends|decodeURI(Component)?|encodeURI(Component)?|eval|parse(Float|Int)|require)(\\w+)(?=\\s+(?!(of|in|then|is|isnt|and|or|for|else|when|not|if)\\b)(?=(@?\\w+|\\->|\\-\\d|\\[|\\{|\"|'))|(?=\\())",
284
+ "match": "@?\\b(?!class|subclass|extends|decodeURI(Component)?|encodeURI(Component)?|eval|parse(Float|Int)|require)(\\w+)(?=\\s+(?!(of|in|then|is|isnt|and|or|for|else|when|not|if|unless)\\b)(?=(@?\\w+|\\->|\\-\\d|\\[|\\{|\"|'))|(?=\\())",
285
285
  "captures": {
286
286
  "4": {
287
287
  "name": "entity.name.function.coffee"
@@ -8,16 +8,32 @@
8
8
  "foldingStopMarker": "^\\s*#\\s*endregion|^\\s*\\*/|^\\s*\\}",
9
9
  "patterns": [
10
10
  {
11
- "captures": {
11
+ "include": "#using"
12
+ },
13
+ {
14
+ "include": "#namespace"
15
+ },
16
+ {
17
+ "include": "#code"
18
+ }
19
+ ],
20
+ "repository": {
21
+ "using": {
22
+ "begin": "^\\s*(using)\\b\\s+(static)?\\b\\s*([\\w.]+)",
23
+ "beginCaptures": {
12
24
  "1": {
13
25
  "name": "keyword.other.using.cs"
26
+ },
27
+ "2": {
28
+ "name": "keyword.other.using.cs"
29
+ },
30
+ "3": {
31
+ "name": "entity.name.type.namespace.cs"
14
32
  }
15
33
  },
16
- "begin": "^\\s*(using)\\b\\s*",
17
- "end": "\\s*(?:$|(;))",
18
- "name": "meta.keyword.using.cs"
34
+ "end": "\\s*(?:$|(;))"
19
35
  },
20
- {
36
+ "namespace": {
21
37
  "begin": "^\\s*((namespace)\\s+([\\w.]+))",
22
38
  "beginCaptures": {
23
39
  "1": {
@@ -48,6 +64,12 @@
48
64
  "end": "(?=})",
49
65
  "name": "meta.namespace.body.cs",
50
66
  "patterns": [
67
+ {
68
+ "include": "#using"
69
+ },
70
+ {
71
+ "include": "#namespace"
72
+ },
51
73
  {
52
74
  "include": "#code"
53
75
  }
@@ -55,11 +77,6 @@
55
77
  }
56
78
  ]
57
79
  },
58
- {
59
- "include": "#code"
60
- }
61
- ],
62
- "repository": {
63
80
  "block": {
64
81
  "patterns": [
65
82
  {
@@ -377,6 +394,9 @@
377
394
  },
378
395
  {
379
396
  "include": "#constants"
397
+ },
398
+ {
399
+ "include": "#comments"
380
400
  }
381
401
  ]
382
402
  },
@@ -536,24 +556,14 @@
536
556
  "patterns": [
537
557
  {
538
558
  "captures": {
539
- "2": {
540
- "name": "meta.toc-list.region.cs"
541
- }
542
- },
543
- "match": "^\\s*#\\s*(region)\\b\\s*([^\\/]+)\\s",
544
- "name": "meta.preprocessor.cs"
545
- },
546
- {
547
- "captures": {
548
- "2": {
559
+ "1": {
560
+ "name": "directive.preprocessor.cs"
561
+ },
562
+ "3": {
549
563
  "name": "entity.name.function.preprocessor.cs"
550
564
  }
551
565
  },
552
- "match": "^\\s*#\\s*(define|undef|if|elif)\\b\\s*(\\S*)",
553
- "name": "meta.preprocessor.cs"
554
- },
555
- {
556
- "match": "^\\s*#\\s*(if|else|elif|endif|define|undef|warning|error|line|pragma|region|endregion)\\b\\s*([^\\/]+)\\s",
566
+ "match": "^\\s*(#\\s*(if|else|elif|endif|define|undef|warning|error|line|pragma|region|endregion))\\b\\s*(.*?)(?=$|\\/\\/)",
557
567
  "name": "meta.preprocessor.cs"
558
568
  }
559
569
  ]
@@ -2,7 +2,8 @@
2
2
  "comment": "\n\ttodo:\n\t\tlist comprehension / generator comprehension scope.\n\t\t\n\t",
3
3
  "fileTypes": [
4
4
  "pyx",
5
- "pxi"
5
+ "pxi",
6
+ "pxd"
6
7
  ],
7
8
  "firstLineMatch": "^#!/.*\\bcython\\b",
8
9
  "keyEquivalent": "^~C",
@@ -1005,7 +1006,7 @@
1005
1006
  "disabled": 0,
1006
1007
  "patterns": [
1007
1008
  {
1008
- "include": "source.regexp.cython"
1009
+ "include": "source.regexp.python"
1009
1010
  }
1010
1011
  ]
1011
1012
  },
@@ -327,7 +327,7 @@
327
327
  "name": "keyword.control.repeat.d"
328
328
  },
329
329
  {
330
- "match": "\\b(return|with|invariant|body|scope|asm|mixin|function|delegate)\\b",
330
+ "match": "\\b(return|with|invariant|body|scope|asm|mixin|function|delegate|out|in)\\b",
331
331
  "name": "keyword.control.statement.d"
332
332
  },
333
333
  {
@@ -400,6 +400,10 @@
400
400
  "match": "(?x)\n\t\t\t\t\\b(\n\t\t\t\t\topNeg|\n\t\t\t\t\topCom|\n\t\t\t\t\topPostInc|\n\t\t\t\t\topPostDec|\n\t\t\t\t\topCast|\n\t\t\t\t\topAdd|\n\t\t\t\t\topSub|\n\t\t\t\t\topSub_r|\n\t\t\t\t\topMul|\n\t\t\t\t\topDiv|\n\t\t\t\t\topDiv_r|\n\t\t\t\t\topMod|\n\t\t\t\t\topMod_r|\n\t\t\t\t\topAnd|\n\t\t\t\t\topOr|\n\t\t\t\t\topXor|\n\t\t\t\t\topShl|\n\t\t\t\t\topShl_r|\n\t\t\t\t\topShr|\n\t\t\t\t\topShr_r|\n\t\t\t\t\topUShr|\n\t\t\t\t\topUShr_r|\n\t\t\t\t\topCat|\n\t\t\t\t\topCat_r|\n\t\t\t\t\topEquals|\n\t\t\t\t\topEquals|\n\t\t\t\t\topCmp|\n\t\t\t\t\topCmp|\n\t\t\t\t\topCmp|\n\t\t\t\t\topCmp|\n\t\t\t\t\topAddAssign|\n\t\t\t\t\topSubAssign|\n\t\t\t\t\topMulAssign|\n\t\t\t\t\topDivAssign|\n\t\t\t\t\topModAssign|\n\t\t\t\t\topAndAssign|\n\t\t\t\t\topOrAssign|\n\t\t\t\t\topXorAssign|\n\t\t\t\t\topShlAssign|\n\t\t\t\t\topShrAssign|\n\t\t\t\t\topUShrAssign|\n\t\t\t\t\topCatAssign|\n\t\t\t\t\topIndex|\n\t\t\t\t\topIndexAssign|\n\t\t\t\t\topCall|\n\t\t\t\t\topSlice|\n\t\t\t\t\topSliceAssign|\n\t\t\t\t\topPos|\n\t\t\t\t\topAdd_r|\n\t\t\t\t\topMul_r|\n\t\t\t\t\topAnd_r|\n\t\t\t\t\topOr_r|\n\t\t\t\t\topXor_r|\n\t\t\t\t\topDispatch\n\t\t\t\t)\\b",
401
401
  "name": "keyword.operator.overload.d"
402
402
  },
403
+ {
404
+ "match": "=>",
405
+ "name": "keyword.operator.lambda.d"
406
+ },
403
407
  {
404
408
  "match": "\\b(new|delete|typeof|typeid|cast|align|is)\\b",
405
409
  "name": "keyword.operator.d"
@@ -4,6 +4,10 @@
4
4
  ],
5
5
  "name": "Dockerfile",
6
6
  "patterns": [
7
+ {
8
+ "match": "\\\\.",
9
+ "name": "constant.character.escaped.dockerfile"
10
+ },
7
11
  {
8
12
  "captures": {
9
13
  "1": {
@@ -772,6 +772,15 @@
772
772
  "match": "(?>[a-zA-Z_][\\w@]*(?>[?!])?)(:)(?!:)",
773
773
  "name": "constant.other.keywords.elixir"
774
774
  },
775
+ {
776
+ "captures": {
777
+ "1": {
778
+ "name": "punctuation.definition.comment.elixir"
779
+ }
780
+ },
781
+ "match": "^\\s*(##).*$\\n?",
782
+ "name": "comment.line.section.elixir"
783
+ },
775
784
  {
776
785
  "captures": {
777
786
  "1": {
@@ -4,9 +4,15 @@
4
4
  "fileTypes": [
5
5
  "el",
6
6
  "elc",
7
+ "eld",
7
8
  "spacemacs",
9
+ "_emacs",
8
10
  "emacs",
9
- "emacs.desktop"
11
+ "emacs.desktop",
12
+ "abbrev_defs",
13
+ "Project.ede",
14
+ "gnus",
15
+ "viper"
10
16
  ],
11
17
  "patterns": [
12
18
  {
@@ -61,6 +67,9 @@
61
67
  {
62
68
  "include": "#symbols"
63
69
  },
70
+ {
71
+ "include": "#vectors"
72
+ },
64
73
  {
65
74
  "include": "#arg-values"
66
75
  },
@@ -82,17 +91,17 @@
82
91
  },
83
92
  "binding": {
84
93
  "name": "storage.binding.emacs.lisp",
85
- "match": "\\b(?<=[\\s()]|^)(let\\*?|set[fq]?)(?=[\\s()]|$)"
94
+ "match": "\\b(?<=[\\s()\\[]|^)(let\\*?|set[fq]?)(?=[\\s()]|$)"
86
95
  },
87
96
  "boolean": {
88
97
  "patterns": [
89
98
  {
90
99
  "name": "constant.boolean.true.emacs.lisp",
91
- "match": "\\b(?<=[\\s()]|^)t(?=[\\s()]|$)\\b"
100
+ "match": "\\b(?<=[\\s()\\[]|^)t(?=[\\s()]|$)\\b"
92
101
  },
93
102
  {
94
103
  "name": "constant.language.nil.emacs.lisp",
95
- "match": "\\b(?<=[\\s()]|^)(nil)(?=[\\s()]|$)\\b"
104
+ "match": "\\b(?<=[\\s()\\[]|^)(nil)(?=[\\s()]|$)\\b"
96
105
  }
97
106
  ]
98
107
  },
@@ -141,7 +150,7 @@
141
150
  },
142
151
  {
143
152
  "name": "storage.type.function.emacs.lisp",
144
- "match": "\\b(?<=[\\s()]|^)defun(?=[\\s()]|$)"
153
+ "match": "\\b(?<=[\\s()\\[]|^)defun(?=[\\s()]|$)"
145
154
  },
146
155
  {
147
156
  "name": "meta.$3.definition.emacs.lisp",
@@ -171,7 +180,7 @@
171
180
  },
172
181
  {
173
182
  "name": "storage.type.$1.emacs.lisp",
174
- "match": "\\b(?<=[\\s()]|^)(define-(?:condition|widget))(?=[\\s()]|$)\\b"
183
+ "match": "\\b(?<=[\\s()\\[]|^)(define-(?:condition|widget))(?=[\\s()]|$)\\b"
175
184
  }
176
185
  ]
177
186
  },
@@ -210,13 +219,59 @@
210
219
  ]
211
220
  },
212
221
  "escapes": {
213
- "name": "constant.character.escape.emacs.lisp",
214
- "match": "(\\\\).",
215
- "captures": {
216
- "1": {
217
- "name": "punctuation.definition.backslash.emacs.lisp"
222
+ "patterns": [
223
+ {
224
+ "name": "constant.character.escape.hex.emacs.lisp",
225
+ "match": "(\\?)\\\\u[A-Fa-f0-9]{4}|(\\?)\\\\U00[A-Fa-f0-9]{6}",
226
+ "captures": {
227
+ "1": {
228
+ "name": "punctuation.definition.codepoint.emacs.lisp"
229
+ },
230
+ "2": {
231
+ "name": "punctuation.definition.codepoint.emacs.lisp"
232
+ }
233
+ }
234
+ },
235
+ {
236
+ "name": "constant.character.escape.hex.emacs.lisp",
237
+ "match": "(\\?)\\\\x[A-Fa-f0-9]+",
238
+ "captures": {
239
+ "1": {
240
+ "name": "punctuation.definition.codepoint.emacs.lisp"
241
+ }
242
+ }
243
+ },
244
+ {
245
+ "name": "constant.character.escape.octal.emacs.lisp",
246
+ "match": "(\\?)\\\\[0-7]{1,3}",
247
+ "captures": {
248
+ "1": {
249
+ "name": "punctuation.definition.codepoint.emacs.lisp"
250
+ }
251
+ }
252
+ },
253
+ {
254
+ "name": "constant.numeric.codepoint.emacs.lisp",
255
+ "match": "(\\?)(?:[^\\\\]|(\\\\).)",
256
+ "captures": {
257
+ "1": {
258
+ "name": "punctuation.definition.codepoint.emacs.lisp"
259
+ },
260
+ "2": {
261
+ "name": "punctuation.definition.backslash.emacs.lisp"
262
+ }
263
+ }
264
+ },
265
+ {
266
+ "name": "constant.character.escape.emacs.lisp",
267
+ "match": "(\\\\).",
268
+ "captures": {
269
+ "1": {
270
+ "name": "punctuation.definition.backslash.emacs.lisp"
271
+ }
272
+ }
218
273
  }
219
- }
274
+ ]
220
275
  },
221
276
  "expression": {
222
277
  "patterns": [
@@ -394,11 +449,11 @@
394
449
  },
395
450
  "functions": {
396
451
  "name": "keyword.control.function.$1.emacs.lisp",
397
- "match": "(?x)\\b(?<=[\\s()]|^)\n(abs|append|apply|assoc|butlast|c[ad]{1,2}r|c[ad]r-safe|consp?|copy-alist|copy-tree\n|dolist|funcall|last|length|listp?|load|make-list|mapc|mapcar|max|min|member|nbutlast\n|nconc|nreverse|nth|nthcdr|null|pop|prin[1ct]|push|quote|rassoc|reverse|rplac[ad]\n|safe-length|setcar|setcdr)\n(?=[\\s()]|$)\\b"
452
+ "match": "(?x)\\b(?<=[\\s()\\[]|^)\n(abs|append|apply|assoc|butlast|c[ad]{1,2}r|c[ad]r-safe|consp?|copy-alist|copy-tree\n|dolist|funcall|last|length|listp?|load|make-list|mapc|mapcar|max|min|member|nbutlast\n|nconc|nreverse|nth|nthcdr|null|pop|prin[1ct]|push|quote|rassoc|reverse|rplac[ad]\n|safe-length|setcar|setcdr)\n(?=[\\s()]|$)\\b"
398
453
  },
399
454
  "keyword": {
400
455
  "name": "constant.keyword.emacs.lisp",
401
- "match": "(?<=[\\s()]|^)(:)[-+=*/\\w~!@$%^&:<>{}?]+",
456
+ "match": "(?<=[\\s()\\[]|^)(:)[-+=*/\\w~!@$%^&:<>{}?]+",
402
457
  "captures": {
403
458
  "1": {
404
459
  "name": "punctuation.definition.keyword.emacs.lisp"
@@ -448,7 +503,7 @@
448
503
  "patterns": [
449
504
  {
450
505
  "name": "keyword.control.emacs.lisp",
451
- "match": "(?x)(?<=[\\s()]|^)\n(above|across|across-ref|always|and|append|as|below|by|collect|concat\n|count|do|each|finally|for|from|if|in|in-ref|initially|into|maximize\n|minimize|named|nconc|never|of|of-ref|on|repeat|return|sum|then|thereis\n|sum|to|unless|until|using|vconcat|when|while|with|(?:\n\t\n\tbeing \\s+\n\t(?:the)? \\s+\n\t\n\t(?:element|hash-key|hash-value|key-code|key-binding\n\t|key-seq|overlay|interval|symbols|frame|window|buffer)\n\ts?\n\n))(?=[\\s()]|$)"
506
+ "match": "(?x)(?<=[\\s()\\[]|^)\n(above|across|across-ref|always|and|append|as|below|by|collect|concat\n|count|do|each|finally|for|from|if|in|in-ref|initially|into|maximize\n|minimize|named|nconc|never|of|of-ref|on|repeat|return|sum|then|thereis\n|sum|to|unless|until|using|vconcat|when|while|with|(?:\n\t\n\tbeing \\s+\n\t(?:the)? \\s+\n\t\n\t(?:element|hash-key|hash-value|key-code|key-binding\n\t|key-seq|overlay|interval|symbols|frame|window|buffer)\n\ts?\n\n))(?=[\\s()]|$)"
452
507
  },
453
508
  {
454
509
  "include": "$self"
@@ -511,13 +566,31 @@
511
566
  },
512
567
  "number": {
513
568
  "patterns": [
569
+ {
570
+ "name": "constant.numeric.integer.binary.emacs.lisp",
571
+ "match": "(?<=[\\s()\\[]|^)(#)[Bb][01]+",
572
+ "captures": {
573
+ "1": {
574
+ "name": "punctuation.definition.binary.emacs.lisp"
575
+ }
576
+ }
577
+ },
578
+ {
579
+ "name": "constant.numeric.integer.hex.viml",
580
+ "match": "(?<=[\\s()\\[]|^)(#)[Xx][0-9A-Fa-f]+",
581
+ "captures": {
582
+ "1": {
583
+ "name": "punctuation.definition.hex.emacs.lisp"
584
+ }
585
+ }
586
+ },
514
587
  {
515
588
  "name": "constant.numeric.float.emacs.lisp",
516
- "match": "(?<=[\\s()]|^)[-+]?\\d*\\.\\d+(?:[Ee][-+]?\\d+)?(?=[\\s()]|$)"
589
+ "match": "(?<=[\\s()\\[]|^)[-+]?\\d*\\.\\d+(?:[Ee][-+]?\\d+|[Ee]\\+(?:INF|NaN))?(?=[\\s()]|$)"
517
590
  },
518
591
  {
519
592
  "name": "constant.numeric.integer.emacs.lisp",
520
- "match": "(?<=[\\s()]|^)[-+]?\\d+(?:[Ee][-+]?\\d+)?(?=[\\s()]|$)"
593
+ "match": "(?<=[\\s()\\[]|^)[-+]?\\d+(?:[Ee][-+]?\\d+|[Ee]\\+(?:INF|NaN))?(?=[\\s()]|$)"
521
594
  }
522
595
  ]
523
596
  },
@@ -538,6 +611,10 @@
538
611
  {
539
612
  "name": "keyword.operator.comparison.emacs.lisp",
540
613
  "match": "(?<=\\(|\\s|^)[=<>]|[/<>]=(?=\\s|\\)|$)"
614
+ },
615
+ {
616
+ "name": "keyword.operator.pair-separator.emacs.lisp",
617
+ "match": "(?<=\\s)\\.(?=\\s|$)"
541
618
  }
542
619
  ]
543
620
  },
@@ -606,7 +683,7 @@
606
683
  "patterns": [
607
684
  {
608
685
  "name": "constant.other.interned.blank.symbol.emacs.lisp",
609
- "match": "(?<=[\\s()]|^)##",
686
+ "match": "(?<=[\\s()\\[]|^)##",
610
687
  "captures": {
611
688
  "0": {
612
689
  "name": "punctuation.definition.symbol.emacs.lisp"
@@ -615,7 +692,7 @@
615
692
  },
616
693
  {
617
694
  "name": "constant.other.symbol.emacs.lisp",
618
- "match": "(?<=[\\s()]|^)(#)((?:[-'+=*/\\w~!@$%^&:<>{}?]|\\\\.)+)",
695
+ "match": "(?<=[\\s()\\[]|^)(#)((?:[-'+=*/\\w~!@$%^&:<>{}?]|\\\\.)+)",
619
696
  "captures": {
620
697
  "1": {
621
698
  "name": "punctuation.definition.symbol.emacs.lisp"
@@ -640,6 +717,18 @@
640
717
  }
641
718
  ]
642
719
  },
720
+ "vectors": {
721
+ "patterns": [
722
+ {
723
+ "match": "\\[",
724
+ "name": "punctuation.section.vector.begin.emacs.lisp"
725
+ },
726
+ {
727
+ "match": "\\]",
728
+ "name": "punctuation.section.vector.end.emacs.lisp"
729
+ }
730
+ ]
731
+ },
643
732
  "stdlib": {
644
733
  "patterns": [
645
734
  {