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
@@ -42,11 +42,11 @@
42
42
  "name": "comment.line.number-sign.turtle"
43
43
  },
44
44
  "integer": {
45
- "match": "[+-]?(?:\\d+|[0-9]+\\.[0-9]*|\\.[0-9]+(?:[eE][+-]?\\d+)?)",
45
+ "match": "[+\\-]?(?:\\d+|[0-9]+\\.[0-9]*|\\.[0-9]+(?:[eE][+\\-]?\\d+)?)",
46
46
  "name": "constant.numeric.turtle"
47
47
  },
48
48
  "iriref": {
49
- "match": "<[^\\x20-\\x20<>\"{}|^`\\\\]*>",
49
+ "match": "<[^ - <>\"{}|\\^`\\\\]*>",
50
50
  "name": "entity.name.type.iriref.turtle"
51
51
  },
52
52
  "language-tag": {
@@ -5,8 +5,8 @@
5
5
  "html.twig"
6
6
  ],
7
7
  "firstLineMatch": "<!(?i:DOCTYPE)|<(?i:html)|<\\?(?i:php)|\\{\\{|\\{%|\\{#",
8
- "foldingStartMarker": "(<(?i:body|div|dl|fieldset|form|head|li|ol|script|select|style|table|tbody|tfoot|thead|tr|ul)\\b.*?>|<!--(?!.*--\\s*>)|^<!--\\ \\#tminclude\\ (?>.*?-->)$|\\{%\\s+(autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim))",
9
- "foldingStopMarker": "(</(?i:body|div|dl|fieldset|form|head|li|ol|script|select|style|table|tbody|tfoot|thead|tr|ul)>|^(?!.*?<!--).*?--\\s*>|^<!--\\ end\\ tminclude\\ -->$|\\{%\\s+end(autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim))",
8
+ "foldingStartMarker": "(<(?i:body|div|dl|fieldset|form|head|li|ol|script|select|style|table|tbody|tfoot|thead|tr|ul)\\b.*?>|<!--(?!.*--\\s*>)|^<!-- #tminclude (?>.*?-->)$|\\{%\\s+(autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim))",
9
+ "foldingStopMarker": "(</(?i:body|div|dl|fieldset|form|head|li|ol|script|select|style|table|tbody|tfoot|thead|tr|ul)>|^(?!.*?<!--).*?--\\s*>|^<!-- end tminclude -->$|\\{%\\s+end(autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim))",
10
10
  "name": "twig",
11
11
  "patterns": [
12
12
  {
@@ -234,8 +234,8 @@
234
234
  ]
235
235
  },
