github-linguist 5.0.8 → 5.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/bin/linguist +1 -1
  3. data/grammars/source.assembly.json +2 -1
  4. data/grammars/source.clean.json +1 -1
  5. data/grammars/source.clojure.json +13 -3
  6. data/grammars/source.coffee.json +2 -2
  7. data/grammars/source.csound-document.json +1 -2
  8. data/grammars/source.csound.json +1 -1
  9. data/grammars/source.css.json +7 -7
  10. data/grammars/source.ditroff.json +5 -5
  11. data/grammars/source.elixir.json +2 -2
  12. data/grammars/source.gfm.json +31 -3
  13. data/grammars/source.harbour.json +21 -51
  14. data/grammars/source.jison.json +16 -16
  15. data/grammars/source.jisonlex.json +6 -6
  16. data/grammars/source.jolie.json +138 -0
  17. data/grammars/source.nim.json +20 -5
  18. data/grammars/source.perl6fe.json +3 -3
  19. data/grammars/source.python.json +23 -23
  20. data/grammars/source.renpy.json +2 -2
  21. data/grammars/source.solidity.json +2 -2
  22. data/grammars/source.sqf.json +1 -1
  23. data/grammars/source.terraform.json +78 -25
  24. data/grammars/source.ts.json +176 -157
  25. data/grammars/source.tsx.json +176 -157
  26. data/grammars/source.yaml.json +5 -4
  27. data/grammars/text.html.basic.json +212 -60
  28. data/grammars/text.html.ecr.json +1 -1
  29. data/grammars/text.html.php.blade.json +607 -264
  30. data/grammars/text.html.php.json +18 -14
  31. data/grammars/text.html.vue.json +10 -10
  32. data/grammars/text.marko.json +13 -2
  33. data/grammars/{source.gfm.clean.json → text.restructuredtext.clean.json} +4 -5
  34. data/grammars/text.restructuredtext.json +4 -3
  35. data/grammars/text.roff.json +390 -23
  36. data/grammars/text.tex.latex.json +1 -1
  37. data/lib/linguist.rb +1 -1
  38. data/lib/linguist/heuristics.rb +27 -18
  39. data/lib/linguist/languages.json +1 -1
  40. data/lib/linguist/languages.yml +39 -2
  41. data/lib/linguist/samples.json +1999 -737
  42. data/lib/linguist/version.rb +1 -1
  43. metadata +5 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3390ec6ac7697f428265ea767f7e81fff19fa089
4
- data.tar.gz: e8ccd1d4ca24e5f2d613f3eca6fee1d9fd5516cb
3
+ metadata.gz: ec6badd5831eb8fb1c1c6388b997e111483e1873
4
+ data.tar.gz: 3f68b984dcb3be8fd54d5b5a2acaea60dcaeb83e
5
5
  SHA512:
6
- metadata.gz: d2c57af8aaee6be4bf7040185ac9bca5fa8e3cc4dfff3ab15078ae2d63166b2227218f8efde9ca94fa8a2a7a227828ac27b0278dc8cfb13f6cfe3ce0674327c7
7
- data.tar.gz: e8fc1f93a44aa8eb42e2f039675617daae623217754171d40dd88260a213b100050a820552960c1c72e770988ce27c26961a2e5a11fdc715c2317c08651e2464
6
+ metadata.gz: f82f1f7153037143b9751a84964f4981bdd5af6dc1f437f2198a7c0e53e8769f530965f4d38b993e85dd9788056098ced154e217c186a0941da13cb32f67a8b0
7
+ data.tar.gz: e59d45d8ed7db780f6cadc6ffded1228b90649f68d65cdfb2cc0d707d20585ad9abcbc55f7bfd801d39bf545397dba45b303346c32762e9390ce9a16964f3388
data/bin/linguist CHANGED
@@ -75,7 +75,7 @@ elsif File.file?(path)
75
75
  else
76
76
  abort <<-HELP
77
77
  Linguist v#{Linguist::VERSION}
