tm-grammars 1.22.18 → 1.23.0

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.
Files changed (234) hide show
  1. package/NOTICE +287 -1
  2. package/README.md +241 -239
  3. package/grammars/abap.json +36 -36
  4. package/grammars/actionscript-3.json +29 -29
  5. package/grammars/ada.json +78 -78
  6. package/grammars/angular-expression.json +62 -62
  7. package/grammars/angular-html.json +0 -1
  8. package/grammars/angular-inline-style.json +3 -3
  9. package/grammars/angular-inline-template.json +2 -2
  10. package/grammars/angular-template-blocks.json +3 -3
  11. package/grammars/angular-template.json +1 -1
  12. package/grammars/angular-ts.json +251 -251
  13. package/grammars/apache.json +31 -31
  14. package/grammars/apex.json +108 -108
  15. package/grammars/apl.json +18 -18
  16. package/grammars/applescript.json +11 -11
  17. package/grammars/ara.json +13 -13
  18. package/grammars/asciidoc.json +234 -234
  19. package/grammars/asm.json +90 -90
  20. package/grammars/astro.json +25 -25
  21. package/grammars/awk.json +8 -8
  22. package/grammars/ballerina.json +150 -150
  23. package/grammars/bat.json +28 -28
  24. package/grammars/beancount.json +33 -33
  25. package/grammars/berry.json +11 -11
  26. package/grammars/bibtex.json +12 -12
  27. package/grammars/bicep.json +12 -12
  28. package/grammars/blade.json +183 -183
  29. package/grammars/bsl.json +58 -58
  30. package/grammars/c.json +162 -162
  31. package/grammars/cadence.json +20 -20
  32. package/grammars/cairo.json +10 -10
  33. package/grammars/clarity.json +20 -20
  34. package/grammars/clojure.json +25 -25
  35. package/grammars/cmake.json +3 -3
  36. package/grammars/cobol.json +91 -91
  37. package/grammars/codeql.json +154 -154
  38. package/grammars/coffee.json +45 -45
  39. package/grammars/common-lisp.json +50 -50
  40. package/grammars/coq.json +10 -10
  41. package/grammars/cpp-macro.json +410 -410
  42. package/grammars/cpp.json +641 -641
  43. package/grammars/crystal.json +68 -68
  44. package/grammars/csharp.json +196 -196
  45. package/grammars/css.json +83 -83
  46. package/grammars/csv.json +1 -1
  47. package/grammars/cue.json +55 -55
  48. package/grammars/cypher.json +11 -11
  49. package/grammars/d.json +127 -32
  50. package/grammars/dart.json +18 -18
  51. package/grammars/dax.json +9 -9
  52. package/grammars/desktop.json +9 -9
  53. package/grammars/diff.json +3 -3
  54. package/grammars/dotenv.json +3 -3
  55. package/grammars/dream-maker.json +20 -20
  56. package/grammars/edge.json +8 -8
  57. package/grammars/elixir.json +44 -44
  58. package/grammars/elm.json +23 -23
  59. package/grammars/emacs-lisp.json +76 -76
  60. package/grammars/erb.json +2 -2
  61. package/grammars/erlang.json +29 -29
  62. package/grammars/es-tag-css.json +3 -3
  63. package/grammars/es-tag-glsl.json +3 -3
  64. package/grammars/es-tag-html.json +3 -3
  65. package/grammars/es-tag-sql.json +2 -2
  66. package/grammars/es-tag-xml.json +2 -2
  67. package/grammars/fennel.json +8 -8
  68. package/grammars/fish.json +10 -10
  69. package/grammars/fluent.json +10 -10
  70. package/grammars/fortran-fixed-form.json +1 -1
  71. package/grammars/fortran-free-form.json +106 -106
  72. package/grammars/fsharp.json +70 -70
  73. package/grammars/gdresource.json +15 -15
  74. package/grammars/gdscript.json +31 -27
  75. package/grammars/gdshader.json +18 -18
  76. package/grammars/genie.json +6 -6
  77. package/grammars/gherkin.json +1 -1
  78. package/grammars/git-commit.json +1 -1
  79. package/grammars/git-rebase.json +1 -1
  80. package/grammars/gleam.json +11 -11
  81. package/grammars/glimmer-js.json +35 -35
  82. package/grammars/glimmer-ts.json +35 -35
  83. package/grammars/glsl.json +4 -4
  84. package/grammars/gnuplot.json +41 -41
  85. package/grammars/go.json +155 -155
  86. package/grammars/graphql.json +20 -20
  87. package/grammars/groovy.json +44 -44
  88. package/grammars/hack.json +74 -74
  89. package/grammars/haml.json +24 -24
  90. package/grammars/handlebars.json +25 -25
  91. package/grammars/haskell.json +99 -99
  92. package/grammars/haxe.json +51 -51
  93. package/grammars/hcl.json +43 -43
  94. package/grammars/hjson.json +29 -29
  95. package/grammars/hlsl.json +15 -15
  96. package/grammars/html-derivative.json +0 -1
  97. package/grammars/html.json +28 -29
  98. package/grammars/http.json +17 -17
  99. package/grammars/hxml.json +3 -3
  100. package/grammars/hy.json +10 -10
  101. package/grammars/imba.json +168 -173
  102. package/grammars/ini.json +2 -2
  103. package/grammars/java.json +54 -54
  104. package/grammars/javascript.json +262 -262
  105. package/grammars/jinja-html.json +3 -3
  106. package/grammars/jinja.json +15 -15
  107. package/grammars/jison.json +18 -18
  108. package/grammars/json.json +6 -6
  109. package/grammars/json5.json +12 -12
  110. package/grammars/jsonc.json +6 -6
  111. package/grammars/jsonl.json +6 -6
  112. package/grammars/jsonnet.json +15 -15
  113. package/grammars/jssm.json +4 -4
  114. package/grammars/jsx.json +262 -262
  115. package/grammars/julia.json +45 -45
  116. package/grammars/kotlin.json +15 -15
  117. package/grammars/kusto.json +13 -13
  118. package/grammars/latex.json +260 -260
  119. package/grammars/lean.json +12 -12
  120. package/grammars/less.json +91 -91
  121. package/grammars/liquid.json +96 -62
  122. package/grammars/llvm.json +122 -0
  123. package/grammars/log.json +22 -22
  124. package/grammars/logo.json +2 -2
  125. package/grammars/lua.json +34 -34
  126. package/grammars/luau.json +20 -20
  127. package/grammars/make.json +22 -22
  128. package/grammars/markdown-vue.json +1 -1
  129. package/grammars/markdown.json +83 -83
  130. package/grammars/marko.json +19 -19
  131. package/grammars/matlab.json +29 -29
  132. package/grammars/mdc.json +17 -17
  133. package/grammars/mdx.json +278 -278
  134. package/grammars/mermaid.json +97 -97
  135. package/grammars/mipsasm.json +2 -2
  136. package/grammars/mojo.json +122 -122
  137. package/grammars/move.json +35 -35
  138. package/grammars/narrat.json +10 -10
  139. package/grammars/nextflow.json +11 -11
  140. package/grammars/nginx.json +45 -45
  141. package/grammars/nim.json +44 -44
  142. package/grammars/nix.json +71 -71
  143. package/grammars/nushell.json +36 -36
  144. package/grammars/objective-c.json +129 -129
  145. package/grammars/objective-cpp.json +245 -245
  146. package/grammars/ocaml.json +229 -229
  147. package/grammars/pascal.json +4 -4
  148. package/grammars/perl.json +64 -64
  149. package/grammars/php.json +199 -199
  150. package/grammars/plsql.json +10 -10
  151. package/grammars/po.json +4 -4
  152. package/grammars/polar.json +13 -13
  153. package/grammars/postcss.json +31 -31
  154. package/grammars/powerquery.json +10 -10
  155. package/grammars/powershell.json +54 -54
  156. package/grammars/prisma.json +13 -13
  157. package/grammars/prolog.json +3 -3
  158. package/grammars/proto.json +11 -11
  159. package/grammars/pug.json +30 -30
  160. package/grammars/puppet.json +35 -35
  161. package/grammars/purescript.json +843 -467
  162. package/grammars/python.json +126 -126
  163. package/grammars/qml.json +18 -18
  164. package/grammars/qss.json +7 -7
  165. package/grammars/r.json +17 -17
  166. package/grammars/racket.json +58 -58
  167. package/grammars/raku.json +15 -15
  168. package/grammars/razor.json +30 -30
  169. package/grammars/reg.json +3 -3
  170. package/grammars/regexp.json +15 -15
  171. package/grammars/rel.json +4 -4
  172. package/grammars/riscv.json +15 -15
  173. package/grammars/rst.json +26 -26
  174. package/grammars/ruby.json +103 -106
  175. package/grammars/rust.json +13 -13
  176. package/grammars/sas.json +9 -9
  177. package/grammars/sass.json +35 -35
  178. package/grammars/scala.json +75 -75
  179. package/grammars/scheme.json +16 -16
  180. package/grammars/scss.json +68 -68
  181. package/grammars/sdbl.json +18 -18
  182. package/grammars/shaderlab.json +8 -8
  183. package/grammars/shellscript.json +111 -111
  184. package/grammars/shellsession.json +1 -1
  185. package/grammars/smalltalk.json +5 -5
  186. package/grammars/solidity.json +20 -20
  187. package/grammars/soy.json +30 -30
  188. package/grammars/sparql.json +1 -1
  189. package/grammars/splunk.json +6 -6
  190. package/grammars/sql.json +8 -8
  191. package/grammars/ssh-config.json +2 -2
  192. package/grammars/stata.json +90 -90
  193. package/grammars/stylus.json +48 -48
  194. package/grammars/svelte.json +35 -25
  195. package/grammars/swift.json +114 -114
  196. package/grammars/system-verilog.json +25 -25
  197. package/grammars/systemd.json +16 -16
  198. package/grammars/talonscript.json +12 -12
  199. package/grammars/tasl.json +10 -10
  200. package/grammars/tcl.json +11 -11
  201. package/grammars/templ.json +34 -34
  202. package/grammars/terraform.json +42 -42
  203. package/grammars/tex.json +14 -14
  204. package/grammars/toml.json +15 -15
  205. package/grammars/tsx.json +262 -262
  206. package/grammars/turtle.json +2 -2
  207. package/grammars/twig.json +37 -37
  208. package/grammars/typescript.json +251 -251
  209. package/grammars/typespec.json +54 -273
  210. package/grammars/typst.json +34 -34
  211. package/grammars/v.json +32 -32
  212. package/grammars/vala.json +6 -6
  213. package/grammars/vb.json +7 -7
  214. package/grammars/verilog.json +4 -4
  215. package/grammars/vhdl.json +10 -10
  216. package/grammars/viml.json +22 -22
  217. package/grammars/vue-html.json +10 -10
  218. package/grammars/vue-sfc-style-variable-injection.json +1 -1
  219. package/grammars/vue.json +65 -65
  220. package/grammars/vyper.json +126 -126
  221. package/grammars/wasm.json +26 -26
  222. package/grammars/wenyan.json +7 -7
  223. package/grammars/wgsl.json +9 -9
  224. package/grammars/wikitext.json +66 -66
  225. package/grammars/wit.json +1409 -0
  226. package/grammars/wolfram.json +446 -446
  227. package/grammars/xml.json +11 -11
  228. package/grammars/xsl.json +1 -1
  229. package/grammars/yaml.json +24 -24
  230. package/grammars/zenscript.json +8 -8
  231. package/grammars/zig.json +11 -11
  232. package/index.d.ts +7 -0
  233. package/index.js +1226 -506
  234. package/package.json +1 -1