236
236
  {
237
- "begin": "(?ix) # Enable free spacing mode, case insensitive\n # Make sure our opening js tag has word boundaries\n (?<=\\{\\%\\sjs\\s\\%\\}|\\{\\%\\sincludejs\\s\\%\\})\n ",
238
- "end": "(?ix)(?=\\{\\%\\sendjs\\s\\%\\}|\\{\\%\\sendincludejs\\s\\%\\})",
237
+ "begin": "(?i)(?<=\\{%\\s(?:js\\s%}|includejs\\s%}))",
238
+ "end": "(?i)(?=\\{%\\send(?:js\\s%}|includejs\\s%}))",
239
239
  "name": "source.js.embedded.twig",
240
240
  "patterns": [
241
241
  {
@@ -244,8 +244,8 @@
244
244
  ]
245
245
  },
246
246
  {
247
- "begin": "(?ix) # Enable free spacing mode, case insensitive\n (?<=\\{\\%\\scss\\s\\%\\}|\\{\\%\\sincludecss\\s\\%\\}|\\{\\%\\sincludehirescss\\s\\%\\})\n ",
248
- "end": "(?ix)(?=\\{\\%\\sendcss\\s\\%\\}|\\{\\%\\sendincludecss\\s\\%\\}|\\{\\%\\sendincludehirescss\\s\\%\\})",
247
+ "begin": "(?i)(?<=\\{%\\s(?:css\\s%}|includecss\\s%}|includehirescss\\s%}))",
248
+ "end": "(?i)(?=\\{%\\send(?:css\\s%}|includecss\\s%}|includehirescss\\s%}))",
249
249
  "name": "source.css.embedded.twig",
250
250
  "patterns": [
251
251
  {
@@ -254,8 +254,8 @@
254
254
  ]
255
255
  },
256
256
  {
257
- "begin": "(?ix) # Enable free spacing mode, case insensitive\n (?<=\\{\\%\\sscss\\s\\%\\}|\\{\\%\\sincludescss\\s\\%\\}|\\{\\%\\sincludehiresscss\\s\\%\\})\n ",
258
- "end": "(?ix)(?=\\{\\%\\sendscss\\s\\%\\}|\\{\\%\\sendincludescss\\s\\%\\}|\\{\\%\\sendincludehiresscss\\s\\%\\})",
257
+ "begin": "(?i)(?<=\\{%\\s(?:scss\\s%}|includescss\\s%}|includehiresscss\\s%}))",
258
+ "end": "(?i)(?=\\{%\\send(?:scss\\s%}|includescss\\s%}|includehiresscss\\s%}))",
259
259
  "name": "source.css.scss.embedded.twig",
260
260
  "patterns": [
261
261
  {
@@ -305,7 +305,7 @@
305
305
  ]
306
306
  },
307
307
  {
308
- "begin": "(</?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|q|s|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var)\\b)",
308
+ "begin": "(</?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|[qs]|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var)\\b)",
309
309
  "beginCaptures": {
310
310
  "1": {
311
311
  "name": "punctuation.definition.tag.begin.html"
@@ -405,7 +405,7 @@
405
405
  "name": "punctuation.definition.entity.html"
406
406
  }
407
407
  },
408
- "match": "(&)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)",
408
+ "match": "(&)([a-zA-Z0-9]+|#[0-9]+|#x\\h+)(;)",
409
409
  "name": "constant.character.entity.html"
410
410
  },
411
411
  {
@@ -424,7 +424,7 @@
424
424
  ]
425
425
  },
426
426
  "python": {
427
- "begin": "(?:^\\s*)<\\?python(?!.*\\?>)",
427
+ "begin": "^\\s*<\\?python(?!.*\\?>)",
428
428
  "end": "\\?>(?:\\s*$\\n)?",
429
429
  "name": "source.python.embedded.html",
430
430
  "patterns": [
@@ -555,7 +555,7 @@
555
555
  "name": "punctuation.separator.key-value.html"
556
556
  }
557
557
  },
558
- "end": "(?<='|\")",
558
+ "end": "(?<=['\"])",
559
559
  "name": "meta.attribute-with-value.id.html",
560
560
  "patterns": [
561
561
  {
@@ -628,13 +628,13 @@
628
628
  ]
629
629
  },
630
630
  "twig-arrays": {
631
- "begin": "(?<=[\\s\\(\\{\\[:,])\\[",
631
+ "begin": "(?<=[\\s({\\[:,])\\[",
632
632
  "beginCaptures": {
633
633
  "0": {
634
634
  "name": "punctuation.section.array.begin.twig"
635
635
  }
636
636
  },
637
- "end": "\\]",
637
+ "end": "]",
638
638
  "endCaptures": {
639
639
  "0": {
640
640
  "name": "punctuation.section.array.end.twig"
@@ -697,7 +697,7 @@
697
697
  "name": "punctuation.definition.comment.begin.twig"
698
698
  }
699
699
  },
700
- "end": "-?#\\}",
700
+ "end": "-?#}",
701
701
  "endCaptures": {
702
702
  "0": {
703
703
  "name": "punctuation.definition.comment.end.twig"
@@ -708,11 +708,11 @@
708
708
  "twig-constants": {
709
709
  "patterns": [
710
710
  {
711
- "match": "(?i)(?<=[\\s\\[\\(\\{:,])(?:true|false|null|none)(?=[\\s\\)\\]\\}\\,])",
711
+ "match": "(?i)(?<=[\\s\\[({:,])(?:true|false|null|none)(?=[\\s)\\]},])",
712
712
  "name": "constant.language.twig"
713
713
  },
714
714
  {
715
- "match": "(?<=[\\s\\[\\(\\{:,]|\\.\\.|\\*\\*)[0-9]+(?:\\.[0-9]+)?(?=[\\s\\)\\]\\}\\,]|\\.\\.|\\*\\*)",
715
+ "match": "(?<=[\\s\\[({:,]|\\.\\.|\\*\\*)[0-9]+(?:\\.[0-9]+)?(?=[\\s)\\]},]|\\.\\.|\\*\\*)",
716
716
  "name": "constant.numeric.twig"
717
717
  }
718
718
  ]
@@ -723,7 +723,7 @@
723
723
  "name": "support.function.twig"
724
724
  }
725
725
  },
726
- "match": "(?<=(?:[a-zA-Z0-9_\\x{7f}-\\x{ff}\\]\\)\\'\\\"]\\|)|\\{%\\sfilter\\s)(abs|capitalize|e(?:scape)?|first|join|(?:json|url)_encode|keys|last|length|lower|nl2br|number_format|raw|reverse|round|sort|striptags|title|trim|upper)(?=[\\s\\|\\]\\}\\):,]|\\.\\.|\\*\\*)"
726
+ "match": "(?<=[a-zA-Z0-9_\\x7F-ÿ\\])'\"]\\||\\{%\\sfilter\\s)(abs|capitalize|e(?:scape)?|first|join|(?:json|url)_encode|keys|last|length|lower|nl2br|number_format|raw|reverse|round|sort|striptags|title|trim|upper)(?=[\\s|\\]}):,]|\\.\\.|\\*\\*)"
727
727
  },
728
728
  "twig-filters-ud": {
729
729
  "captures": {
@@ -731,10 +731,10 @@
731
731
  "name": "meta.function-call.other.twig"
732
732
  }
733
733
  },
734
- "match": "(?<=(?:[a-zA-Z0-9_\\x{7f}-\\x{ff}\\]\\)\\'\\\"]\\|)|\\{%\\sfilter\\s)([a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)"
734
+ "match": "(?<=[a-zA-Z0-9_\\x7F-ÿ\\])'\"]\\||\\{%\\sfilter\\s)([a-zA-Z_\\x7F-ÿ][a-zA-Z0-9_\\x7F-ÿ]*)"
735
735
  },
736
736
  "twig-filters-warg": {
737
- "begin": "(?<=(?:[a-zA-Z0-9_\\x{7f}-\\x{ff}\\]\\)\\'\\\"]\\|)|\\{%\\sfilter\\s)(batch|convert_encoding|date|date_modify|default|e(?:scape)?|format|join|merge|number_format|replace|round|slice|split|trim)(\\()",
737
+ "begin": "(?<=[a-zA-Z0-9_\\x7F-ÿ\\])'\"]\\||\\{%\\sfilter\\s)(batch|convert_encoding|date|date_modify|default|e(?:scape)?|format|join|merge|number_format|replace|round|slice|split|trim)(\\()",
738
738
  "beginCaptures": {
739
739
  "1": {
740
740
  "name": "support.function.twig"
@@ -796,7 +796,7 @@
796
796
  ]
797
797
  },
798
798
  "twig-filters-warg-ud": {
799
- "begin": "(?<=(?:[a-zA-Z0-9_\\x{7f}-\\x{ff}\\]\\)\\'\\\"]\\|)|\\{%\\sfilter\\s)([a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)(\\()",
799
+ "begin": "(?<=[a-zA-Z0-9_\\x7F-ÿ\\])'\"]\\||\\{%\\sfilter\\s)([a-zA-Z_\\x7F-ÿ][a-zA-Z0-9_\\x7F-ÿ]*)(\\()",
800
800
  "beginCaptures": {
801
801
  "1": {
802
802
  "name": "meta.function-call.other.twig"
@@ -863,7 +863,7 @@
863
863
  "match": "(?<=is\\s)(defined|empty|even|iterable|odd)"
864
864
  },
865
865
  "twig-functions-warg": {
866
- "begin": "(?<=[\\s\\(\\[\\{:,])(attribute|block|constant|cycle|date|divisible by|dump|include|max|min|parent|random|range|same as|source|template_from_string)(\\()",
866
+ "begin": "(?<=[\\s(\\[{:,])(attribute|block|constant|cycle|date|divisible by|dump|include|max|min|parent|random|range|same as|source|template_from_string)(\\()",
867
867
  "beginCaptures": {
868
868
  "1": {
869
869
  "name": "support.function.twig"
@@ -919,13 +919,13 @@
919
919
  ]
920
920
  },
921
921
  "twig-hashes": {
922
- "begin": "(?<=[\\s\\(\\{\\[:,])\\{",
922
+ "begin": "(?<=[\\s({\\[:,])\\{",
923
923
  "beginCaptures": {
924
924
  "0": {
925
925
  "name": "punctuation.section.hash.begin.twig"
926
926
  }
927
927
  },
928
- "end": "\\}",
928
+ "end": "}",
929
929
  "endCaptures": {
930
930
  "0": {
931
931
  "name": "punctuation.section.hash.end.twig"
@@ -990,7 +990,7 @@
990
990
  "name": "keyword.control.twig"
991
991
  },
992
992
  "twig-macros": {
993
- "begin": "(?<=[\\s\\(\\[\\{:,])([a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)(?:(\\.)([a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*))?(\\()",
993
+ "begin": "(?<=[\\s(\\[{:,])([a-zA-Z_\\x7F-ÿ][a-zA-Z0-9_\\x7F-ÿ]*)(?:(\\.)([a-zA-Z_\\x7F-ÿ][a-zA-Z0-9_\\x7F-ÿ]*))?(\\()",
994
994
  "beginCaptures": {
995
995
  "1": {
996
996
  "name": "meta.function-call.twig"
@@ -1063,7 +1063,7 @@
1063
1063
  "name": "variable.other.twig"
1064
1064
  }
1065
1065
  },
1066
- "match": "(?<=[\\s\\{\\[\\(:,])([a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)(?=[\\s\\}\\[\\]\\(\\)\\.\\|,:])"
1066
+ "match": "(?<=[\\s{\\[(:,])([a-zA-Z_\\x7F-ÿ][a-zA-Z0-9_\\x7F-ÿ]*)(?=[\\s}\\[\\]().|,:])"
1067
1067
  },
1068
1068
  "twig-operators": {
1069
1069
  "patterns": [
@@ -1073,7 +1073,7 @@
1073
1073
  "name": "keyword.operator.arithmetic.twig"
1074
1074
  }
1075
1075
  },
1076
- "match": "(?<=\\s)(\\+|-|//?|%|\\*\\*?)(?=\\s)"
1076
+ "match": "(?<=\\s)([+\\-]|//?|%|\\*\\*?)(?=\\s)"
1077
1077
  },
1078
1078
  {
1079
1079
  "captures": {
@@ -1081,7 +1081,7 @@
1081
1081
  "name": "keyword.operator.assignment.twig"
1082
1082
  }
1083
1083
  },
1084
- "match": "(?<=\\s)(=|~)(?=\\s)"
1084
+ "match": "(?<=\\s)([=~])(?=\\s)"
1085
1085
  },
1086
1086
  {
1087
1087
  "captures": {
@@ -1097,7 +1097,7 @@
1097
1097
  "name": "keyword.operator.comparison.twig"
1098
1098
  }
1099
1099
  },
1100
- "match": "(?<=\\s)((?:!|=)=|<=?|>=?|(?:not )?in|is(?: not)?|(?:ends|starts) with|matches)(?=\\s)"
1100
+ "match": "(?<=\\s)([!=]=|<=?|>=?|(?:not )?in|is(?: not)?|(?:ends|starts) with|matches)(?=\\s)"
1101
1101
  },
1102
1102
  {
1103
1103
  "captures": {
@@ -1105,7 +1105,7 @@
1105
1105
  "name": "keyword.operator.logical.twig"
1106
1106
  }
1107
1107
  },
1108
- "match": "(?<=\\s)(\\?|:|\\?:|\\?\\?|and|not|or)(?=\\s)"
1108
+ "match": "(?<=\\s)([?:]|\\?:|\\?\\?|and|not|or)(?=\\s)"
1109
1109
  },
1110
1110
  {
1111
1111
  "captures": {
@@ -1113,7 +1113,7 @@
1113
1113
  "name": "keyword.operator.other.twig"
1114
1114
  }
1115
1115
  },
1116
- "match": "(?<=[a-zA-Z0-9_\\x{7f}-\\x{ff}\\]\\)'\"])\\.\\.(?=[a-zA-Z0-9_\\x{7f}-\\x{ff}'\"])"
1116
+ "match": "(?<=[a-zA-Z0-9_\\x7F-ÿ\\])'\"])\\.\\.(?=[a-zA-Z0-9_\\x7F-ÿ'\"])"
1117
1117
  },
1118
1118
  {
1119
1119
  "captures": {
@@ -1121,7 +1121,7 @@
1121
1121
  "name": "keyword.operator.other.twig"
1122
1122
  }
1123
1123
  },
1124
- "match": "(?<=[a-zA-Z0-9_\\x{7f}-\\x{ff}\\]\\}\\)'\"])\\|(?=[a-zA-Z_\\x{7f}-\\x{ff}])"
1124
+ "match": "(?<=[a-zA-Z0-9_\\x7F-ÿ\\]})'\"])\\|(?=[a-zA-Z_\\x7F-ÿ])"
1125
1125
  }
1126
1126
  ]
1127
1127
  },