78
- Detect language type for a file, or, given a directory, determine language breakdown.
78
+ Detect language type for a file, or, given a repository, determine language breakdown.
79
79
 
80
80
  Usage: linguist <path>
81
81
  linguist <path> [--breakdown] [--json]
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "fileTypes": [
3
3
  "asm",
4
- "inc"
4
+ "inc",
5
+ "nasm"
5
6
  ],
6
7
  "name": "Assembly x86 (NASM)",
7
8
  "patterns": [
@@ -130,7 +130,7 @@
130
130
  },
131
131
  "keywordReserved": {
132
132
  "name": "keyword.reserved.clean",
133
- "match": "\\b(special|code|inline|foreign|export|ccall|stdcall|generic|derive|infix(l|r)?|otherwise)\\b"
133
+ "match": "\\b(special|code|inline|foreign|export|ccall|stdcall|generic|derive|infix(l|r)?|otherwise|dynamic)\\b"
134
134
  },
135
135
  "literals": {
136
136
  "patterns": [
@@ -240,8 +240,18 @@
240
240
  ]
241
241
  },
242
242
  "regexp": {
243
- "begin": "#\\\"",
244
- "end": "\\\"",
243
+ "begin": "#\"",
244
+ "beginCaptures": {
245
+ "0": {
246
+ "name": "punctuation.definition.regexp.begin.clojure"
247
+ }
248
+ },
249
+ "end": "\"",
250
+ "endCaptures": {
251
+ "0": {
252
+ "name": "punctuation.definition.regexp.end.clojure"
253
+ }
254
+ },
245
255
  "name": "string.regexp.clojure",
246
256
  "patterns": [
247
257
  {
@@ -301,7 +311,7 @@
301
311
  "name": "meta.expression.clojure",
302
312
  "patterns": [
303
313
  {
304
- "begin": "(?<=\\()(ns|def|def-|defn|defn-|defvar|defvar-|defmacro|defmacro-|deftest)\\s+",
314
+ "begin": "(?<=\\()(ns|declare|def[\\w\\d._:+=><!?*-]*|[\\w._:+=><!?*-][\\w\\d._:+=><!?*-]*/def[\\w\\d._:+=><!?*-]*)\\s+",
305
315
  "beginCaptures": {
306
316
  "1": {
307
317
  "name": "keyword.control.clojure"
@@ -183,7 +183,7 @@
183
183
  "name": "string.regexp.coffee"
184
184
  },
185
185
  {
186
- "match": "\\b(?<![\\.\\$])(break|by|catch|continue|else|finally|for|in|of|if|return|switch|then|throw|try|unless|when|while|until|loop|do|(?<=for)\\s+own)(?!\\s*:)\\b",
186
+ "match": "\\b(?<![\\.\\$])(break|by|catch|continue|else|finally|for|in|of|if|return|switch|then|throw|try|unless|when|while|until|loop|do|export|import|default|from|as|yield|async|await|(?<=for)\\s+own)(?!\\s*:)\\b",
187
187
  "name": "keyword.control.coffee"
188
188
  },
189
189
  {
@@ -191,7 +191,7 @@
191
191
  "name": "keyword.operator.coffee"
192
192
  },
193
193
  {
194
- "match": "\\b(?<![\\.\\$])(case|default|function|var|void|with|const|let|enum|export|import|native|__hasProp|__extends|__slice|__bind|__indexOf|implements|interface|package|private|protected|public|static|yield)(?!\\s*:)\\b",
194
+ "match": "\\b(?<![\\.\\$])(case|function|var|void|with|const|let|enum|native|__hasProp|__extends|__slice|__bind|__indexOf|implements|interface|package|private|protected|public|static)(?!\\s*:)\\b",
195
195
  "name": "keyword.reserved.coffee"
196
196
  },
197
197
  {
@@ -134,8 +134,7 @@
134
134
  },
135
135
  {
136
136
  "name": "string.quoted.cabbage-gui.csound-document",
137
- "begin": "\"",
138
- "end": "\"",
137
+ "begin": "end: ",
139
138
  "beginCaptures": {
140
139
  "0": {
141
140
  "name": "punctuation.definition.string.begin.cabbage-gui.csound-document"
@@ -81,7 +81,7 @@
81
81
  "patterns": [
82
82
  {
83
83
  "name": "meta.opcode-type-signature.csound",
84
- "begin": "\\b(?:0|[afijkKoOpPStV\\[\\]]+)\\b",
84
+ "begin": "0|[afijkKoOpPStV\\[\\]]+",
85
85
  "end": ",|(?=\\n)",
86
86
  "beginCaptures": {
87
87
  "0": {
@@ -182,7 +182,7 @@
182
182
  },
183
183
  {
184
184
  "begin": "(?i)(?=@media(\\s|\\(|/\\*|$))",
185
- "end": "(?<=})",
185
+ "end": "(?<=})(?!\\G)",
186
186
  "patterns": [
187
187
  {
188
188
  "begin": "(?i)\\G(@)media",
@@ -226,7 +226,7 @@
226
226
  },
227
227
  {
228
228
  "begin": "(?i)(?=@counter-style([\\s'\"{;]|/\\*|$))",
229
- "end": "(?<=})",
229
+ "end": "(?<=})(?!\\G)",
230
230
  "patterns": [
231
231
  {
232
232
  "begin": "(?i)\\G(@)counter-style",
@@ -292,7 +292,7 @@
292
292
  },
293
293
  {
294
294
  "begin": "(?i)(?=@document([\\s'\"{;]|/\\*|$))",
295
- "end": "(?<=})",
295
+ "end": "(?<=})(?!\\G)",
296
296
  "patterns": [
297
297
  {
298
298
  "begin": "(?i)\\G(@)document",
@@ -377,11 +377,11 @@
377
377
  ]
378
378
  },
379
379
  {
380
- "begin": "(?i)(?=@keyframes([\\s'\"{;]|/\\*|$))",
381
- "end": "(?<=})",
380
+ "begin": "(?i)(?=@(?:-(?:webkit|moz|o|ms)-)?keyframes([\\s'\"{;]|/\\*|$))",
381
+ "end": "(?<=})(?!\\G)",
382
382
  "patterns": [
383
383
  {
384
- "begin": "(?i)\\G(@)keyframes",
384
+ "begin": "(?i)\\G(@)(?:-(?:webkit|moz|o|ms)-)?keyframes",
385
385
  "beginCaptures": {
386
386
  "0": {
387
387
  "name": "keyword.control.at-rule.keyframes.css"
@@ -455,7 +455,7 @@
455
455
  },
456
456
  {
457
457
  "begin": "(?i)(?=@supports(\\s|\\(|/\\*|$))",
458
- "end": "(?<=})|(?=;)",
458
+ "end": "(?<=})(?!\\G)|(?=;)",
459
459
  "patterns": [
460
460
  {
461
461
  "begin": "(?i)\\G(@)supports",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "Roff (Intermediate Output)",
3
3
  "scopeName": "source.ditroff",
4
- "firstLineMatch": "^x\\s*T\\s+(dvi|html|lbp|lj4|ps|pdf|ascii|cp1047|latin1|utf8|X75|X75-12|X100|X100-12)(?=\\s|$)",
4
+ "firstLineMatch": "^x\\s*T\\s+(dvi|html|lbp|lj4|ps|post|pdf|ascii|cp1047|latin1|utf8|X75|X75-12|X100|X100-12)(?=\\s|$)",
5
5
  "patterns": [
6
6
  {
7
7
  "include": "#main"
@@ -296,7 +296,7 @@
296
296
  },
297
297
  {
298
298
  "name": "meta.set-character-property.ditroff",
299
- "match": "\\G([HS]\\S*)(?:\\s+(\\d+))?\\s*?(?=$|#)",
299
+ "match": "\\G([HS]\\S*)(?:\\s+(-?\\d+))?\\s*?(?=$|#)",
300
300
  "captures": {
301
301
  "1": {
302
302
  "name": "keyword.device.control.ditroff"
@@ -423,7 +423,7 @@
423
423
  },
424
424
  "move": {
425
425
  "name": "meta.move.ditroff",
426
- "match": "([HhVv])\\s*(\\d+)",
426
+ "match": "([HhVv])\\s*(-?\\d+)",
427
427
  "captures": {
428
428
  "1": {
429
429
  "name": "entity.name.function.ditroff"
@@ -461,7 +461,7 @@
461
461
  "patterns": [
462
462
  {
463
463
  "name": "meta.print-character.indexed.ditroff",
464
- "match": "(N)\\s*(\\d+)",
464
+ "match": "(N)\\s*(-?\\d+)",
465
465
  "captures": {
466
466
  "1": {
467
467
  "name": "entity.name.function.ditroff"
@@ -510,7 +510,7 @@
510
510
  },
511
511
  {
512
512
  "name": "meta.print-text.track-kerned.gnu.ditroff",
513
- "begin": "^\\s*(u)\\s*(\\d+)\\s*",
513
+ "begin": "^\\s*(u)\\s*(-?\\d+)\\s*",
514
514
  "end": "(?=\\s|$)",
515
515
  "contentName": "string.quoted.double.ditroff",
516
516
  "beginCaptures": {
@@ -169,7 +169,7 @@
169
169
  "name": "punctuation.definition.parameters.elixir"
170
170
  }
171
171
  },
172
- "end": "(\\bdo:)|(\\bdo\\b)",
172
+ "end": "(\\bdo:)|(\\bdo\\b)|(?=\\s+(def|defmacro)\\b)",
173
173
  "endCaptures": {
174
174
  "1": {
175
175
  "name": "constant.other.keywords.elixir"
@@ -237,7 +237,7 @@
237
237
  "name": "punctuation.definition.parameters.elixir"
238
238
  }
239
239
  },
240
- "end": "(\\bdo:)|(\\bdo\\b)",
240
+ "end": "(\\bdo:)|(\\bdo\\b)|(?=\\s+(defp|defmacrop)\\b)",
241
241
  "endCaptures": {
242
242
  "1": {
243
243
  "name": "constant.other.keywords.elixir"
@@ -6,10 +6,13 @@
6
6
  "markdown",
7
7
  "md",
8
8
  "mdown",
9
+ "mdwn",
9
10
  "mkd",
11
+ "mkdn",
10
12
  "mkdown",
11
13
  "rmd",
12
- "ron"
14
+ "ron",
15
+ "workbook"
13
16
  ],
14
17
  "patterns": [
15
18
  {
@@ -331,6 +334,10 @@
331
334
  "match": "^\\s*[-]{3,}\\s*$",
332
335
  "name": "comment.hr.gfm"
333
336
  },
337
+ {
338
+ "match": "^\\s*[_]{3,}\\s*$",
339
+ "name": "comment.hr.gfm"
340
+ },
334
341
  {
335
342
  "begin": "^\\s*[`~]{3,}\\s*(?i:(coffee-?(script)?))\\s*$",
336
343
  "beginCaptures": {
@@ -395,7 +402,7 @@
395
402
  ]
396
403
  },
397
404
  {
398
- "begin": "^\\s*([`~]{3,})\\s*(?i:(markdown|mdown|md))\\s*$",
405
+ "begin": "^\\s*([`~]{3,})\\s*(?i:(markdown|md|mdo?wn|mkdn?|mkdown))\\s*$",
399
406
  "beginCaptures": {
400
407
  "0": {
401
408
  "name": "support.gfm"
@@ -1172,7 +1179,28 @@
1172
1179
  ]
1173
1180
  },
1174
1181
  {
1175
- "begin": "^\\s*([`~]{3,})\\s*(?i:(clojure))\\s*$",
1182
+ "begin": "^\\s*([`~]{3,})\\s*(?i:(graphql))\\s*$",
1183
+ "beginCaptures": {
1184
+ "0": {
1185
+ "name": "support.gfm"
1186
+ }
1187
+ },
1188
+ "end": "^\\s*\\1\\s*$",
1189
+ "endCaptures": {
1190
+ "0": {
1191
+ "name": "support.gfm"
1192
+ }
1193
+ },
1194
+ "name": "markup.code.graphql.gfm",
1195
+ "contentName": "source.embedded.graphql",
1196
+ "patterns": [
1197
+ {
1198
+ "include": "source.graphql"
1199
+ }
1200
+ ]
1201
+ },
1202
+ {
1203
+ "begin": "^\\s*([`~]{3,})\\s*(?i:(clj|clojure))\\s*$",
1176
1204
  "beginCaptures": {
1177
1205
  "0": {
1178
1206
  "name": "support.gfm"
@@ -45,6 +45,16 @@
45
45
  "name": "comment.line.double-slash.harbour",
46
46
  "match": "//.*$"
47
47
  },
48
+ "line_asterisk_comment": {
49
+ "comment": "Single-line comment",
50
+ "name": "comment.line.star.harbour",
51
+ "match": "^\\s*\\*.*$"
52
+ },
53
+ "line_note_comment": {
54
+ "comment": "Single-line note comment",
55
+ "name": "comment.line.note.harbour",
56
+ "match": "NOTE\\s.*$"
57
+ },
48
58
  "escaped_character": {
49
59
  "name": "constant.character.escape.harbour",
50
60
  "match": "\\\\(x\\h{2}|[0-2][0-7]{,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.)"
@@ -60,9 +70,7 @@
60
70
  "begin": "\"",
61
71
  "end": "\"",
62
72
  "patterns": [
63
- {
64
- "include": "#escaped_character"
65
- }
73
+
66
74
  ]
67
75
  },
68
76
  "std_types": {
@@ -79,35 +87,6 @@
79
87
  "comment": "Nil variable",
80
88
  "name": "variable.nil.language.harbour",
81
89
  "match": "\\b(NIL|nil)\\b"
82
- },
83
- "type_params": {
84
- "comment": "Type parameters",
85
- "name": "meta.type_params.harbour",
86
- "begin": "<",
87
- "end": ">",
88
- "patterns": [
89
- {
90
- "include": "#block_comment"
91
- },
92
- {
93
- "include": "#line_comment"
94
- },
95
- {
96
- "include": "#sigils"
97
- },
98
- {
99
- "include": "#types"
100
- },
101
- {
102
- "include": "#std_types"
103
- },
104
- {
105
- "include": "#lifetime"
106
- },
107
- {
108
- "include": "#type_params"
109
- }
110
- ]
111
90
  }
112
91
  },
113
92
  "patterns": [
@@ -123,6 +102,12 @@
123
102
  {
124
103
  "include": "#line_comment"
125
104
  },
105
+ {
106
+ "include": "#line_asterisk_comment"
107
+ },
108
+ {
109
+ "include": "#line_note_comment"
110
+ },
126
111
  {
127
112
  "include": "#sigils"
128
113
  },
@@ -287,21 +272,6 @@
287
272
  }
288
273
  },
289
274
  "name": "string.quoted.double.include.harbour"
290
- },
291
- {
292
- "begin": "<",
293
- "beginCaptures": {
294
- "0": {
295
- "name": "punctuation.definition.string.begin.harbour"
296
- }
297
- },
298
- "end": ">",
299
- "endCaptures": {
300
- "0": {
301
- "name": "punctuation.definition.string.end.harbour"
302
- }
303
- },
304
- "name": "string.quoted.other.lt-gt.include.harbour"
305
275
  }
306
276
  ]
307
277
  },
@@ -322,17 +292,17 @@
322
292
  ]
323
293
  },
324
294
  {
325
- "match": "(:=|->|\\+=|-=)",
295
+ "match": "(:=|-\\>|\\+=|-=)",
326
296
  "name": "keyword.operator.assignment.harbour"
327
297
  },
328
298
  {
329
- "match": "(\\<=|>=|==|!=|!|\\<>|\\<|>|\\$|\\s\\.OR\\.\\s|\\s\\.AND\\.\\s|\\s\\.NOT\\.\\s)",
299
+ "match": "(\\<|\\<=|\\>=|==|!=|!|\\<\\>|\\>|\\$|\\s\\.OR\\.\\s|\\s\\.AND\\.\\s|\\s\\.NOT\\.\\s)",
330
300
  "name": "keyword.operator.comparison.harbour"
331
301
  },
332
302
  {
333
303
  "comment": "Standard library macro",
334
304
  "name": "support.function.std.harbour",
335
- "match": "\\b(log_write|pp|to_str|RTrim|TRIM|Trim|PadR|Padr|PADR|PadC|PadL)!"
305
+ "match": "\\b(log_write|pp|to_str|RTrim|TRIM|Trim|PadR|Padr|PADR|PadC|PadL|Space)!"
336
306
  },
337
307
  {
338
308
  "comment": "Function call",
@@ -366,7 +336,7 @@
366
336
  },
367
337
  {
368
338
  "comment": "Function definition",
369
- "begin": "\\b(FUNCTION|STATIC FUNCTION|PROCEDURE|STATIC PROCEDURE|INIT PROCEDURE|EXIT PROCEDURE)\\s+([a-zA-Z_][a-zA-Z0-9_]*)",
339
+ "begin": "\\b(function|static function|FUN|FUNCTION|STATIC FUNCTION|PROCEDURE|STATIC PROCEDURE|INIT PROCEDURE|EXIT PROCEDURE)\\s+([a-zA-Z_][a-zA-Z0-9_]*)",
370
340
  "end": "[\\n]",
371
341
  "beginCaptures": {
372
342
  "1": {
@@ -34,7 +34,7 @@
34
34
  },
35
35
  {
36
36
  "name": "meta.section.rules.jison",
37
- "begin": "(?!%%)",
37
+ "begin": "\\G",
38
38
  "end": "(?=%%)",
39
39
  "patterns": [
40
40
  {
@@ -46,7 +46,7 @@
46
46
  },
47
47
  {
48
48
  "name": "meta.section.declarations.jison",
49
- "begin": "(?!%%)",
49
+ "begin": "^",
50
50
  "end": "(?=%%)",
51
51
  "patterns": [
52
52
  {
@@ -62,7 +62,7 @@
62
62
  "include": "#comments"
63
63
  },
64
64
  {
65
- "begin": "^\\s*(%lex)\\s*$",
65
+ "begin": "^\\s*(%lex)\\s*(?=\\n)",
66
66
  "end": "^\\s*(/lex)\\b",
67
67
  "beginCaptures": {
68
68
  "1": {
@@ -95,7 +95,7 @@
95
95
  "patterns": [
96
96
  {
97
97
  "name": "meta.section.user-code.jisonlex",
98
- "begin": "(?!%%)",
98
+ "begin": "\\G",
99
99
  "end": "(?=/lex)",
100
100
  "patterns": [
101
101
  {
@@ -107,7 +107,7 @@
107
107
  },
108
108
  {
109
109
  "name": "meta.section.rules.jisonlex",
110
- "begin": "(?!%%)",
110
+ "begin": "\\G",
111
111
  "end": "(?=^(?:%%|/lex))",
112
112
  "patterns": [
113
113
  {
@@ -119,7 +119,7 @@
119
119
  },
120
120
  {
121
121
  "name": "meta.section.definitions.jisonlex",
122
- "begin": "(?!%%)",
122
+ "begin": "\\G",
123
123
  "end": "(?=%%|/lex)",
124
124
  "patterns": [
125
125
  {
@@ -174,7 +174,7 @@
174
174
  },
175
175
  {
176
176
  "name": "string.unquoted.jison",
177
- "match": "\\b[\\p{Alpha}_](?:[\\w-]*\\w)?\\b"
177
+ "match": "\\b[[:alpha:]_](?:[\\w-]*\\w)?\\b"
178
178
  }
179
179
  ]
180
180
  },
@@ -204,7 +204,7 @@
204
204
  },
205
205
  {
206
206
  "name": "invalid.unimplemented.jison",
207
- "match": "<[\\p{Alpha}_](?:[\\w-]*\\w)?>"
207
+ "match": "<[[:alpha:]_](?:[\\w-]*\\w)?>"
208
208
  },
209
209
  {
210
210
  "name": "entity.other.token.jison",
@@ -222,7 +222,7 @@
222
222
  },
223
223
  {
224
224
  "name": "invalid.unimplemented.jison",
225
- "match": "%[\\p{Alpha}_](?:[\\w-]*\\w)?\\b"
225
+ "match": "%[[:alpha:]_](?:[\\w-]*\\w)?\\b"
226
226
  },
227
227
  {
228
228
  "include": "#numbers"
@@ -245,7 +245,7 @@
245
245
  },
246
246
  {
247
247
  "name": "meta.rule.jison",
248
- "begin": "\\b[\\p{Alpha}_](?:[\\w-]*\\w)?\\b",
248
+ "begin": "\\b[[:alpha:]_](?:[\\w-]*\\w)?\\b",
249
249
  "end": ";",
250
250
  "beginCaptures": {
251
251
  "0": {
@@ -278,7 +278,7 @@
278
278
  "include": "#quoted_strings"
279
279
  },
280
280
  {
281
- "match": "(\\[)([\\p{Alpha}_](?:[\\w-]*\\w)?)(\\])",
281
+ "match": "(\\[)([[:alpha:]_](?:[\\w-]*\\w)?)(\\])",
282
282
  "captures": {
283
283
  "1": {
284
284
  "name": "punctuation.definition.named-reference.begin.jison"
@@ -549,7 +549,7 @@
549
549
  "patterns": [
550
550
  {
551
551
  "name": "entity.name.constant.jison",
552
- "match": "\\b[\\p{Alpha}_](?:[\\w-]*\\w)?\\b"
552
+ "match": "\\b[[:alpha:]_](?:[\\w-]*\\w)?\\b"
553
553
  },
554
554
  {
555
555
  "begin": "(=)\\s*",
@@ -650,19 +650,19 @@
650
650
  },
651
651
  {
652
652
  "name": "support.variable.token-value.jison",
653
- "match": "\\$(?:-?\\d+|[\\p{Alpha}_](?:[\\w-]*\\w)?)"
653
+ "match": "\\$(?:-?\\d+|[[:alpha:]_](?:[\\w-]*\\w)?)"
654
654
  },
655
655
  {
656
656
  "name": "support.variable.token-location.jison",
657
- "match": "@(?:-?\\d+|[\\p{Alpha}_](?:[\\w-]*\\w)?)"
657
+ "match": "@(?:-?\\d+|[[:alpha:]_](?:[\\w-]*\\w)?)"
658
658
  },
659
659
  {
660
660
  "name": "support.variable.stack-index.jison",
661
- "match": "##(?:-?\\d+|[\\p{Alpha}_](?:[\\w-]*\\w)?)"
661
+ "match": "##(?:-?\\d+|[[:alpha:]_](?:[\\w-]*\\w)?)"
662
662
  },
663
663
  {
664
664
  "name": "support.variable.token-id.jison",
665
- "match": "#(?:-?\\d+|[\\p{Alpha}_](?:[\\w-]*\\w)?)"
665
+ "match": "#(?:-?\\d+|[[:alpha:]_](?:[\\w-]*\\w)?)"
666
666
  },
667
667
  {
668
668
  "name": "variable.language.jison",