@@ -61,7 +61,7 @@
61
61
  "name": "string.regexp"
62
62
  }
63
63
  },
64
- "end": "\\}",
64
+ "end": "}",
65
65
  "name": "string.regexp"
66
66
  },
67
67
  {
@@ -73,7 +73,7 @@
73
73
  "name": "constant.numeric.pascal"
74
74
  },
75
75
  {
76
- "match": "\\$[0-9a-fA-F]{1,16}\\b",
76
+ "match": "\\$\\h{1,16}\\b",
77
77
  "name": "constant.numeric.hex.pascal"
78
78
  },
79
79
  {
@@ -122,7 +122,7 @@
122
122
  "name": "punctuation.definition.comment.pascal"
123
123
  }
124
124
  },
125
- "end": "\\}",
125
+ "end": "}",
126
126
  "name": "comment.block.pascal.two"
127
127
  },
128
128
  {
@@ -147,7 +147,7 @@
147
147
  ]
148
148
  },
149
149
  {
150
- "match": "\\#\\d+",
150
+ "match": "#\\d+",
151
151
  "name": "string.other.pascal"
152
152
  }
153
153
  ],
@@ -30,7 +30,7 @@
30
30
  {
31
31
  "applyEndPatternLast": 1,
32
32
  "begin": "\\b(?=qr\\s*[^\\s\\w])",
33
- "end": "((([egimosxradlupcn]*)))(?=(\\s+\\S|\\s*[;\\,\\#\\{\\}\\)]|\\s*$))",
33
+ "end": "((([egimosxradlupcn]*)))(?=(\\s+\\S|\\s*[;,#{})]|\\s*$))",
34
34
  "endCaptures": {
35
35
  "1": {
36
36
  "name": "string.regexp.compile.perl"
@@ -53,7 +53,7 @@
53
53
  "name": "support.function.perl"
54
54
  }
55
55
  },
56
- "end": "\\}",
56
+ "end": "}",
57
57
  "name": "string.regexp.compile.nested_braces.perl",
58
58
  "patterns": [
59
59
  {
@@ -77,7 +77,7 @@
77
77
  "name": "support.function.perl"
78
78
  }
79
79
  },
80
- "end": "\\]",
80
+ "end": "]",
81
81
  "name": "string.regexp.compile.nested_brackets.perl",
82
82
  "patterns": [
83
83
  {
@@ -129,7 +129,7 @@
129
129
  "name": "string.regexp.compile.nested_parens.perl",
130
130
  "patterns": [
131
131
  {
132
- "match": "\\$(?=[^\\s\\w\\\\'\\{\\[\\(\\<])"
132
+ "match": "\\$(?=[^\\s\\w\\\\'{\\[(<])"
133
133
  },
134
134
  {
135
135
  "include": "#escaped_char"
@@ -161,7 +161,7 @@
161
161
  ]
162
162
  },
163
163
  {
164
- "begin": "(qr)\\s*([^\\s\\w'\\{\\[\\(\\<])",
164
+ "begin": "(qr)\\s*([^\\s\\w'{\\[(<])",
165
165
  "captures": {
166
166
  "0": {
167
167
  "name": "punctuation.definition.string.perl"
@@ -174,7 +174,7 @@
174
174
  "name": "string.regexp.compile.simple-delimiter.perl",
175
175
  "patterns": [
176
176
  {
177
- "match": "\\$(?=[^\\s\\w'\\{\\[\\(\\<])",
177
+ "match": "\\$(?=[^\\s\\w'{\\[(<])",
178
178
  "name": "keyword.control.anchor.perl"
179
179
  },
180
180
  {
@@ -192,8 +192,8 @@
192
192
  },
193
193
  {
194
194
  "applyEndPatternLast": 1,
195
- "begin": "(?<!\\{|\\+|\\-)\\b(?=m\\s*[^\\sa-zA-Z0-9])",
196
- "end": "((([egimosxradlupcn]*)))(?=(\\s+\\S|\\s*[;\\,\\#\\{\\}\\)]|\\s*$))",
195
+ "begin": "(?<![{+\\-])\\b(?=m\\s*[^\\sa-zA-Z0-9])",
196
+ "end": "((([egimosxradlupcn]*)))(?=(\\s+\\S|\\s*[;,#{})]|\\s*$))",
197
197
  "endCaptures": {
198
198
  "1": {
199
199
  "name": "string.regexp.find-m.perl"
@@ -216,7 +216,7 @@
216
216
  "name": "support.function.perl"
217
217
  }
218
218
  },
219
- "end": "\\}",
219
+ "end": "}",
220
220
  "name": "string.regexp.find-m.nested_braces.perl",
221
221
  "patterns": [
222
222
  {
@@ -240,7 +240,7 @@
240
240
  "name": "support.function.perl"
241
241
  }
242
242
  },
243
- "end": "\\]",
243
+ "end": "]",
244
244
  "name": "string.regexp.find-m.nested_brackets.perl",
245
245
  "patterns": [
246
246
  {
@@ -321,7 +321,7 @@
321
321
  ]
322
322
  },
323
323
  {
324
- "begin": "\\G(?<!\\{|\\+|\\-)(m)(?!_)\\s*([^\\sa-zA-Z0-9'\\{\\[\\(\\<])",
324
+ "begin": "\\G(?<![{+\\-])(m)(?!_)\\s*([^\\sa-zA-Z0-9'{\\[(<])",
325
325
  "captures": {
326
326
  "0": {
327
327
  "name": "punctuation.definition.string.perl"
@@ -334,7 +334,7 @@
334
334
  "name": "string.regexp.find-m.simple-delimiter.perl",
335
335
  "patterns": [
336
336
  {
337
- "match": "\\$(?=[^\\sa-zA-Z0-9'\\{\\[\\(\\<])",
337
+ "match": "\\$(?=[^\\sa-zA-Z0-9'{\\[(<])",
338
338
  "name": "keyword.control.anchor.perl"
339
339
  },
340
340
  {
@@ -350,7 +350,7 @@
350
350
  "name": "punctuation.definition.character-class.begin.perl"
351
351
  }
352
352
  },
353
- "end": "\\]",
353
+ "end": "]",
354
354
  "endCaptures": {
355
355
  "1": {
356
356
  "name": "punctuation.definition.character-class.end.perl"
@@ -359,7 +359,7 @@
359
359
  "name": "constant.other.character-class.set.perl",
360
360
  "patterns": [
361
361
  {
362
- "match": "\\$(?=[^\\s\\w'\\{\\[\\(\\<])",
362
+ "match": "\\$(?=[^\\s\\w'{\\[(<])",
363
363
  "name": "keyword.control.anchor.perl"
364
364
  },
365
365
  {
@@ -376,8 +376,8 @@
376
376
  },
377
377
  {
378
378
  "applyEndPatternLast": 1,
379
- "begin": "\\b(?=(?<!\\&)(s)(\\s+\\S|\\s*[;\\,\\{\\}\\(\\)\\[<]|$))",
380
- "end": "((([egimosxradlupcn]*)))(?=(\\s+\\S|\\s*[;\\,\\{\\}\\)\\]>]|\\s*$))",
379
+ "begin": "\\b(?=(?<!&)(s)(\\s+\\S|\\s*[;,{}()\\[<]|$))",
380
+ "end": "((([egimosxradlupcn]*)))(?=(\\s+\\S|\\s*[;,{})\\]>]|\\s*$))",
381
381
  "endCaptures": {
382
382
  "1": {
383
383
  "name": "string.regexp.replace.perl"
@@ -400,7 +400,7 @@
400
400
  "name": "support.function.perl"
401
401
  }
402
402
  },
403
- "end": "\\}",
403
+ "end": "}",
404
404
  "name": "string.regexp.nested_braces.perl",
405
405
  "patterns": [
406
406
  {
@@ -421,7 +421,7 @@
421
421
  "name": "support.function.perl"
422
422
  }
423
423
  },
424
- "end": "\\]",
424
+ "end": "]",
425
425
  "name": "string.regexp.nested_brackets.perl",
426
426
  "patterns": [
427
427
  {
@@ -481,7 +481,7 @@
481
481
  "name": "punctuation.definition.string.perl"
482
482
  }
483
483
  },
484
- "end": "\\}",
484
+ "end": "}",
485
485
  "name": "string.regexp.format.nested_braces.perl",
486
486
  "patterns": [
487
487
  {
@@ -502,7 +502,7 @@
502
502
  "name": "punctuation.definition.string.perl"
503
503
  }
504
504
  },
505
- "end": "\\]",
505
+ "end": "]",
506
506
  "name": "string.regexp.format.nested_brackets.perl",
507
507
  "patterns": [
508
508
  {
@@ -598,8 +598,8 @@
598
598
  ]
599
599
  },
600
600
  {
601
- "begin": "\\b(?=s([^\\sa-zA-Z0-9\\[({<]).*\\1([egimosxradlupcn]*)([\\}\\)\\;\\,]|\\s+))",
602
- "end": "((([egimosxradlupcn]*)))(?=([\\}\\)\\;\\,]|\\s+|\\s*$))",
601
+ "begin": "\\b(?=s([^\\sa-zA-Z0-9\\[({<]).*\\1([egimosxradlupcn]*)([});,]|\\s+))",
602
+ "end": "((([egimosxradlupcn]*)))(?=([});,]|\\s+|\\s*$))",
603
603
  "endCaptures": {
604
604
  "1": {
605
605
  "name": "string.regexp.replace.perl"
@@ -735,7 +735,7 @@
735
735
  ]
736
736
  },
737
737
  {
738
- "begin": "(?<=\\(|\\{|~|&|\\||if|unless|^)\\s*((\\/))",
738
+ "begin": "(?<=[({~\\&|]|if|unless|^)\\s*((/))",
739
739
  "beginCaptures": {
740
740
  "1": {
741
741
  "name": "string.regexp.find.perl"
@@ -745,7 +745,7 @@
745
745
  }
746
746
  },
747
747
  "contentName": "string.regexp.find.perl",
748
- "end": "((\\1([egimosxradlupcn]*)))(?=(\\s+\\S|\\s*[;\\,\\#\\{\\}\\)]|\\s*$))",
748
+ "end": "((\\1([egimosxradlupcn]*)))(?=(\\s+\\S|\\s*[;,#{})]|\\s*$))",
749
749
  "endCaptures": {
750
750
  "1": {
751
751
  "name": "string.regexp.find.perl"
@@ -759,7 +759,7 @@
759
759
  },
760
760
  "patterns": [
761
761
  {
762
- "match": "\\$(?=\\/)",
762
+ "match": "\\$(?=/)",
763
763
  "name": "keyword.control.anchor.perl"
764
764
  },
765
765
  {
@@ -779,7 +779,7 @@
779
779
  "match": "\\b(\\w+)\\s*(?==>)"
780
780
  },
781
781
  {
782
- "match": "(?<={)\\s*\\w+\\s*(?=})",
782
+ "match": "(?<=\\{)\\s*\\w+\\s*(?=})",
783
783
  "name": "constant.other.bareword.perl"
784
784
  },
785
785
  {
@@ -806,7 +806,7 @@
806
806
  "name": "storage.type.method.perl"
807
807
  }
808
808
  },
809
- "match": "\\b(sub)(?:\\s+([-a-zA-Z0-9_]+))?\\s*(?:\\([\\$\\@\\*;]*\\))?[^\\w\\{]",
809
+ "match": "\\b(sub)(?:\\s+([\\-a-zA-Z0-9_]+))?\\s*(?:\\([$@*;]*\\))?[^\\w{]",
810
810
  "name": "meta.function.perl"
811
811
  },
812
812
  {
@@ -861,11 +861,11 @@
861
861
  "name": "string.regexp.replace.perl"
862
862
  },
863
863
  {
864
- "match": "\\b(__FILE__|__LINE__|__PACKAGE__|__SUB__)\\b",
864
+ "match": "\\b(__(?:FILE__|LINE__|PACKAGE__|SUB__))\\b",
865
865
  "name": "constant.language.perl"
866
866
  },
867
867
  {
868
- "begin": "\\b(__DATA__|__END__)\\n?",
868
+ "begin": "\\b(__(?:DATA__|END__))\\n?",
869
869
  "beginCaptures": {
870
870
  "1": {
871
871
  "name": "constant.language.perl"
@@ -888,7 +888,7 @@
888
888
  "name": "storage.modifier.perl"
889
889
  },
890
890
  {
891
- "match": "(?<!\\w)\\-[rwxoRWXOezsfdlpSbctugkTBMAC]\\b",
891
+ "match": "(?<!\\w)-[rwxoRWXOezsfdlpSbctugkTBMAC]\\b",
892
892
  "name": "keyword.operator.filetest.perl"
893
893
  },
894
894
  {
@@ -903,7 +903,7 @@
903
903
  "include": "#heredoc"
904
904
  },
905
905
  {
906
- "begin": "\\bqq\\s*([^\\(\\{\\[\\<\\w\\s])",
906
+ "begin": "\\bqq\\s*([^({\\[<\\w\\s])",
907
907
  "beginCaptures": {
908
908
  "0": {
909
909
  "name": "punctuation.definition.string.begin.perl"
@@ -926,7 +926,7 @@
926
926
  ]
927
927
  },
928
928
  {
929
- "begin": "\\bqx\\s*([^'\\(\\{\\[\\<\\w\\s])",
929
+ "begin": "\\bqx\\s*([^'({\\[<\\w\\s])",
930
930
  "beginCaptures": {
931
931
  "0": {
932
932
  "name": "punctuation.definition.string.begin.perl"
@@ -992,7 +992,7 @@
992
992
  ]
993
993
  },
994
994
  {
995
- "begin": "(?<!->)\\bqw?\\s*([^\\(\\{\\[\\<\\w\\s])",
995
+ "begin": "(?<!->)\\bqw?\\s*([^({\\[<\\w\\s])",
996
996
  "beginCaptures": {
997
997
  "0": {
998
998
  "name": "punctuation.definition.string.begin.perl"
@@ -1083,7 +1083,7 @@
1083
1083
  "name": "punctuation.definition.string.begin.perl"
1084
1084
  }
1085
1085
  },
1086
- "end": "\\}",
1086
+ "end": "}",
1087
1087
  "endCaptures": {
1088
1088
  "0": {
1089
1089
  "name": "punctuation.definition.string.end.perl"
@@ -1109,7 +1109,7 @@
1109
1109
  "name": "punctuation.definition.string.begin.perl"
1110
1110
  }
1111
1111
  },
1112
- "end": "\\]",
1112
+ "end": "]",
1113
1113
  "endCaptures": {
1114
1114
  "0": {
1115
1115
  "name": "punctuation.definition.string.end.perl"
@@ -1129,13 +1129,13 @@
1129
1129
  ]
1130
1130
  },
1131
1131
  {
1132
- "begin": "\\bqq\\s*\\<",
1132
+ "begin": "\\bqq\\s*<",
1133
1133
  "beginCaptures": {
1134
1134
  "0": {
1135
1135
  "name": "punctuation.definition.string.begin.perl"
1136
1136
  }
1137
1137
  },
1138
- "end": "\\>",
1138
+ "end": ">",
1139
1139
  "endCaptures": {
1140
1140
  "0": {
1141
1141
  "name": "punctuation.definition.string.end.perl"
@@ -1187,7 +1187,7 @@
1187
1187
  "name": "punctuation.definition.string.begin.perl"
1188
1188
  }
1189
1189
  },
1190
- "end": "\\}",
1190
+ "end": "}",
1191
1191
  "endCaptures": {
1192
1192
  "0": {
1193
1193
  "name": "punctuation.definition.string.end.perl"
@@ -1213,7 +1213,7 @@
1213
1213
  "name": "punctuation.definition.string.begin.perl"
1214
1214
  }
1215
1215
  },
1216
- "end": "\\]",
1216
+ "end": "]",
1217
1217
  "endCaptures": {
1218
1218
  "0": {
1219
1219
  "name": "punctuation.definition.string.end.perl"
@@ -1233,13 +1233,13 @@
1233
1233
  ]
1234
1234
  },
1235
1235
  {
1236
- "begin": "\\bqx\\s*\\<",
1236
+ "begin": "\\bqx\\s*<",
1237
1237
  "beginCaptures": {
1238
1238
  "0": {
1239
1239
  "name": "punctuation.definition.string.begin.perl"
1240
1240
  }
1241
1241
  },
1242
- "end": "\\>",
1242
+ "end": ">",
1243
1243
  "endCaptures": {
1244
1244
  "0": {
1245
1245
  "name": "punctuation.definition.string.end.perl"
@@ -1285,7 +1285,7 @@
1285
1285
  "name": "punctuation.definition.string.begin.perl"
1286
1286
  }
1287
1287
  },
1288
- "end": "\\}",
1288
+ "end": "}",
1289
1289
  "endCaptures": {
1290
1290
  "0": {
1291
1291
  "name": "punctuation.definition.string.end.perl"
@@ -1305,7 +1305,7 @@
1305
1305
  "name": "punctuation.definition.string.begin.perl"
1306
1306
  }
1307
1307
  },
1308
- "end": "\\]",
1308
+ "end": "]",
1309
1309
  "endCaptures": {
1310
1310
  "0": {
1311
1311
  "name": "punctuation.definition.string.end.perl"
@@ -1319,13 +1319,13 @@
1319
1319
  ]
1320
1320
  },
1321
1321
  {
1322
- "begin": "\\bqw?\\s*\\<",
1322
+ "begin": "\\bqw?\\s*<",
1323
1323
  "beginCaptures": {
1324
1324
  "0": {
1325
1325
  "name": "punctuation.definition.string.begin.perl"
1326
1326
  }
1327
1327
  },
1328
- "end": "\\>",
1328
+ "end": ">",
1329
1329
  "endCaptures": {
1330
1330
  "0": {
1331
1331
  "name": "punctuation.definition.string.end.perl"
@@ -1398,7 +1398,7 @@
1398
1398
  "name": "punctuation.section.scope.end.perl"
1399
1399
  }
1400
1400
  },
1401
- "match": "(\\{)(\\})"
1401
+ "match": "(\\{)(})"
1402
1402
  },
1403
1403
  {
1404
1404
  "captures": {
@@ -1424,27 +1424,27 @@
1424
1424
  "name": "constant.character.escape.perl"
1425
1425
  },
1426
1426
  {
1427
- "match": "\\\\g(?:\\{(?:\\w*|-\\d+)\\}|\\d+)",
1427
+ "match": "\\\\g(?:\\{(?:\\w*|-\\d+)}|\\d+)",
1428
1428
  "name": "constant.character.escape.perl"
1429
1429
  },
1430
1430
  {
1431
- "match": "\\\\k(?:\\{\\w*\\}|<\\w*>|'\\w*')",
1431
+ "match": "\\\\k(?:\\{\\w*}|<\\w*>|'\\w*')",
1432
1432
  "name": "constant.character.escape.perl"
1433
1433
  },
1434
1434
  {
1435
- "match": "\\\\N\\{[^\\}]*\\}",
1435
+ "match": "\\\\N\\{[^}]*}",
1436
1436
  "name": "constant.character.escape.perl"
1437
1437
  },
1438
1438
  {
1439
- "match": "\\\\o\\{\\d*\\}",
1439
+ "match": "\\\\o\\{\\d*}",
1440
1440
  "name": "constant.character.escape.perl"
1441
1441
  },
1442
1442
  {
1443
- "match": "\\\\(?:p|P)(?:\\{\\w*\\}|P)",
1443
+ "match": "\\\\[pP](?:\\{\\w*}|P)",
1444
1444
  "name": "constant.character.escape.perl"
1445
1445
  },
1446
1446
  {
1447
- "match": "\\\\x(?:[0-9a-zA-Z]{2}|\\{\\w*\\})?",
1447
+ "match": "\\\\x(?:[0-9a-zA-Z]{2}|\\{\\w*})?",
1448
1448
  "name": "constant.character.escape.perl"
1449
1449
  },
1450
1450
  {
@@ -1772,7 +1772,7 @@
1772
1772
  }
1773
1773
  },
1774
1774
  {
1775
- "begin": "((((<<(~)?) *\\\\)((?![=\\d\\$\\( ])[^;,'\"`\\s\\)]*)()))(.*)\\n?",
1775
+ "begin": "((((<<(~)?) *\\\\)((?![=\\d$( ])[^;,'\"`\\s)]*)()))(.*)\\n?",
1776
1776
  "beginCaptures": {
1777
1777
  "1": {
1778
1778
  "name": "string.unquoted.heredoc.raw.perl"
@@ -2484,7 +2484,7 @@
2484
2484
  ]
2485
2485
  },
2486
2486
  {
2487
- "begin": "((((<<(~)?) *)((?![=\\d\\$\\( ])[^;,'\"`\\s\\)]*)()))(.*)\\n?",
2487
+ "begin": "((((<<(~)?) *)((?![=\\d$( ])[^;,'\"`\\s)]*)()))(.*)\\n?",
2488
2488
  "beginCaptures": {
2489
2489
  "1": {
2490
2490
  "name": "string.unquoted.heredoc.interpolated.perl"
@@ -2601,7 +2601,7 @@
2601
2601
  "name": "punctuation.section.scope.perl"
2602
2602
  }
2603
2603
  },
2604
- "end": "\\}",
2604
+ "end": "}",
2605
2605
  "patterns": [
2606
2606
  {
2607
2607
  "include": "#escaped_char"
@@ -2618,7 +2618,7 @@
2618
2618
  "name": "punctuation.section.scope.perl"
2619
2619
  }
2620
2620
  },
2621
- "end": "\\}",
2621
+ "end": "}",
2622
2622
  "patterns": [
2623
2623
  {
2624
2624
  "include": "#escaped_char"
@@ -2638,7 +2638,7 @@
2638
2638
  "name": "punctuation.section.scope.perl"
2639
2639
  }
2640
2640
  },
2641
- "end": "\\]",
2641
+ "end": "]",
2642
2642
  "patterns": [
2643
2643
  {
2644
2644
  "include": "#escaped_char"
@@ -2655,7 +2655,7 @@
2655
2655
  "name": "punctuation.section.scope.perl"
2656
2656
  }
2657
2657
  },
2658
- "end": "\\]",
2658
+ "end": "]",
2659
2659
  "patterns": [
2660
2660
  {
2661
2661
  "include": "#escaped_char"
@@ -2726,7 +2726,7 @@
2726
2726
  "end": "\\)",
2727
2727
  "patterns": [
2728
2728
  {
2729
- "match": "\\$(?=[^\\s\\w'\\{\\[\\(\\<])",
2729
+ "match": "\\$(?=[^\\s\\w'{\\[(<])",
2730
2730
  "name": "keyword.control.anchor.perl"
2731
2731
  },
2732
2732
  {
@@ -2757,7 +2757,7 @@
2757
2757
  }
2758
2758
  },
2759
2759
  "contentName": "text.embedded.html.basic",
2760
- "end": "^(=end)\\s+(html)|^(?==cut)",
2760
+ "end": "^(?:(=end)\\s+(html)|(?==cut))",
2761
2761
  "endCaptures": {
2762
2762
  "1": {
2763
2763
  "name": "storage.type.class.pod.perl"
@@ -2909,7 +2909,7 @@
2909
2909
  "name": "punctuation.definition.variable.perl"
2910
2910
  }
2911
2911
  },
2912
- "match": "(\\$)[_ab\\*\\.\\/\\|,\\\\;#%=\\-~^:?!\\$<>\\(\\)\\[\\]@](?![A-Za-z0-9_])",
2912
+ "match": "(\\$)[_ab*./|,\\\\;#%=\\-~\\^:?!$<>()\\[\\]@](?![A-Za-z0-9_])",
2913
2913
  "name": "variable.other.predefined.perl"
2914
2914
  },
2915
2915
  {
@@ -2927,7 +2927,7 @@
2927
2927
  "name": "punctuation.definition.variable.perl"
2928
2928
  }
2929
2929
  },
2930
- "match": "([\\$\\@\\%](#)?)([a-zA-Zx7f-xff\\$]|::)([a-zA-Z0-9_x7f-xff\\$]|::)*\\b",
2930
+ "match": "([$@%](#)?)([a-zA-Zx7f-xf$]|::)([a-zA-Z0-9_x7f-xf$]|::)*\\b",
2931
2931
  "name": "variable.other.readwrite.global.perl"
2932
2932
  },
2933
2933
  {
@@ -2939,7 +2939,7 @@
2939
2939
  "name": "punctuation.definition.variable.perl"
2940
2940
  }
2941
2941
  },
2942
- "match": "(\\$\\{)(?:[a-zA-Zx7f-xff\\$]|::)(?:[a-zA-Z0-9_x7f-xff\\$]|::)*(\\})",
2942
+ "match": "(\\$\\{)(?:[a-zA-Zx7f-xf$]|::)(?:[a-zA-Z0-9_x7f-xf$]|::)*(})",
2943
2943
  "name": "variable.other.readwrite.global.perl"
2944
2944
  },
2945
2945
  {
@@ -2948,7 +2948,7 @@
2948
2948
  "name": "punctuation.definition.variable.perl"
2949
2949
  }
2950
2950
  },
2951
- "match": "([\\$\\@\\%](#)?)[0-9_]\\b",
2951
+ "match": "([$@%](#)?)[0-9_]\\b",
2952
2952
  "name": "variable.other.readwrite.global.special.perl"
2953
2953
  }
2954
2954
  ]