@@ -1132,7 +1132,7 @@
1132
1132
  "name": "punctuation.section.tag.twig"
1133
1133
  }
1134
1134
  },
1135
- "end": "-?\\}\\}",
1135
+ "end": "-?}}",
1136
1136
  "endCaptures": {
1137
1137
  "0": {
1138
1138
  "name": "punctuation.section.tag.twig"
@@ -1195,10 +1195,10 @@
1195
1195
  "name": "variable.other.property.twig"
1196
1196
  }
1197
1197
  },
1198
- "match": "(?<=[a-zA-Z0-9_\\x{7f}-\\x{ff}])(\\.)([a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)(?=[\\.\\s\\|\\[\\)\\]\\}:,])"
1198
+ "match": "(?<=[a-zA-Z0-9_\\x7F-ÿ])(\\.)([a-zA-Z_\\x7F-ÿ][a-zA-Z0-9_\\x7F-ÿ]*)(?=[.\\s|\\[)\\]}:,])"
1199
1199
  },
1200
1200
  {
1201
- "begin": "(?<=[a-zA-Z0-9_\\x{7f}-\\x{ff}])(\\.)([a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)(\\()",
1201
+ "begin": "(?<=[a-zA-Z0-9_\\x7F-ÿ])(\\.)([a-zA-Z_\\x7F-ÿ][a-zA-Z0-9_\\x7F-ÿ]*)(\\()",
1202
1202
  "beginCaptures": {
1203
1203
  "1": {
1204
1204
  "name": "punctuation.separator.property.twig"
@@ -1286,7 +1286,7 @@
1286
1286
  "name": "punctuation.section.array.end.twig"
1287
1287
  }
1288
1288
  },
1289
- "match": "(?<=[a-zA-Z0-9_\\x{7f}-\\x{ff}\\]])(?:(\\[)('[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*')(\\])|(\\[)(\"[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*\")(\\])|(\\[)([a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)(\\]))"
1289
+ "match": "(?<=[a-zA-Z0-9_\\x7F-ÿ\\]])(?:(\\[)('[a-zA-Z_\\x7F-ÿ][a-zA-Z0-9_\\x7F-ÿ]*')(])|(\\[)(\"[a-zA-Z_\\x7F-ÿ][a-zA-Z0-9_\\x7F-ÿ]*\")(])|(\\[)([a-zA-Z_\\x7F-ÿ][a-zA-Z0-9_\\x7F-ÿ]*)(]))"
1290
1290
  }
1291
1291
  ]
1292
1292
  },
@@ -1297,7 +1297,7 @@
1297
1297
  "name": "punctuation.section.tag.twig"
1298
1298
  }
1299
1299
  },
1300
- "end": "-?%\\}",
1300
+ "end": "-?%}",
1301
1301
  "endCaptures": {
1302
1302
  "0": {
1303
1303
  "name": "punctuation.section.tag.twig"