@shikijs/langs 3.3.0 → 3.4.1

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 (129) hide show
  1. package/dist/abap.mjs +1 -1
  2. package/dist/actionscript-3.mjs +1 -1
  3. package/dist/ada.mjs +1 -1
  4. package/dist/angular-expression.mjs +1 -1
  5. package/dist/angular-ts.mjs +1 -1
  6. package/dist/applescript.mjs +1 -1
  7. package/dist/ara.mjs +1 -1
  8. package/dist/asciidoc.mjs +1 -1
  9. package/dist/asm.mjs +1 -1
  10. package/dist/astro.mjs +1 -1
  11. package/dist/awk.mjs +1 -1
  12. package/dist/ballerina.mjs +1 -1
  13. package/dist/bat.mjs +1 -1
  14. package/dist/blade.mjs +1 -1
  15. package/dist/c.mjs +1 -1
  16. package/dist/cadence.mjs +1 -1
  17. package/dist/clarity.mjs +1 -1
  18. package/dist/cmake.mjs +1 -1
  19. package/dist/cobol.mjs +1 -1
  20. package/dist/codeql.mjs +1 -1
  21. package/dist/coffee.mjs +1 -1
  22. package/dist/common-lisp.mjs +1 -1
  23. package/dist/coq.mjs +1 -1
  24. package/dist/cpp-macro.mjs +1 -1
  25. package/dist/cpp.mjs +1 -1
  26. package/dist/crystal.mjs +1 -1
  27. package/dist/css.mjs +1 -1
  28. package/dist/cypher.mjs +1 -1
  29. package/dist/d.mjs +1 -1
  30. package/dist/dax.mjs +1 -1
  31. package/dist/dream-maker.mjs +1 -1
  32. package/dist/elixir.mjs +1 -1
  33. package/dist/elm.mjs +1 -1
  34. package/dist/emacs-lisp.mjs +1 -1
  35. package/dist/erlang.mjs +1 -1
  36. package/dist/fennel.mjs +1 -1
  37. package/dist/fortran-free-form.mjs +1 -1
  38. package/dist/fsharp.mjs +1 -1
  39. package/dist/gdresource.mjs +1 -1
  40. package/dist/gdscript.mjs +1 -1
  41. package/dist/gherkin.mjs +1 -1
  42. package/dist/gleam.mjs +1 -1
  43. package/dist/glimmer-js.mjs +1 -1
  44. package/dist/glimmer-ts.mjs +1 -1
  45. package/dist/glsl.mjs +1 -1
  46. package/dist/gnuplot.mjs +1 -1
  47. package/dist/go.mjs +1 -1
  48. package/dist/groovy.mjs +1 -1
  49. package/dist/hack.mjs +1 -1
  50. package/dist/handlebars.mjs +1 -1
  51. package/dist/haxe.mjs +1 -1
  52. package/dist/hlsl.mjs +1 -1
  53. package/dist/html.mjs +1 -1
  54. package/dist/imba.mjs +1 -1
  55. package/dist/java.mjs +1 -1
  56. package/dist/javascript.mjs +1 -1
  57. package/dist/jinja.mjs +1 -1
  58. package/dist/jsonnet.mjs +1 -1
  59. package/dist/jsx.mjs +1 -1
  60. package/dist/julia.mjs +1 -1
  61. package/dist/kusto.mjs +1 -1
  62. package/dist/latex.mjs +1 -1
  63. package/dist/lean.mjs +1 -1
  64. package/dist/less.mjs +1 -1
  65. package/dist/liquid.mjs +1 -1
  66. package/dist/llvm.mjs +1 -1
  67. package/dist/log.mjs +1 -1
  68. package/dist/logo.mjs +1 -1
  69. package/dist/luau.mjs +1 -1
  70. package/dist/make.mjs +1 -1
  71. package/dist/markdown.mjs +1 -1
  72. package/dist/marko.mjs +1 -1
  73. package/dist/matlab.mjs +1 -1
  74. package/dist/mdc.mjs +1 -1
  75. package/dist/mdx.mjs +1 -1
  76. package/dist/mermaid.mjs +1 -1
  77. package/dist/mipsasm.mjs +1 -1
  78. package/dist/mojo.mjs +1 -1
  79. package/dist/nginx.mjs +1 -1
  80. package/dist/nim.mjs +1 -1
  81. package/dist/nix.mjs +1 -1
  82. package/dist/nushell.mjs +1 -1
  83. package/dist/objective-c.mjs +1 -1
  84. package/dist/objective-cpp.mjs +1 -1
  85. package/dist/ocaml.mjs +1 -1
  86. package/dist/pascal.mjs +1 -1
  87. package/dist/perl.mjs +1 -1
  88. package/dist/php.mjs +1 -1
  89. package/dist/plsql.mjs +1 -1
  90. package/dist/powershell.mjs +1 -1
  91. package/dist/prolog.mjs +1 -1
  92. package/dist/python.mjs +1 -1
  93. package/dist/qss.mjs +1 -1
  94. package/dist/r.mjs +1 -1
  95. package/dist/racket.mjs +1 -1
  96. package/dist/raku.mjs +1 -1
  97. package/dist/riscv.mjs +1 -1
  98. package/dist/ruby.mjs +1 -1
  99. package/dist/sas.mjs +1 -1
  100. package/dist/scheme.mjs +1 -1
  101. package/dist/shaderlab.mjs +1 -1
  102. package/dist/shellscript.mjs +1 -1
  103. package/dist/smalltalk.mjs +1 -1
  104. package/dist/splunk.mjs +1 -1
  105. package/dist/sql.mjs +1 -1
  106. package/dist/stata.mjs +1 -1
  107. package/dist/stylus.mjs +1 -1
  108. package/dist/svelte.mjs +1 -1
  109. package/dist/system-verilog.mjs +1 -1
  110. package/dist/systemd.mjs +1 -1
  111. package/dist/talonscript.mjs +1 -1
  112. package/dist/templ.mjs +1 -1
  113. package/dist/terraform.mjs +1 -1
  114. package/dist/tex.mjs +1 -1
  115. package/dist/toml.mjs +1 -1
  116. package/dist/tsx.mjs +1 -1
  117. package/dist/typescript.mjs +1 -1
  118. package/dist/typst.mjs +1 -1
  119. package/dist/v.mjs +1 -1
  120. package/dist/vala.mjs +1 -1
  121. package/dist/vb.mjs +1 -1
  122. package/dist/vhdl.mjs +1 -1
  123. package/dist/viml.mjs +1 -1
  124. package/dist/vyper.mjs +1 -1
  125. package/dist/wasm.mjs +1 -1
  126. package/dist/wikitext.mjs +1 -1
  127. package/dist/wolfram.mjs +1 -1
  128. package/dist/zenscript.mjs +1 -1
  129. package/package.json +3 -3
package/dist/liquid.mjs CHANGED
@@ -3,7 +3,7 @@ import css from './css.mjs'
3
3
  import json from './json.mjs'
4
4
  import javascript from './javascript.mjs'
5
5
 
6
- const lang = Object.freeze(JSON.parse("{\"displayName\":\"Liquid\",\"fileTypes\":[\"liquid\"],\"foldingStartMarker\":\"\\\\{%-?\\\\s*(capture|case|comment|for|form|if|javascript|paginate|schema|style)[^%()}]+%}\",\"foldingStopMarker\":\"\\\\{%\\\\s*(end(?:capture|case|comment|for|form|if|javascript|paginate|schema|style))[^%()}]+%}\",\"injections\":{\"L:meta.embedded.block.js, L:meta.embedded.block.css, L:meta.embedded.block.html, L:string.quoted\":{\"patterns\":[{\"include\":\"#injection\"}]}},\"name\":\"liquid\",\"patterns\":[{\"include\":\"#core\"}],\"repository\":{\"attribute\":{\"begin\":\"\\\\w+:\",\"beginCaptures\":{\"0\":{\"name\":\"entity.other.attribute-name.liquid\"}},\"end\":\"(?=,|%}|}}|\\\\|)\",\"patterns\":[{\"include\":\"#value_expression\"}]},\"attribute_liquid\":{\"begin\":\"\\\\w+:\",\"beginCaptures\":{\"0\":{\"name\":\"entity.other.attribute-name.liquid\"}},\"end\":\"(?=[,|])|$\",\"patterns\":[{\"include\":\"#value_expression\"}]},\"comment_block\":{\"begin\":\"\\\\{%-?\\\\s*comment\\\\s*-?%}\",\"end\":\"\\\\{%-?\\\\s*endcomment\\\\s*-?%}\",\"name\":\"comment.block.liquid\",\"patterns\":[{\"include\":\"#comment_block\"},{\"match\":\"(.(?!\\\\{%-?\\\\s*((?:|end)comment)\\\\s*-?%}))*.\"}]},\"core\":{\"patterns\":[{\"include\":\"#raw_tag\"},{\"include\":\"#doc_tag\"},{\"include\":\"#comment_block\"},{\"include\":\"#style_codefence\"},{\"include\":\"#stylesheet_codefence\"},{\"include\":\"#json_codefence\"},{\"include\":\"#javascript_codefence\"},{\"include\":\"#object\"},{\"include\":\"#tag\"},{\"include\":\"text.html.basic\"}]},\"doc_tag\":{\"begin\":\"\\\\{%-?\\\\s*(doc)\\\\s*-?%}\",\"beginCaptures\":{\"0\":{\"name\":\"meta.tag.liquid\"},\"1\":{\"name\":\"entity.name.tag.doc.liquid\"}},\"contentName\":\"comment.block.documentation.liquid\",\"end\":\"\\\\{%-?\\\\s*(enddoc)\\\\s*-?%}\",\"endCaptures\":{\"0\":{\"name\":\"meta.tag.liquid\"},\"1\":{\"name\":\"entity.name.tag.doc.liquid\"}},\"name\":\"meta.block.doc.liquid\",\"patterns\":[{\"include\":\"#liquid_doc_description_tag\"},{\"include\":\"#liquid_doc_param_tag\"},{\"include\":\"#liquid_doc_example_tag\"},{\"include\":\"#liquid_doc_fallback_tag\"}]},\"filter\":{\"captures\":{\"1\":{\"name\":\"support.function.liquid\"}},\"match\":\"\\\\|\\\\s*((?![.0-9])[-0-9A-Z_a-z]+:?)\\\\s*\"},\"injection\":{\"patterns\":[{\"include\":\"#raw_tag\"},{\"include\":\"#comment_block\"},{\"include\":\"#object\"},{\"include\":\"#tag_injection\"}]},\"invalid_range\":{\"match\":\"\\\\((.(?!\\\\.\\\\.))+\\\\)\",\"name\":\"invalid.illegal.range.liquid\"},\"javascript_codefence\":{\"begin\":\"(\\\\{%-?)\\\\s*(javascript)\\\\s*(-?%})\",\"beginCaptures\":{\"0\":{\"name\":\"meta.tag.metadata.javascript.start.liquid\"},\"1\":{\"name\":\"punctuation.definition.tag.begin.liquid\"},\"2\":{\"name\":\"entity.name.tag.javascript.liquid\"},\"3\":{\"name\":\"punctuation.definition.tag.begin.liquid\"}},\"contentName\":\"meta.embedded.block.js\",\"end\":\"(\\\\{%-?)\\\\s*(endjavascript)\\\\s*(-?%})\",\"endCaptures\":{\"0\":{\"name\":\"meta.tag.metadata.javascript.end.liquid\"},\"1\":{\"name\":\"punctuation.definition.tag.end.liquid\"},\"2\":{\"name\":\"entity.name.tag.javascript.liquid\"},\"3\":{\"name\":\"punctuation.definition.tag.end.liquid\"}},\"name\":\"meta.block.javascript.liquid\",\"patterns\":[{\"include\":\"source.js\"}]},\"json_codefence\":{\"begin\":\"(\\\\{%-?)\\\\s*(schema)\\\\s*(-?%})\",\"beginCaptures\":{\"0\":{\"name\":\"meta.tag.metadata.schema.start.liquid\"},\"1\":{\"name\":\"punctuation.definition.tag.begin.liquid\"},\"2\":{\"name\":\"entity.name.tag.schema.liquid\"},\"3\":{\"name\":\"punctuation.definition.tag.begin.liquid\"}},\"contentName\":\"meta.embedded.block.json\",\"end\":\"(\\\\{%-?)\\\\s*(endschema)\\\\s*(-?%})\",\"endCaptures\":{\"0\":{\"name\":\"meta.tag.metadata.schema.end.liquid\"},\"1\":{\"name\":\"punctuation.definition.tag.end.liquid\"},\"2\":{\"name\":\"entity.name.tag.schema.liquid\"},\"3\":{\"name\":\"punctuation.definition.tag.end.liquid\"}},\"name\":\"meta.block.schema.liquid\",\"patterns\":[{\"include\":\"source.json\"}]},\"language_constant\":{\"match\":\"\\\\b(false|true|nil|blank)\\\\b|empty(?!\\\\?)\",\"name\":\"constant.language.liquid\"},\"liquid_doc_description_tag\":{\"begin\":\"(@description)\\\\b\\\\s*\",\"beginCaptures\":{\"0\":{\"name\":\"comment.block.documentation.liquid\"},\"1\":{\"name\":\"storage.type.class.liquid\"}},\"end\":\"(?=@|\\\\{%-?\\\\s*enddoc\\\\s*-?%})\",\"patterns\":[{\"match\":\"[^@]+\",\"name\":\"string.quoted.single.liquid\"}]},\"liquid_doc_example_tag\":{\"begin\":\"(@example)\\\\b\\\\s*\",\"beginCaptures\":{\"0\":{\"name\":\"comment.block.documentation.liquid\"},\"1\":{\"name\":\"storage.type.class.liquid\"}},\"contentName\":\"meta.embedded.block.liquid\",\"end\":\"(?=@|\\\\{%-?\\\\s*enddoc\\\\s*-?%})\",\"patterns\":[{\"include\":\"#core\"}]},\"liquid_doc_fallback_tag\":{\"captures\":{\"1\":{\"name\":\"comment.block.liquid\"}},\"match\":\"(@\\\\w+)\\\\b\"},\"liquid_doc_param_tag\":{\"captures\":{\"1\":{\"name\":\"storage.type.class.liquid\"},\"2\":{\"name\":\"entity.name.type.instance.liquid\"},\"3\":{\"name\":\"variable.other.liquid\"},\"4\":{\"name\":\"string.quoted.single.liquid\"}},\"match\":\"(@param)\\\\s+(?:(\\\\{[^}]*}?)\\\\s+)?(\\\\[?[A-Z_a-z][-\\\\w]*]?)?(?:\\\\s+(.*))?\"},\"number\":{\"match\":\"(([-+])\\\\s*)?[0-9]+(\\\\.[0-9]+)?\",\"name\":\"constant.numeric.liquid\"},\"object\":{\"begin\":\"(?<!comment %})(?<!comment -%})(?<!comment%})(?<!comment-%})(?<!raw %})(?<!raw -%})(?<!raw%})(?<!raw-%})\\\\{\\\\{-?\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.begin.liquid\"}},\"end\":\"-?}}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.liquid\"}},\"name\":\"meta.object.liquid\",\"patterns\":[{\"include\":\"#filter\"},{\"include\":\"#attribute\"},{\"include\":\"#value_expression\"}]},\"operator\":{\"captures\":{\"1\":{\"name\":\"keyword.operator.expression.liquid\"}},\"match\":\"(?:(?<=\\\\s)|\\\\b)(==|!=|[<>]|>=|<=|or|and|contains)(?:(?=\\\\s)|\\\\b)\"},\"range\":{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.parens.begin.liquid\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.parens.end.liquid\"}},\"name\":\"meta.range.liquid\",\"patterns\":[{\"match\":\"\\\\.\\\\.\",\"name\":\"punctuation.range.liquid\"},{\"include\":\"#variable_lookup\"},{\"include\":\"#number\"}]},\"raw_tag\":{\"begin\":\"\\\\{%-?\\\\s*(raw)\\\\s*-?%}\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.liquid\"}},\"contentName\":\"string.unquoted.liquid\",\"end\":\"\\\\{%-?\\\\s*(endraw)\\\\s*-?%}\",\"endCaptures\":{\"1\":{\"name\":\"entity.name.tag.liquid\"}},\"name\":\"meta.entity.tag.raw.liquid\",\"patterns\":[{\"match\":\"(.(?!\\\\{%-?\\\\s*endraw\\\\s*-?%}))*.\"}]},\"string\":{\"patterns\":[{\"include\":\"#string_single\"},{\"include\":\"#string_double\"}]},\"string_double\":{\"begin\":\"\\\"\",\"end\":\"\\\"\",\"name\":\"string.quoted.double.liquid\"},\"string_single\":{\"begin\":\"'\",\"end\":\"'\",\"name\":\"string.quoted.single.liquid\"},\"style_codefence\":{\"begin\":\"(\\\\{%-?)\\\\s*(style)\\\\s*(-?%})\",\"beginCaptures\":{\"0\":{\"name\":\"meta.tag.metadata.style.start.liquid\"},\"1\":{\"name\":\"punctuation.definition.tag.begin.liquid\"},\"2\":{\"name\":\"entity.name.tag.style.liquid\"},\"3\":{\"name\":\"punctuation.definition.tag.begin.liquid\"}},\"contentName\":\"meta.embedded.block.css\",\"end\":\"(\\\\{%-?)\\\\s*(endstyle)\\\\s*(-?%})\",\"endCaptures\":{\"0\":{\"name\":\"meta.tag.metadata.style.end.liquid\"},\"1\":{\"name\":\"punctuation.definition.tag.end.liquid\"},\"2\":{\"name\":\"entity.name.tag.style.liquid\"},\"3\":{\"name\":\"punctuation.definition.tag.end.liquid\"}},\"name\":\"meta.block.style.liquid\",\"patterns\":[{\"include\":\"source.css\"}]},\"stylesheet_codefence\":{\"begin\":\"(\\\\{%-?)\\\\s*(stylesheet)\\\\s*(-?%})\",\"beginCaptures\":{\"0\":{\"name\":\"meta.tag.metadata.style.start.liquid\"},\"1\":{\"name\":\"punctuation.definition.tag.begin.liquid\"},\"2\":{\"name\":\"entity.name.tag.style.liquid\"},\"3\":{\"name\":\"punctuation.definition.tag.begin.liquid\"}},\"contentName\":\"meta.embedded.block.css\",\"end\":\"(\\\\{%-?)\\\\s*(endstylesheet)\\\\s*(-?%})\",\"endCaptures\":{\"0\":{\"name\":\"meta.tag.metadata.style.end.liquid\"},\"1\":{\"name\":\"punctuation.definition.tag.end.liquid\"},\"2\":{\"name\":\"entity.name.tag.style.liquid\"},\"3\":{\"name\":\"punctuation.definition.tag.end.liquid\"}},\"name\":\"meta.block.style.liquid\",\"patterns\":[{\"include\":\"source.css\"}]},\"tag\":{\"begin\":\"(?<!comment %})(?<!comment -%})(?<!comment%})(?<!comment-%})(?<!raw %})(?<!raw -%})(?<!raw%})(?<!raw-%})\\\\{%-?\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.begin.liquid\"}},\"end\":\"-?%}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.liquid\"}},\"name\":\"meta.tag.liquid\",\"patterns\":[{\"include\":\"#tag_body\"}]},\"tag_assign\":{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(assign|echo)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.liquid\"}},\"end\":\"(?=%})\",\"name\":\"meta.entity.tag.liquid\",\"patterns\":[{\"include\":\"#filter\"},{\"include\":\"#attribute\"},{\"include\":\"#value_expression\"}]},\"tag_assign_liquid\":{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(assign|echo)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.liquid\"}},\"end\":\"$\",\"name\":\"meta.entity.tag.liquid\",\"patterns\":[{\"include\":\"#filter\"},{\"include\":\"#attribute_liquid\"},{\"include\":\"#value_expression\"}]},\"tag_body\":{\"patterns\":[{\"include\":\"#tag_liquid\"},{\"include\":\"#tag_assign\"},{\"include\":\"#tag_comment_inline\"},{\"include\":\"#tag_case\"},{\"include\":\"#tag_conditional\"},{\"include\":\"#tag_for\"},{\"include\":\"#tag_paginate\"},{\"include\":\"#tag_render\"},{\"include\":\"#tag_tablerow\"},{\"include\":\"#tag_expression\"}]},\"tag_case\":{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(case|when)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.case.liquid\"}},\"end\":\"(?=%})\",\"name\":\"meta.entity.tag.case.liquid\",\"patterns\":[{\"include\":\"#value_expression\"}]},\"tag_case_liquid\":{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(case|when)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.case.liquid\"}},\"end\":\"$\",\"name\":\"meta.entity.tag.case.liquid\",\"patterns\":[{\"include\":\"#value_expression\"}]},\"tag_comment_block_liquid\":{\"begin\":\"^\\\\s*(comment)\\\\b\",\"end\":\"^\\\\s*(endcomment)\\\\b\",\"name\":\"comment.block.liquid\",\"patterns\":[{\"include\":\"#tag_comment_block_liquid\"},{\"match\":\"^\\\\s*(?!((?:|end)comment)).*\"}]},\"tag_comment_inline\":{\"begin\":\"#\",\"end\":\"(?=%})\",\"name\":\"comment.line.number-sign.liquid\"},\"tag_comment_inline_liquid\":{\"begin\":\"^\\\\s*#.*\",\"end\":\"$\",\"name\":\"comment.line.number-sign.liquid\"},\"tag_conditional\":{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(if|elsif|unless)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.conditional.liquid\"}},\"end\":\"(?=%})\",\"name\":\"meta.entity.tag.conditional.liquid\",\"patterns\":[{\"include\":\"#value_expression\"}]},\"tag_conditional_liquid\":{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(if|elsif|unless)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.conditional.liquid\"}},\"end\":\"$\",\"name\":\"meta.entity.tag.conditional.liquid\",\"patterns\":[{\"include\":\"#value_expression\"}]},\"tag_expression\":{\"patterns\":[{\"include\":\"#tag_expression_without_arguments\"},{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(\\\\w+)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.liquid\"}},\"end\":\"(?=%})\",\"name\":\"meta.entity.tag.liquid\",\"patterns\":[{\"include\":\"#value_expression\"}]}]},\"tag_expression_liquid\":{\"patterns\":[{\"include\":\"#tag_expression_without_arguments\"},{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(\\\\w+)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.liquid\"}},\"end\":\"$\",\"name\":\"meta.entity.tag.liquid\",\"patterns\":[{\"include\":\"#value_expression\"}]}]},\"tag_expression_without_arguments\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.control.conditional.liquid\"}},\"match\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(end(?:unless|if))\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.loop.liquid\"}},\"match\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(end(?:for|tablerow|paginate))\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.case.liquid\"}},\"match\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(endcase)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.other.liquid\"}},\"match\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(capture|case|comment|for|form|if|javascript|paginate|schema|style)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.other.liquid\"}},\"match\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(end(?:capture|case|comment|for|form|if|javascript|paginate|schema|style))\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.other.liquid\"}},\"match\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(else|break|continue)\\\\b\"}]},\"tag_for\":{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(for)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.for.liquid\"}},\"end\":\"(?=%})\",\"name\":\"meta.entity.tag.for.liquid\",\"patterns\":[{\"include\":\"#tag_for_body\"}]},\"tag_for_body\":{\"patterns\":[{\"match\":\"\\\\b(in|reversed)\\\\b\",\"name\":\"keyword.control.liquid\"},{\"match\":\"\\\\b(offset|limit):\",\"name\":\"keyword.control.liquid\"},{\"include\":\"#value_expression\"}]},\"tag_for_liquid\":{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(for)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.for.liquid\"}},\"end\":\"$\",\"name\":\"meta.entity.tag.for.liquid\",\"patterns\":[{\"include\":\"#tag_for_body\"}]},\"tag_injection\":{\"begin\":\"(?<!comment %})(?<!comment -%})(?<!comment%})(?<!comment-%})(?<!raw %})(?<!raw -%})(?<!raw%})(?<!raw-%})\\\\{%-?(?!-?\\\\s*(end(?:style|javascript|comment|raw)))\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.liquid\"}},\"end\":\"-?%}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.liquid\"}},\"name\":\"meta.tag.liquid\",\"patterns\":[{\"include\":\"#tag_body\"}]},\"tag_liquid\":{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(liquid)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.liquid.liquid\"}},\"end\":\"(?=%})\",\"name\":\"meta.entity.tag.liquid.liquid\",\"patterns\":[{\"include\":\"#tag_comment_block_liquid\"},{\"include\":\"#tag_comment_inline_liquid\"},{\"include\":\"#tag_assign_liquid\"},{\"include\":\"#tag_case_liquid\"},{\"include\":\"#tag_conditional_liquid\"},{\"include\":\"#tag_for_liquid\"},{\"include\":\"#tag_paginate_liquid\"},{\"include\":\"#tag_render_liquid\"},{\"include\":\"#tag_tablerow_liquid\"},{\"include\":\"#tag_expression_liquid\"}]},\"tag_paginate\":{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(paginate)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.paginate.liquid\"}},\"end\":\"(?=%})\",\"name\":\"meta.entity.tag.paginate.liquid\",\"patterns\":[{\"include\":\"#tag_paginate_body\"}]},\"tag_paginate_body\":{\"patterns\":[{\"match\":\"\\\\b(by)\\\\b\",\"name\":\"keyword.control.liquid\"},{\"include\":\"#value_expression\"}]},\"tag_paginate_liquid\":{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(paginate)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.paginate.liquid\"}},\"end\":\"$\",\"name\":\"meta.entity.tag.paginate.liquid\",\"patterns\":[{\"include\":\"#tag_paginate_body\"}]},\"tag_render\":{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(render)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.render.liquid\"}},\"end\":\"(?=%})\",\"name\":\"meta.entity.tag.render.liquid\",\"patterns\":[{\"include\":\"#tag_render_special_keywords\"},{\"include\":\"#attribute\"},{\"include\":\"#value_expression\"}]},\"tag_render_liquid\":{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(render)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.render.liquid\"}},\"end\":\"$\",\"name\":\"meta.entity.tag.render.liquid\",\"patterns\":[{\"include\":\"#tag_render_special_keywords\"},{\"include\":\"#attribute_liquid\"},{\"include\":\"#value_expression\"}]},\"tag_render_special_keywords\":{\"match\":\"\\\\b(with|as|for)\\\\b\",\"name\":\"keyword.control.other.liquid\"},\"tag_tablerow\":{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(tablerow)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.tablerow.liquid\"}},\"end\":\"(?=%})\",\"name\":\"meta.entity.tag.tablerow.liquid\",\"patterns\":[{\"include\":\"#tag_tablerow_body\"}]},\"tag_tablerow_body\":{\"patterns\":[{\"match\":\"\\\\b(in)\\\\b\",\"name\":\"keyword.control.liquid\"},{\"match\":\"\\\\b(cols|offset|limit):\",\"name\":\"keyword.control.liquid\"},{\"include\":\"#value_expression\"}]},\"tag_tablerow_liquid\":{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(tablerow)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.tablerow.liquid\"}},\"end\":\"$\",\"name\":\"meta.entity.tag.tablerow.liquid\",\"patterns\":[{\"include\":\"#tag_tablerow_body\"}]},\"value_expression\":{\"patterns\":[{\"captures\":{\"2\":{\"name\":\"invalid.illegal.filter.liquid\"},\"3\":{\"name\":\"invalid.illegal.filter.liquid\"}},\"match\":\"(\\\\[)(\\\\|)(?=[^]]*)(?=])\"},{\"match\":\"(?<=\\\\s)([-*+/])(?=\\\\s)\",\"name\":\"invalid.illegal.filter.liquid\"},{\"include\":\"#language_constant\"},{\"include\":\"#operator\"},{\"include\":\"#invalid_range\"},{\"include\":\"#range\"},{\"include\":\"#number\"},{\"include\":\"#string\"},{\"include\":\"#variable_lookup\"}]},\"variable_lookup\":{\"patterns\":[{\"match\":\"\\\\b(additional_checkout_buttons|address|all_country_option_tags|all_products|article|articles|block|blog|blogs|canonical_url|cart|checkout|collection|collections|comment|content_for_additional_checkout_buttons|content_for_header|content_for_index|content_for_layout|country_option_tags|currency|current_page|current_tags|customer|customer_address|discount_allocation|discount_application|external_video|font|forloop|form|fulfillment|gift_card|handle|image|images|line_item|link|linklist|linklists|location|localization|metafield|model|model_source|order|page|page_description|page_image|page_title|pages|paginate|part|policy|powered_by_link|predictive_search|product|product_option|product_variant|recommendations|request|routes|script|scripts|search|section|selling_plan|selling_plan_allocation|selling_plan_group|settings|shipping_method|shop|shop_locale|store_availability|tablerow|tax_line|template|theme|transaction|unit_price_measurement|variant|video|video_source)\\\\b\",\"name\":\"variable.language.liquid\"},{\"match\":\"((?<=\\\\w:\\\\s)\\\\w+)\",\"name\":\"variable.parameter.liquid\"},{\"begin\":\"(?<=\\\\w)\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.brackets.begin.liquid\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.brackets.end.liquid\"}},\"name\":\"meta.brackets.liquid\",\"patterns\":[{\"include\":\"#string\"}]},{\"match\":\"(?<=([]\\\\w])\\\\.)([-\\\\w]+\\\\??)\",\"name\":\"variable.other.member.liquid\"},{\"match\":\"(?<=\\\\w)\\\\.(?=\\\\w)\",\"name\":\"punctuation.accessor.liquid\"},{\"match\":\"(?i)[_a-z](\\\\w|-(?!}}))*\",\"name\":\"variable.other.liquid\"}]}},\"scopeName\":\"text.html.liquid\",\"embeddedLangs\":[\"html\",\"css\",\"json\",\"javascript\"]}"))
6
+ const lang = Object.freeze(JSON.parse("{\"displayName\":\"Liquid\",\"fileTypes\":[\"liquid\"],\"foldingStartMarker\":\"\\\\{%-?\\\\s*(capture|case|comment|form??|if|javascript|paginate|schema|style)[^%()}]+%}\",\"foldingStopMarker\":\"\\\\{%\\\\s*(end(?:capture|case|comment|form??|if|javascript|paginate|schema|style))[^%()}]+%}\",\"injections\":{\"L:meta.embedded.block.js, L:meta.embedded.block.css, L:meta.embedded.block.html, L:string.quoted\":{\"patterns\":[{\"include\":\"#injection\"}]}},\"name\":\"liquid\",\"patterns\":[{\"include\":\"#core\"}],\"repository\":{\"attribute\":{\"begin\":\"\\\\w+:\",\"beginCaptures\":{\"0\":{\"name\":\"entity.other.attribute-name.liquid\"}},\"end\":\"(?=,|%}|}}|\\\\|)\",\"patterns\":[{\"include\":\"#value_expression\"}]},\"attribute_liquid\":{\"begin\":\"\\\\w+:\",\"beginCaptures\":{\"0\":{\"name\":\"entity.other.attribute-name.liquid\"}},\"end\":\"(?=[,|])|$\",\"patterns\":[{\"include\":\"#value_expression\"}]},\"comment_block\":{\"begin\":\"\\\\{%-?\\\\s*comment\\\\s*-?%}\",\"end\":\"\\\\{%-?\\\\s*endcomment\\\\s*-?%}\",\"name\":\"comment.block.liquid\",\"patterns\":[{\"include\":\"#comment_block\"},{\"match\":\"(.(?!\\\\{%-?\\\\s*((?:|end)comment)\\\\s*-?%}))*.\"}]},\"core\":{\"patterns\":[{\"include\":\"#raw_tag\"},{\"include\":\"#doc_tag\"},{\"include\":\"#comment_block\"},{\"include\":\"#style_codefence\"},{\"include\":\"#stylesheet_codefence\"},{\"include\":\"#json_codefence\"},{\"include\":\"#javascript_codefence\"},{\"include\":\"#object\"},{\"include\":\"#tag\"},{\"include\":\"text.html.basic\"}]},\"doc_tag\":{\"begin\":\"\\\\{%-?\\\\s*(doc)\\\\s*-?%}\",\"beginCaptures\":{\"0\":{\"name\":\"meta.tag.liquid\"},\"1\":{\"name\":\"entity.name.tag.doc.liquid\"}},\"contentName\":\"comment.block.documentation.liquid\",\"end\":\"\\\\{%-?\\\\s*(enddoc)\\\\s*-?%}\",\"endCaptures\":{\"0\":{\"name\":\"meta.tag.liquid\"},\"1\":{\"name\":\"entity.name.tag.doc.liquid\"}},\"name\":\"meta.block.doc.liquid\",\"patterns\":[{\"include\":\"#liquid_doc_description_tag\"},{\"include\":\"#liquid_doc_param_tag\"},{\"include\":\"#liquid_doc_example_tag\"},{\"include\":\"#liquid_doc_fallback_tag\"}]},\"filter\":{\"captures\":{\"1\":{\"name\":\"support.function.liquid\"}},\"match\":\"\\\\|\\\\s*((?![.0-9])[-0-9A-Z_a-z]+:?)\\\\s*\"},\"injection\":{\"patterns\":[{\"include\":\"#raw_tag\"},{\"include\":\"#comment_block\"},{\"include\":\"#object\"},{\"include\":\"#tag_injection\"}]},\"invalid_range\":{\"match\":\"\\\\((.(?!\\\\.\\\\.))+\\\\)\",\"name\":\"invalid.illegal.range.liquid\"},\"javascript_codefence\":{\"begin\":\"(\\\\{%-?)\\\\s*(javascript)\\\\s*(-?%})\",\"beginCaptures\":{\"0\":{\"name\":\"meta.tag.metadata.javascript.start.liquid\"},\"1\":{\"name\":\"punctuation.definition.tag.begin.liquid\"},\"2\":{\"name\":\"entity.name.tag.javascript.liquid\"},\"3\":{\"name\":\"punctuation.definition.tag.begin.liquid\"}},\"contentName\":\"meta.embedded.block.js\",\"end\":\"(\\\\{%-?)\\\\s*(endjavascript)\\\\s*(-?%})\",\"endCaptures\":{\"0\":{\"name\":\"meta.tag.metadata.javascript.end.liquid\"},\"1\":{\"name\":\"punctuation.definition.tag.end.liquid\"},\"2\":{\"name\":\"entity.name.tag.javascript.liquid\"},\"3\":{\"name\":\"punctuation.definition.tag.end.liquid\"}},\"name\":\"meta.block.javascript.liquid\",\"patterns\":[{\"include\":\"source.js\"}]},\"json_codefence\":{\"begin\":\"(\\\\{%-?)\\\\s*(schema)\\\\s*(-?%})\",\"beginCaptures\":{\"0\":{\"name\":\"meta.tag.metadata.schema.start.liquid\"},\"1\":{\"name\":\"punctuation.definition.tag.begin.liquid\"},\"2\":{\"name\":\"entity.name.tag.schema.liquid\"},\"3\":{\"name\":\"punctuation.definition.tag.begin.liquid\"}},\"contentName\":\"meta.embedded.block.json\",\"end\":\"(\\\\{%-?)\\\\s*(endschema)\\\\s*(-?%})\",\"endCaptures\":{\"0\":{\"name\":\"meta.tag.metadata.schema.end.liquid\"},\"1\":{\"name\":\"punctuation.definition.tag.end.liquid\"},\"2\":{\"name\":\"entity.name.tag.schema.liquid\"},\"3\":{\"name\":\"punctuation.definition.tag.end.liquid\"}},\"name\":\"meta.block.schema.liquid\",\"patterns\":[{\"include\":\"source.json\"}]},\"language_constant\":{\"match\":\"\\\\b(false|true|nil|blank)\\\\b|empty(?!\\\\?)\",\"name\":\"constant.language.liquid\"},\"liquid_doc_description_tag\":{\"begin\":\"(@description)\\\\b\\\\s*\",\"beginCaptures\":{\"0\":{\"name\":\"comment.block.documentation.liquid\"},\"1\":{\"name\":\"storage.type.class.liquid\"}},\"end\":\"(?=@|\\\\{%-?\\\\s*enddoc\\\\s*-?%})\",\"patterns\":[{\"match\":\"[^@]+\",\"name\":\"string.quoted.single.liquid\"}]},\"liquid_doc_example_tag\":{\"begin\":\"(@example)\\\\b\\\\s*\",\"beginCaptures\":{\"0\":{\"name\":\"comment.block.documentation.liquid\"},\"1\":{\"name\":\"storage.type.class.liquid\"}},\"contentName\":\"meta.embedded.block.liquid\",\"end\":\"(?=@|\\\\{%-?\\\\s*enddoc\\\\s*-?%})\",\"patterns\":[{\"include\":\"#core\"}]},\"liquid_doc_fallback_tag\":{\"captures\":{\"1\":{\"name\":\"comment.block.liquid\"}},\"match\":\"(@\\\\w+)\\\\b\"},\"liquid_doc_param_tag\":{\"captures\":{\"1\":{\"name\":\"storage.type.class.liquid\"},\"2\":{\"name\":\"entity.name.type.instance.liquid\"},\"3\":{\"name\":\"variable.other.liquid\"},\"4\":{\"name\":\"string.quoted.single.liquid\"}},\"match\":\"(@param)\\\\s+(?:(\\\\{[^}]*}?)\\\\s+)?(\\\\[?[A-Z_a-z][-\\\\w]*]?)?(?:\\\\s+(.*))?\"},\"number\":{\"match\":\"(([-+])\\\\s*)?[0-9]+(\\\\.[0-9]+)?\",\"name\":\"constant.numeric.liquid\"},\"object\":{\"begin\":\"(?<!comment %})(?<!comment -%})(?<!comment%})(?<!comment-%})(?<!raw %})(?<!raw -%})(?<!raw%})(?<!raw-%})\\\\{\\\\{-?\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.begin.liquid\"}},\"end\":\"-?}}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.liquid\"}},\"name\":\"meta.object.liquid\",\"patterns\":[{\"include\":\"#filter\"},{\"include\":\"#attribute\"},{\"include\":\"#value_expression\"}]},\"operator\":{\"captures\":{\"1\":{\"name\":\"keyword.operator.expression.liquid\"}},\"match\":\"(?:(?<=\\\\s)|\\\\b)(==|!=|[<>]|>=|<=|or|and|contains)(?:(?=\\\\s)|\\\\b)\"},\"range\":{\"begin\":\"\\\\(\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.parens.begin.liquid\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.parens.end.liquid\"}},\"name\":\"meta.range.liquid\",\"patterns\":[{\"match\":\"\\\\.\\\\.\",\"name\":\"punctuation.range.liquid\"},{\"include\":\"#variable_lookup\"},{\"include\":\"#number\"}]},\"raw_tag\":{\"begin\":\"\\\\{%-?\\\\s*(raw)\\\\s*-?%}\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.liquid\"}},\"contentName\":\"string.unquoted.liquid\",\"end\":\"\\\\{%-?\\\\s*(endraw)\\\\s*-?%}\",\"endCaptures\":{\"1\":{\"name\":\"entity.name.tag.liquid\"}},\"name\":\"meta.entity.tag.raw.liquid\",\"patterns\":[{\"match\":\"(.(?!\\\\{%-?\\\\s*endraw\\\\s*-?%}))*.\"}]},\"string\":{\"patterns\":[{\"include\":\"#string_single\"},{\"include\":\"#string_double\"}]},\"string_double\":{\"begin\":\"\\\"\",\"end\":\"\\\"\",\"name\":\"string.quoted.double.liquid\"},\"string_single\":{\"begin\":\"'\",\"end\":\"'\",\"name\":\"string.quoted.single.liquid\"},\"style_codefence\":{\"begin\":\"(\\\\{%-?)\\\\s*(style)\\\\s*(-?%})\",\"beginCaptures\":{\"0\":{\"name\":\"meta.tag.metadata.style.start.liquid\"},\"1\":{\"name\":\"punctuation.definition.tag.begin.liquid\"},\"2\":{\"name\":\"entity.name.tag.style.liquid\"},\"3\":{\"name\":\"punctuation.definition.tag.begin.liquid\"}},\"contentName\":\"meta.embedded.block.css\",\"end\":\"(\\\\{%-?)\\\\s*(endstyle)\\\\s*(-?%})\",\"endCaptures\":{\"0\":{\"name\":\"meta.tag.metadata.style.end.liquid\"},\"1\":{\"name\":\"punctuation.definition.tag.end.liquid\"},\"2\":{\"name\":\"entity.name.tag.style.liquid\"},\"3\":{\"name\":\"punctuation.definition.tag.end.liquid\"}},\"name\":\"meta.block.style.liquid\",\"patterns\":[{\"include\":\"source.css\"}]},\"stylesheet_codefence\":{\"begin\":\"(\\\\{%-?)\\\\s*(stylesheet)\\\\s*(-?%})\",\"beginCaptures\":{\"0\":{\"name\":\"meta.tag.metadata.style.start.liquid\"},\"1\":{\"name\":\"punctuation.definition.tag.begin.liquid\"},\"2\":{\"name\":\"entity.name.tag.style.liquid\"},\"3\":{\"name\":\"punctuation.definition.tag.begin.liquid\"}},\"contentName\":\"meta.embedded.block.css\",\"end\":\"(\\\\{%-?)\\\\s*(endstylesheet)\\\\s*(-?%})\",\"endCaptures\":{\"0\":{\"name\":\"meta.tag.metadata.style.end.liquid\"},\"1\":{\"name\":\"punctuation.definition.tag.end.liquid\"},\"2\":{\"name\":\"entity.name.tag.style.liquid\"},\"3\":{\"name\":\"punctuation.definition.tag.end.liquid\"}},\"name\":\"meta.block.style.liquid\",\"patterns\":[{\"include\":\"source.css\"}]},\"tag\":{\"begin\":\"(?<!comment %})(?<!comment -%})(?<!comment%})(?<!comment-%})(?<!raw %})(?<!raw -%})(?<!raw%})(?<!raw-%})\\\\{%-?\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.begin.liquid\"}},\"end\":\"-?%}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.liquid\"}},\"name\":\"meta.tag.liquid\",\"patterns\":[{\"include\":\"#tag_body\"}]},\"tag_assign\":{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(assign|echo)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.liquid\"}},\"end\":\"(?=%})\",\"name\":\"meta.entity.tag.liquid\",\"patterns\":[{\"include\":\"#filter\"},{\"include\":\"#attribute\"},{\"include\":\"#value_expression\"}]},\"tag_assign_liquid\":{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(assign|echo)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.liquid\"}},\"end\":\"$\",\"name\":\"meta.entity.tag.liquid\",\"patterns\":[{\"include\":\"#filter\"},{\"include\":\"#attribute_liquid\"},{\"include\":\"#value_expression\"}]},\"tag_body\":{\"patterns\":[{\"include\":\"#tag_liquid\"},{\"include\":\"#tag_assign\"},{\"include\":\"#tag_comment_inline\"},{\"include\":\"#tag_case\"},{\"include\":\"#tag_conditional\"},{\"include\":\"#tag_for\"},{\"include\":\"#tag_paginate\"},{\"include\":\"#tag_render\"},{\"include\":\"#tag_tablerow\"},{\"include\":\"#tag_expression\"}]},\"tag_case\":{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(case|when)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.case.liquid\"}},\"end\":\"(?=%})\",\"name\":\"meta.entity.tag.case.liquid\",\"patterns\":[{\"include\":\"#value_expression\"}]},\"tag_case_liquid\":{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(case|when)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.case.liquid\"}},\"end\":\"$\",\"name\":\"meta.entity.tag.case.liquid\",\"patterns\":[{\"include\":\"#value_expression\"}]},\"tag_comment_block_liquid\":{\"begin\":\"^\\\\s*(comment)\\\\b\",\"end\":\"^\\\\s*(endcomment)\\\\b\",\"name\":\"comment.block.liquid\",\"patterns\":[{\"include\":\"#tag_comment_block_liquid\"},{\"match\":\"^\\\\s*(?!((?:|end)comment)).*\"}]},\"tag_comment_inline\":{\"begin\":\"#\",\"end\":\"(?=%})\",\"name\":\"comment.line.number-sign.liquid\"},\"tag_comment_inline_liquid\":{\"begin\":\"^\\\\s*#.*\",\"end\":\"$\",\"name\":\"comment.line.number-sign.liquid\"},\"tag_conditional\":{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(if|elsif|unless)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.conditional.liquid\"}},\"end\":\"(?=%})\",\"name\":\"meta.entity.tag.conditional.liquid\",\"patterns\":[{\"include\":\"#value_expression\"}]},\"tag_conditional_liquid\":{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(if|elsif|unless)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.conditional.liquid\"}},\"end\":\"$\",\"name\":\"meta.entity.tag.conditional.liquid\",\"patterns\":[{\"include\":\"#value_expression\"}]},\"tag_expression\":{\"patterns\":[{\"include\":\"#tag_expression_without_arguments\"},{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(\\\\w+)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.liquid\"}},\"end\":\"(?=%})\",\"name\":\"meta.entity.tag.liquid\",\"patterns\":[{\"include\":\"#value_expression\"}]}]},\"tag_expression_liquid\":{\"patterns\":[{\"include\":\"#tag_expression_without_arguments\"},{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(\\\\w+)\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.liquid\"}},\"end\":\"$\",\"name\":\"meta.entity.tag.liquid\",\"patterns\":[{\"include\":\"#value_expression\"}]}]},\"tag_expression_without_arguments\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.control.conditional.liquid\"}},\"match\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(end(?:unless|if))\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.loop.liquid\"}},\"match\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(end(?:for|tablerow|paginate))\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.case.liquid\"}},\"match\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(endcase)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.other.liquid\"}},\"match\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(capture|case|comment|form??|if|javascript|paginate|schema|style)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.other.liquid\"}},\"match\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(end(?:capture|case|comment|form??|if|javascript|paginate|schema|style))\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.other.liquid\"}},\"match\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(else|break|continue)\\\\b\"}]},\"tag_for\":{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(for)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.for.liquid\"}},\"end\":\"(?=%})\",\"name\":\"meta.entity.tag.for.liquid\",\"patterns\":[{\"include\":\"#tag_for_body\"}]},\"tag_for_body\":{\"patterns\":[{\"match\":\"\\\\b(in|reversed)\\\\b\",\"name\":\"keyword.control.liquid\"},{\"match\":\"\\\\b(offset|limit):\",\"name\":\"keyword.control.liquid\"},{\"include\":\"#value_expression\"}]},\"tag_for_liquid\":{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(for)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.for.liquid\"}},\"end\":\"$\",\"name\":\"meta.entity.tag.for.liquid\",\"patterns\":[{\"include\":\"#tag_for_body\"}]},\"tag_injection\":{\"begin\":\"(?<!comment %})(?<!comment -%})(?<!comment%})(?<!comment-%})(?<!raw %})(?<!raw -%})(?<!raw%})(?<!raw-%})\\\\{%-?(?!-?\\\\s*(end(?:style|javascript|comment|raw)))\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.liquid\"}},\"end\":\"-?%}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.liquid\"}},\"name\":\"meta.tag.liquid\",\"patterns\":[{\"include\":\"#tag_body\"}]},\"tag_liquid\":{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(liquid)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.liquid.liquid\"}},\"end\":\"(?=%})\",\"name\":\"meta.entity.tag.liquid.liquid\",\"patterns\":[{\"include\":\"#tag_comment_block_liquid\"},{\"include\":\"#tag_comment_inline_liquid\"},{\"include\":\"#tag_assign_liquid\"},{\"include\":\"#tag_case_liquid\"},{\"include\":\"#tag_conditional_liquid\"},{\"include\":\"#tag_for_liquid\"},{\"include\":\"#tag_paginate_liquid\"},{\"include\":\"#tag_render_liquid\"},{\"include\":\"#tag_tablerow_liquid\"},{\"include\":\"#tag_expression_liquid\"}]},\"tag_paginate\":{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(paginate)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.paginate.liquid\"}},\"end\":\"(?=%})\",\"name\":\"meta.entity.tag.paginate.liquid\",\"patterns\":[{\"include\":\"#tag_paginate_body\"}]},\"tag_paginate_body\":{\"patterns\":[{\"match\":\"\\\\b(by)\\\\b\",\"name\":\"keyword.control.liquid\"},{\"include\":\"#value_expression\"}]},\"tag_paginate_liquid\":{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(paginate)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.paginate.liquid\"}},\"end\":\"$\",\"name\":\"meta.entity.tag.paginate.liquid\",\"patterns\":[{\"include\":\"#tag_paginate_body\"}]},\"tag_render\":{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(render)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.render.liquid\"}},\"end\":\"(?=%})\",\"name\":\"meta.entity.tag.render.liquid\",\"patterns\":[{\"include\":\"#tag_render_special_keywords\"},{\"include\":\"#attribute\"},{\"include\":\"#value_expression\"}]},\"tag_render_liquid\":{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(render)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.tag.render.liquid\"}},\"end\":\"$\",\"name\":\"meta.entity.tag.render.liquid\",\"patterns\":[{\"include\":\"#tag_render_special_keywords\"},{\"include\":\"#attribute_liquid\"},{\"include\":\"#value_expression\"}]},\"tag_render_special_keywords\":{\"match\":\"\\\\b(with|as|for)\\\\b\",\"name\":\"keyword.control.other.liquid\"},\"tag_tablerow\":{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(tablerow)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.tablerow.liquid\"}},\"end\":\"(?=%})\",\"name\":\"meta.entity.tag.tablerow.liquid\",\"patterns\":[{\"include\":\"#tag_tablerow_body\"}]},\"tag_tablerow_body\":{\"patterns\":[{\"match\":\"\\\\b(in)\\\\b\",\"name\":\"keyword.control.liquid\"},{\"match\":\"\\\\b(cols|offset|limit):\",\"name\":\"keyword.control.liquid\"},{\"include\":\"#value_expression\"}]},\"tag_tablerow_liquid\":{\"begin\":\"(?:(?<=\\\\{%)|(?<=\\\\{%-)|^)\\\\s*(tablerow)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.tablerow.liquid\"}},\"end\":\"$\",\"name\":\"meta.entity.tag.tablerow.liquid\",\"patterns\":[{\"include\":\"#tag_tablerow_body\"}]},\"value_expression\":{\"patterns\":[{\"captures\":{\"2\":{\"name\":\"invalid.illegal.filter.liquid\"},\"3\":{\"name\":\"invalid.illegal.filter.liquid\"}},\"match\":\"(\\\\[)(\\\\|)(?=[^]]*)(?=])\"},{\"match\":\"(?<=\\\\s)([-*+/])(?=\\\\s)\",\"name\":\"invalid.illegal.filter.liquid\"},{\"include\":\"#language_constant\"},{\"include\":\"#operator\"},{\"include\":\"#invalid_range\"},{\"include\":\"#range\"},{\"include\":\"#number\"},{\"include\":\"#string\"},{\"include\":\"#variable_lookup\"}]},\"variable_lookup\":{\"patterns\":[{\"match\":\"\\\\b(additional_checkout_buttons|address|all_country_option_tags|all_products|articles??|block|blogs??|canonical_url|cart|checkout|collections??|comment|content_for_additional_checkout_buttons|content_for_header|content_for_index|content_for_layout|country_option_tags|currency|current_page|current_tags|customer|customer_address|discount_allocation|discount_application|external_video|font|forloop|form|fulfillment|gift_card|handle|images??|line_item|link|linklists??|location|localization|metafield|model|model_source|order|page|page_description|page_image|page_title|pages|paginate|part|policy|powered_by_link|predictive_search|product|product_option|product_variant|recommendations|request|routes|scripts??|search|section|selling_plan|selling_plan_allocation|selling_plan_group|settings|shipping_method|shop|shop_locale|store_availability|tablerow|tax_line|template|theme|transaction|unit_price_measurement|variant|video|video_source)\\\\b\",\"name\":\"variable.language.liquid\"},{\"match\":\"((?<=\\\\w:\\\\s)\\\\w+)\",\"name\":\"variable.parameter.liquid\"},{\"begin\":\"(?<=\\\\w)\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.brackets.begin.liquid\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.brackets.end.liquid\"}},\"name\":\"meta.brackets.liquid\",\"patterns\":[{\"include\":\"#string\"}]},{\"match\":\"(?<=([]\\\\w])\\\\.)([-\\\\w]+\\\\??)\",\"name\":\"variable.other.member.liquid\"},{\"match\":\"(?<=\\\\w)\\\\.(?=\\\\w)\",\"name\":\"punctuation.accessor.liquid\"},{\"match\":\"(?i)[_a-z](\\\\w|-(?!}}))*\",\"name\":\"variable.other.liquid\"}]}},\"scopeName\":\"text.html.liquid\",\"embeddedLangs\":[\"html\",\"css\",\"json\",\"javascript\"]}"))
7
7
 
8
8
  export default [
9
9
  ...html,
package/dist/llvm.mjs CHANGED
@@ -1,4 +1,4 @@
1
- const lang = Object.freeze(JSON.parse("{\"displayName\":\"LLVM IR\",\"name\":\"llvm\",\"patterns\":[{\"match\":\"\\\\b(?:void\\\\b|half\\\\b|bfloat\\\\b|float\\\\b|double\\\\b|x86_fp80\\\\b|fp128\\\\b|ppc_fp128\\\\b|label\\\\b|metadata\\\\b|x86_mmx\\\\b|x86_amx\\\\b|type\\\\b|label\\\\b|opaque\\\\b|token\\\\b|i\\\\d+\\\\**)\",\"name\":\"storage.type.llvm\"},{\"captures\":{\"1\":{\"name\":\"storage.type.llvm\"}},\"match\":\"!([A-Za-z]+)\\\\s*\\\\(\"},{\"match\":\"(?:(?<=\\\\s|^)#dbg_(assign|declare|label|value)|\\\\badd|\\\\baddrspacecast|\\\\balloca|\\\\band|\\\\barcp|\\\\bashr|\\\\batomicrmw|\\\\bbitcast|\\\\bbr|\\\\bcatchpad|\\\\bcatchswitch|\\\\bcatchret|\\\\bcall|\\\\bcallbr|\\\\bcleanuppad|\\\\bcleanupret|\\\\bcmpxchg|\\\\beq|\\\\bexact|\\\\bextractelement|\\\\bextractvalue|\\\\bfadd|\\\\bfast|\\\\bfcmp|\\\\bfdiv|\\\\bfence|\\\\bfmul|\\\\bfpext|\\\\bfptosi|\\\\bfptoui|\\\\bfptrunc|\\\\bfree|\\\\bfrem|\\\\bfreeze|\\\\bfsub|\\\\bfneg|\\\\bgetelementptr|\\\\bicmp|\\\\binbounds|\\\\bindirectbr|\\\\binsertelement|\\\\binsertvalue|\\\\binttoptr|\\\\binvoke|\\\\blandingpad|\\\\bload|\\\\blshr|\\\\bmalloc|\\\\bmax|\\\\bmin|\\\\bmul|\\\\bnand|\\\\bne|\\\\bninf|\\\\bnnan|\\\\bnsw|\\\\bnsz|\\\\bnuw|\\\\boeq|\\\\boge|\\\\bogt|\\\\bole|\\\\bolt|\\\\bone|\\\\bor|\\\\bord|\\\\bphi|\\\\bptrtoint|\\\\bresume|\\\\bret|\\\\bsdiv|\\\\bselect|\\\\bsext|\\\\bsge|\\\\bsgt|\\\\bshl|\\\\bshufflevector|\\\\bsitofp|\\\\bsle|\\\\bslt|\\\\bsrem|\\\\bstore|\\\\bsub|\\\\bswitch|\\\\btrunc|\\\\budiv|\\\\bueq|\\\\buge|\\\\bugt|\\\\buitofp|\\\\bule|\\\\bult|\\\\bumax|\\\\bumin|\\\\bune|\\\\buno|\\\\bunreachable|\\\\bunwind|\\\\burem|\\\\bva_arg|\\\\bxchg|\\\\bxor|\\\\bzext)\\\\b\",\"name\":\"keyword.instruction.llvm\"},{\"match\":\"\\\\b(?:acq_rel|acquire|addrspace|alias|align|alignstack|allocsize|alwaysinline|appending|argmemonly|arm_aapcs_vfpcc|arm_aapcscc|arm_apcscc|asm|atomic|available_externally|blockaddress|builtin|byref|byval|c|caller|catch|cc|ccc|cleanup|cold|coldcc|comdat|common|constant|convergent|datalayout|declare|default|define|deplibs|dereferenceable|dereferenceable_or_null|distinct|dllexport|dllimport|dso_local|dso_preemptable|except|extern_weak|external|externally_initialized|fastcc|filter|from|gc|global|hhvm_ccc|hhvmcc|hidden|hot|immarg|inaccessiblemem_or_argmemonly|inaccessiblememonly|inalloc|initialexec|inlinehint|inreg|intel_ocl_bicc|inteldialect|internal|jumptable|linkonce|linkonce_odr|local_unnamed_addr|localdynamic|localexec|minsize|module|monotonic|msp430_intrcc|mustprogress|musttail|naked|nest|noalias|nobuiltin|nocallback|nocapture|nocf_check|noduplicate|nofree|noimplicitfloat|noinline|nomerge|nonlazybind|nonnull|noprofile|norecurse|noredzone|noreturn|nosync|noundef|nounwind|nosanitize_bounds|nosanitize_coverage|null_pointer_is_valid|optforfuzzing|optnone|optsize|personality|preallocated|private|protected|ptx_device|ptx_kernel|readnone|readonly|release|returned|returns_twice|safestack|sanitize_address|sanitize_hwaddress|sanitize_memory|sanitize_memtag|sanitize_thread|section|seq_cst|shadowcallstack|sideeffect|signext|source_filename|speculatable|speculative_load_hardening|spir_func|spir_kernel|sret|ssp|sspreq|sspstrong|strictfp|swiftcc|swifterror|swiftself|syncscope|tail|tailcc|target|thread_local|to|triple|unnamed_addr|unordered|uselistorder|uselistorder_bb|uwtable|volatile|weak|weak_odr|willreturn|win64cc|within|writeonly|x86_64_sysvcc|x86_fastcallcc|x86_stdcallcc|x86_thiscallcc|zeroext)\\\\b\",\"name\":\"storage.modifier.llvm\"},{\"match\":\"@[-$.A-Z_a-z][-$.0-9A-Z_a-z]*\",\"name\":\"entity.name.function.llvm\"},{\"match\":\"[!%@]\\\\d+\\\\b\",\"name\":\"variable.llvm\"},{\"match\":\"%[-$.A-Z_a-z][-$.0-9A-Z_a-z]*\",\"name\":\"variable.llvm\"},{\"captures\":{\"1\":{\"name\":\"variable.llvm\"}},\"match\":\"(![-$.A-Z_a-z][-$.0-9A-Z_a-z]*)\\\\s*$\"},{\"captures\":{\"1\":{\"name\":\"variable.llvm\"}},\"match\":\"(![-$.A-Z_a-z][-$.0-9A-Z_a-z]*)\\\\s*[!=]\"},{\"begin\":\"\\\"\",\"end\":\"\\\"\",\"name\":\"string.quoted.double.llvm\",\"patterns\":[{\"match\":\"\\\\.\",\"name\":\"constant.character.escape.untitled\"}]},{\"match\":\"[-$.A-Z_a-z][-$.0-9A-Z_a-z]*:\",\"name\":\"entity.name.label.llvm\"},{\"match\":\"-?\\\\b\\\\d+\\\\.\\\\d*(e[-+]\\\\d+)?\\\\b\",\"name\":\"constant.numeric.float\"},{\"match\":\"\\\\b0x\\\\h+\\\\b\",\"name\":\"constant.numeric.float\"},{\"match\":\"-?\\\\b\\\\d+\\\\b\",\"name\":\"constant.numeric.integer\"},{\"match\":\"\\\\b(?:true|false|null|zeroinitializer|undef|poison|null|none)\\\\b\",\"name\":\"constant.language\"},{\"match\":\"\\\\bD(?:W_TAG_[_a-z]+|W_ATE_[A-Z_a-z]+|W_OP_[0-9A-Z_a-z]+|W_LANG_[0-9A-Z_a-z]+|W_VIRTUALITY_[_a-z]+|IFlag[A-Za-z]+)\\\\b\",\"name\":\"constant.other\"},{\"match\":\";\\\\s*PR\\\\d*\\\\s*$\",\"name\":\"string.regexp\"},{\"match\":\";\\\\s*REQUIRES:.*$\",\"name\":\"string.regexp\"},{\"match\":\";\\\\s*RUN:.*$\",\"name\":\"string.regexp\"},{\"match\":\";\\\\s*ALLOW_RETRIES:.*$\",\"name\":\"string.regexp\"},{\"match\":\";\\\\s*CHECK:.*$\",\"name\":\"string.regexp\"},{\"match\":\";\\\\s*CHECK-(NEXT|NOT|DAG|SAME|LABEL):.*$\",\"name\":\"string.regexp\"},{\"match\":\";\\\\s*XFAIL:.*$\",\"name\":\"string.regexp\"},{\"match\":\";.*$\",\"name\":\"comment.line.llvm\"}],\"scopeName\":\"source.llvm\"}"))
1
+ const lang = Object.freeze(JSON.parse("{\"displayName\":\"LLVM IR\",\"name\":\"llvm\",\"patterns\":[{\"match\":\"\\\\b(?:void\\\\b|half\\\\b|bfloat\\\\b|float\\\\b|double\\\\b|x86_fp80\\\\b|fp128\\\\b|ppc_fp128\\\\b|label\\\\b|metadata\\\\b|x86_mmx\\\\b|x86_amx\\\\b|type\\\\b|label\\\\b|opaque\\\\b|token\\\\b|i\\\\d+\\\\**)\",\"name\":\"storage.type.llvm\"},{\"captures\":{\"1\":{\"name\":\"storage.type.llvm\"}},\"match\":\"!([A-Za-z]+)\\\\s*\\\\(\"},{\"match\":\"(?:(?<=\\\\s|^)#dbg_(assign|declare|label|value)|\\\\badd|\\\\baddrspacecast|\\\\balloca|\\\\band|\\\\barcp|\\\\bashr|\\\\batomicrmw|\\\\bbitcast|\\\\bbr|\\\\bcatchpad|\\\\bcatchswitch|\\\\bcatchret|\\\\bcall|\\\\bcallbr|\\\\bcleanuppad|\\\\bcleanupret|\\\\bcmpxchg|\\\\beq|\\\\bexact|\\\\bextractelement|\\\\bextractvalue|\\\\bfadd|\\\\bfast|\\\\bfcmp|\\\\bfdiv|\\\\bfence|\\\\bfmul|\\\\bfpext|\\\\bfptosi|\\\\bfptoui|\\\\bfptrunc|\\\\bfree|\\\\bfrem|\\\\bfreeze|\\\\bfsub|\\\\bfneg|\\\\bgetelementptr|\\\\bicmp|\\\\binbounds|\\\\bindirectbr|\\\\binsertelement|\\\\binsertvalue|\\\\binttoptr|\\\\binvoke|\\\\blandingpad|\\\\bload|\\\\blshr|\\\\bmalloc|\\\\bmax|\\\\bmin|\\\\bmul|\\\\bnand|\\\\bne|\\\\bninf|\\\\bnnan|\\\\bnsw|\\\\bnsz|\\\\bnuw|\\\\boeq|\\\\boge|\\\\bogt|\\\\bole|\\\\bolt|\\\\bone|\\\\bord??|\\\\bphi|\\\\bptrtoint|\\\\bresume|\\\\bret|\\\\bsdiv|\\\\bselect|\\\\bsext|\\\\bsge|\\\\bsgt|\\\\bshl|\\\\bshufflevector|\\\\bsitofp|\\\\bsle|\\\\bslt|\\\\bsrem|\\\\bstore|\\\\bsub|\\\\bswitch|\\\\btrunc|\\\\budiv|\\\\bueq|\\\\buge|\\\\bugt|\\\\buitofp|\\\\bule|\\\\bult|\\\\bumax|\\\\bumin|\\\\bune|\\\\buno|\\\\bunreachable|\\\\bunwind|\\\\burem|\\\\bva_arg|\\\\bxchg|\\\\bxor|\\\\bzext)\\\\b\",\"name\":\"keyword.instruction.llvm\"},{\"match\":\"\\\\b(?:acq_rel|acquire|addrspace|alias|align|alignstack|allocsize|alwaysinline|appending|argmemonly|arm_aapcs_vfpcc|arm_aapcscc|arm_apcscc|asm|atomic|available_externally|blockaddress|builtin|byref|byval|c|caller|catch|ccc??|cleanup|cold|coldcc|comdat|common|constant|convergent|datalayout|declare|default|define|deplibs|dereferenceable|dereferenceable_or_null|distinct|dllexport|dllimport|dso_local|dso_preemptable|except|extern_weak|external|externally_initialized|fastcc|filter|from|gc|global|hhvm_ccc|hhvmcc|hidden|hot|immarg|inaccessiblemem_or_argmemonly|inaccessiblememonly|inalloc|initialexec|inlinehint|inreg|intel_ocl_bicc|inteldialect|internal|jumptable|linkonce|linkonce_odr|local_unnamed_addr|localdynamic|localexec|minsize|module|monotonic|msp430_intrcc|mustprogress|musttail|naked|nest|noalias|nobuiltin|nocallback|nocapture|nocf_check|noduplicate|nofree|noimplicitfloat|noinline|nomerge|nonlazybind|nonnull|noprofile|norecurse|noredzone|noreturn|nosync|noundef|nounwind|nosanitize_bounds|nosanitize_coverage|null_pointer_is_valid|optforfuzzing|optnone|optsize|personality|preallocated|private|protected|ptx_device|ptx_kernel|readnone|readonly|release|returned|returns_twice|safestack|sanitize_address|sanitize_hwaddress|sanitize_memory|sanitize_memtag|sanitize_thread|section|seq_cst|shadowcallstack|sideeffect|signext|source_filename|speculatable|speculative_load_hardening|spir_func|spir_kernel|sret|ssp|sspreq|sspstrong|strictfp|swiftcc|swifterror|swiftself|syncscope|tail|tailcc|target|thread_local|to|triple|unnamed_addr|unordered|uselistorder|uselistorder_bb|uwtable|volatile|weak|weak_odr|willreturn|win64cc|within|writeonly|x86_64_sysvcc|x86_fastcallcc|x86_stdcallcc|x86_thiscallcc|zeroext)\\\\b\",\"name\":\"storage.modifier.llvm\"},{\"match\":\"@[-$.A-Z_a-z][-$.0-9A-Z_a-z]*\",\"name\":\"entity.name.function.llvm\"},{\"match\":\"[!%@]\\\\d+\\\\b\",\"name\":\"variable.llvm\"},{\"match\":\"%[-$.A-Z_a-z][-$.0-9A-Z_a-z]*\",\"name\":\"variable.llvm\"},{\"captures\":{\"1\":{\"name\":\"variable.llvm\"}},\"match\":\"(![-$.A-Z_a-z][-$.0-9A-Z_a-z]*)\\\\s*$\"},{\"captures\":{\"1\":{\"name\":\"variable.llvm\"}},\"match\":\"(![-$.A-Z_a-z][-$.0-9A-Z_a-z]*)\\\\s*[!=]\"},{\"begin\":\"\\\"\",\"end\":\"\\\"\",\"name\":\"string.quoted.double.llvm\",\"patterns\":[{\"match\":\"\\\\.\",\"name\":\"constant.character.escape.untitled\"}]},{\"match\":\"[-$.A-Z_a-z][-$.0-9A-Z_a-z]*:\",\"name\":\"entity.name.label.llvm\"},{\"match\":\"-?\\\\b\\\\d+\\\\.\\\\d*(e[-+]\\\\d+)?\\\\b\",\"name\":\"constant.numeric.float\"},{\"match\":\"\\\\b0x\\\\h+\\\\b\",\"name\":\"constant.numeric.float\"},{\"match\":\"-?\\\\b\\\\d+\\\\b\",\"name\":\"constant.numeric.integer\"},{\"match\":\"\\\\b(?:true|false|null|zeroinitializer|undef|poison|null|none)\\\\b\",\"name\":\"constant.language\"},{\"match\":\"\\\\bD(?:W_TAG_[_a-z]+|W_ATE_[A-Z_a-z]+|W_OP_[0-9A-Z_a-z]+|W_LANG_[0-9A-Z_a-z]+|W_VIRTUALITY_[_a-z]+|IFlag[A-Za-z]+)\\\\b\",\"name\":\"constant.other\"},{\"match\":\";\\\\s*PR\\\\d*\\\\s*$\",\"name\":\"string.regexp\"},{\"match\":\";\\\\s*REQUIRES:.*$\",\"name\":\"string.regexp\"},{\"match\":\";\\\\s*RUN:.*$\",\"name\":\"string.regexp\"},{\"match\":\";\\\\s*ALLOW_RETRIES:.*$\",\"name\":\"string.regexp\"},{\"match\":\";\\\\s*CHECK:.*$\",\"name\":\"string.regexp\"},{\"match\":\";\\\\s*CHECK-(NEXT|NOT|DAG|SAME|LABEL):.*$\",\"name\":\"string.regexp\"},{\"match\":\";\\\\s*XFAIL:.*$\",\"name\":\"string.regexp\"},{\"match\":\";.*$\",\"name\":\"comment.line.llvm\"}],\"scopeName\":\"source.llvm\"}"))
2
2
 
3
3
  export default [
4
4
  lang
package/dist/log.mjs CHANGED
@@ -1,4 +1,4 @@
1
- const lang = Object.freeze(JSON.parse("{\"displayName\":\"Log file\",\"fileTypes\":[\"log\"],\"name\":\"log\",\"patterns\":[{\"match\":\"\\\\b(Trace)\\\\b:\",\"name\":\"comment log.verbose\"},{\"match\":\"(?i)\\\\[(v(?:erbose|erb|rb|b|))]\",\"name\":\"comment log.verbose\"},{\"match\":\"(?<=^[p\\\\s\\\\d]*)\\\\bV\\\\b\",\"name\":\"comment log.verbose\"},{\"match\":\"\\\\b(D(?:EBUG|ebug))\\\\b|(?i)\\\\b(debug):\",\"name\":\"markup.changed log.debug\"},{\"match\":\"(?i)\\\\[(d(?:ebug|bug|bg|e|))]\",\"name\":\"markup.changed log.debug\"},{\"match\":\"(?<=^[p\\\\s\\\\d]*)\\\\bD\\\\b\",\"name\":\"markup.changed log.debug\"},{\"match\":\"\\\\b(HINT|INFO|INFORMATION|Info|NOTICE|II)\\\\b|(?i)\\\\b(info(?:|rmation)):\",\"name\":\"markup.inserted log.info\"},{\"match\":\"(?i)\\\\[(i(?:nformation|nfo|nf|n|))]\",\"name\":\"markup.inserted log.info\"},{\"match\":\"(?<=^[p\\\\s\\\\d]*)\\\\bI\\\\b\",\"name\":\"markup.inserted log.info\"},{\"match\":\"\\\\b(W(?:ARNING|ARN|arn|W))\\\\b|(?i)\\\\b(warning):\",\"name\":\"markup.deleted log.warning\"},{\"match\":\"(?i)\\\\[(w(?:arning|arn|rn|n|))]\",\"name\":\"markup.deleted log.warning\"},{\"match\":\"(?<=^[p\\\\s\\\\d]*)\\\\bW\\\\b\",\"name\":\"markup.deleted log.warning\"},{\"match\":\"\\\\b(ALERT|CRITICAL|EMERGENCY|ERROR|FAILURE|FAIL|Fatal|FATAL|Error|EE)\\\\b|(?i)\\\\b(error):\",\"name\":\"string.regexp, strong log.error\"},{\"match\":\"(?i)\\\\[(error|eror|err|er|e|fatal|fatl|ftl|fa|f)]\",\"name\":\"string.regexp, strong log.error\"},{\"match\":\"(?<=^[p\\\\s\\\\d]*)\\\\bE\\\\b\",\"name\":\"string.regexp, strong log.error\"},{\"match\":\"\\\\b\\\\d{4}-\\\\d{2}-\\\\d{2}(?=T|\\\\b)\",\"name\":\"comment log.date\"},{\"match\":\"(?<=(^|\\\\s))\\\\d{2}[^\\\\w\\\\s]\\\\d{2}[^\\\\w\\\\s]\\\\d{4}\\\\b\",\"name\":\"comment log.date\"},{\"match\":\"T?\\\\d{1,2}:\\\\d{2}(:\\\\d{2}([,.]\\\\d+)?)?(Z| ?[-+]\\\\d{1,2}:\\\\d{2})?\\\\b\",\"name\":\"comment log.date\"},{\"match\":\"T\\\\d{2}\\\\d{2}(\\\\d{2}([,.]\\\\d+)?)?(Z| ?[-+]\\\\d{1,2}\\\\d{2})?\\\\b\",\"name\":\"comment log.date\"},{\"match\":\"\\\\b(\\\\h{40}|\\\\h{10}|\\\\h{7})\\\\b\",\"name\":\"constant.language\"},{\"match\":\"\\\\b\\\\h{8}-?(\\\\h{4}-?){3}\\\\h{12}\\\\b\",\"name\":\"constant.language log.constant\"},{\"match\":\"\\\\b(\\\\h{2,}[-:])+\\\\h{2,}+\\\\b\",\"name\":\"constant.language log.constant\"},{\"match\":\"\\\\b([0-9]+|true|false|null)\\\\b\",\"name\":\"constant.language log.constant\"},{\"match\":\"\\\\b(0x\\\\h+)\\\\b\",\"name\":\"constant.language log.constant\"},{\"match\":\"\\\"[^\\\"]*\\\"\",\"name\":\"string log.string\"},{\"match\":\"(?<!\\\\w)'[^']*'\",\"name\":\"string log.string\"},{\"match\":\"\\\\b([.A-Za-z]*Exception)\\\\b\",\"name\":\"string.regexp, emphasis log.exceptiontype\"},{\"begin\":\"^[\\\\t ]*at[\\\\t ]\",\"end\":\"$\",\"name\":\"string.key, emphasis log.exception\"},{\"match\":\"\\\\b[a-z]+://\\\\S+\\\\b/?\",\"name\":\"constant.language log.constant\"},{\"match\":\"(?<![/\\\\\\\\\\\\w])([-\\\\w]+\\\\.)+([-\\\\w])+(?![/\\\\\\\\\\\\w])\",\"name\":\"constant.language log.constant\"}],\"scopeName\":\"text.log\"}"))
1
+ const lang = Object.freeze(JSON.parse("{\"displayName\":\"Log file\",\"fileTypes\":[\"log\"],\"name\":\"log\",\"patterns\":[{\"match\":\"\\\\b(Trace)\\\\b:\",\"name\":\"comment log.verbose\"},{\"match\":\"(?i)\\\\[(v(?:erbose|erb|rb|b?))]\",\"name\":\"comment log.verbose\"},{\"match\":\"(?<=^[p\\\\s\\\\d]*)\\\\bV\\\\b\",\"name\":\"comment log.verbose\"},{\"match\":\"\\\\b(D(?:EBUG|ebug))\\\\b|(?i)\\\\b(debug):\",\"name\":\"markup.changed log.debug\"},{\"match\":\"(?i)\\\\[(d(?:ebug|bug|bg|e?))]\",\"name\":\"markup.changed log.debug\"},{\"match\":\"(?<=^[p\\\\s\\\\d]*)\\\\bD\\\\b\",\"name\":\"markup.changed log.debug\"},{\"match\":\"\\\\b(HINT|INFO|INFORMATION|Info|NOTICE|II)\\\\b|(?i)\\\\b(info(?:|rmation)):\",\"name\":\"markup.inserted log.info\"},{\"match\":\"(?i)\\\\[(i(?:nformation|nfo?|n?))]\",\"name\":\"markup.inserted log.info\"},{\"match\":\"(?<=^[p\\\\s\\\\d]*)\\\\bI\\\\b\",\"name\":\"markup.inserted log.info\"},{\"match\":\"\\\\b(W(?:ARNING|ARN|arn|W))\\\\b|(?i)\\\\b(warning):\",\"name\":\"markup.deleted log.warning\"},{\"match\":\"(?i)\\\\[(w(?:arning|arn|rn|n?))]\",\"name\":\"markup.deleted log.warning\"},{\"match\":\"(?<=^[p\\\\s\\\\d]*)\\\\bW\\\\b\",\"name\":\"markup.deleted log.warning\"},{\"match\":\"\\\\b(ALERT|CRITICAL|EMERGENCY|ERROR|FAILURE|FAIL|Fatal|FATAL|Error|EE)\\\\b|(?i)\\\\b(error):\",\"name\":\"string.regexp, strong log.error\"},{\"match\":\"(?i)\\\\[(error|eror|err?|e|fatal|fatl|ftl|fa?)]\",\"name\":\"string.regexp, strong log.error\"},{\"match\":\"(?<=^[p\\\\s\\\\d]*)\\\\bE\\\\b\",\"name\":\"string.regexp, strong log.error\"},{\"match\":\"\\\\b\\\\d{4}-\\\\d{2}-\\\\d{2}(?=T|\\\\b)\",\"name\":\"comment log.date\"},{\"match\":\"(?<=(^|\\\\s))\\\\d{2}[^\\\\w\\\\s]\\\\d{2}[^\\\\w\\\\s]\\\\d{4}\\\\b\",\"name\":\"comment log.date\"},{\"match\":\"T?\\\\d{1,2}:\\\\d{2}(:\\\\d{2}([,.]\\\\d+)?)?(Z| ?[-+]\\\\d{1,2}:\\\\d{2})?\\\\b\",\"name\":\"comment log.date\"},{\"match\":\"T\\\\d{2}\\\\d{2}(\\\\d{2}([,.]\\\\d+)?)?(Z| ?[-+]\\\\d{1,2}\\\\d{2})?\\\\b\",\"name\":\"comment log.date\"},{\"match\":\"\\\\b(\\\\h{40}|\\\\h{10}|\\\\h{7})\\\\b\",\"name\":\"constant.language\"},{\"match\":\"\\\\b\\\\h{8}-?(\\\\h{4}-?){3}\\\\h{12}\\\\b\",\"name\":\"constant.language log.constant\"},{\"match\":\"\\\\b(\\\\h{2,}[-:])+\\\\h{2,}+\\\\b\",\"name\":\"constant.language log.constant\"},{\"match\":\"\\\\b([0-9]+|true|false|null)\\\\b\",\"name\":\"constant.language log.constant\"},{\"match\":\"\\\\b(0x\\\\h+)\\\\b\",\"name\":\"constant.language log.constant\"},{\"match\":\"\\\"[^\\\"]*\\\"\",\"name\":\"string log.string\"},{\"match\":\"(?<!\\\\w)'[^']*'\",\"name\":\"string log.string\"},{\"match\":\"\\\\b([.A-Za-z]*Exception)\\\\b\",\"name\":\"string.regexp, emphasis log.exceptiontype\"},{\"begin\":\"^[\\\\t ]*at[\\\\t ]\",\"end\":\"$\",\"name\":\"string.key, emphasis log.exception\"},{\"match\":\"\\\\b[a-z]+://\\\\S+\\\\b/?\",\"name\":\"constant.language log.constant\"},{\"match\":\"(?<![/\\\\\\\\\\\\w])([-\\\\w]+\\\\.)+([-\\\\w])+(?![/\\\\\\\\\\\\w])\",\"name\":\"constant.language log.constant\"}],\"scopeName\":\"text.log\"}"))
2
2
 
3
3
  export default [
4
4
  lang
package/dist/logo.mjs CHANGED
@@ -1,4 +1,4 @@
1
- const lang = Object.freeze(JSON.parse("{\"displayName\":\"Logo\",\"fileTypes\":[],\"name\":\"logo\",\"patterns\":[{\"match\":\"^to [.\\\\w]+\",\"name\":\"entity.name.function.logo\"},{\"match\":\"continue|do\\\\.until|do\\\\.while|end|for(each)?|if(else|falsetrue|)|repeat|stop|until\",\"name\":\"keyword.control.logo\"},{\"match\":\"\\\\b(\\\\.defmacro|\\\\.eq|\\\\.macro|\\\\.maybeoutput|\\\\.setbf|\\\\.setfirst|\\\\.setitem|\\\\.setsegmentsize|allopen|allowgetset|and|apply|arc|arctan|arity|array|arrayp|arraytolist|ascii|ashift|back|background|backslashedp|beforep|bitand|bitnot|bitor|bitxor|buried|buriedp|bury|buryall|buryname|butfirst|butfirsts|butlast|bye|cascade|case|caseignoredp|catch|char|clean|clearscreen|cleartext|close|closeall|combine|cond|contents|copydef|cos|count|crossmap|cursor|define|definedp|dequeue|difference|dribble|edall|edit|editfile|edn|edns|edpl|edpls|edps|emptyp|eofp|epspict|equalp|erall|erase|erasefile|ern|erns|erpl|erpls|erps|erract|error|exp|fence|filep|fill|filter|find|first|firsts|forever|form|forward|fput|fullprintp|fullscreen|fulltext|gc|gensym|global|goto|gprop|greaterp|heading|help|hideturtle|home|ignore|int|invoke|iseq|item|keyp|label|last|left|lessp|list|listp|listtoarray|ln|load|loadnoisily|loadpict|local|localmake|log10|lowercase|lput|lshift|macroexpand|macrop|make|map|map.se|mdarray|mditem|mdsetitem|member|memberp|minus|modulo|name|namelist|namep|names|nodes|nodribble|norefresh|not|numberp|openappend|openread|openupdate|openwrite|or|output|palette|parse|pause|pen|pencolor|pendown|pendownp|penerase|penmode|penpaint|penreverse|pensize|penup|pick|plist|plistp|plists|pllist|po|poall|pon|pons|pop|popl|popls|pops|pos|pot|pots|power|pprop|prefix|primitivep|print|printdepthlimit|printwidthlimit|procedurep|procedures|product|push|queue|quoted|quotient|radarctan|radcos|radsin|random|rawascii|readchar|readchars|reader|readlist|readpos|readrawline|readword|redefp|reduce|refresh|remainder|remdup|remove|remprop|repcount|rerandom|reverse|right|round|rseq|run|runparse|runresult|save|savel|savepict|screenmode|scrunch|sentence|setbackground|setcursor|seteditor|setheading|sethelploc|setitem|setlibloc|setmargins|setpalette|setpen|setpencolor|setpensize|setpos|setprefix|setread|setreadpos|setscrunch|settemploc|settextcolor|setwrite|setwritepos|setx|setxy|sety|shell|show|shownp|showturtle|sin|splitscreen|sqrt|standout|startup|step|stepped|steppedp|substringp|sum|tag|test|text|textscreen|thing|throw|towards|trace|traced|tracedp|transfer|turtlemode|type|unbury|unburyall|unburyname|unburyonedit|unstep|untrace|uppercase|usealternatenam|wait|while|window|word|wordp|wrap|writepos|writer|xcor|ycor)\\\\b\",\"name\":\"keyword.other.logo\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.variable.logo\"}},\"match\":\"(:)(?:\\\\|[^|]*\\\\||[-.\\\\w]*)+\",\"name\":\"variable.parameter.logo\"},{\"match\":\"\\\"(?:\\\\|[^|]*\\\\||[-.\\\\w]*)+\",\"name\":\"string.other.word.logo\"},{\"begin\":\"(^[\\\\t ]+)?(?=;)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.whitespace.comment.leading.logo\"}},\"end\":\"(?!\\\\G)\",\"patterns\":[{\"begin\":\";\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.logo\"}},\"end\":\"\\\\n\",\"name\":\"comment.line.semicolon.logo\"}]}],\"scopeName\":\"source.logo\"}"))
1
+ const lang = Object.freeze(JSON.parse("{\"displayName\":\"Logo\",\"fileTypes\":[],\"name\":\"logo\",\"patterns\":[{\"match\":\"^to [.\\\\w]+\",\"name\":\"entity.name.function.logo\"},{\"match\":\"continue|do\\\\.until|do\\\\.while|end|for(each)?|if(else|falsetrue|)|repeat|stop|until\",\"name\":\"keyword.control.logo\"},{\"match\":\"\\\\b(\\\\.defmacro|\\\\.eq|\\\\.macro|\\\\.maybeoutput|\\\\.setbf|\\\\.setfirst|\\\\.setitem|\\\\.setsegmentsize|allopen|allowgetset|and|apply|arc|arctan|arity|arrayp??|arraytolist|ascii|ashift|back|background|backslashedp|beforep|bitand|bitnot|bitor|bitxor|buriedp??|bury|buryall|buryname|butfirsts??|butlast|bye|cascade|case|caseignoredp|catch|char|clean|clearscreen|cleartext|close|closeall|combine|cond|contents|copydef|cos|count|crossmap|cursor|define|definedp|dequeue|difference|dribble|edall|edit|editfile|edns??|edpls??|edps|emptyp|eofp|epspict|equalp|erall|erase|erasefile|erns??|erpls??|erps|erract|error|exp|fence|filep|fill|filter|find|firsts??|forever|form|forward|fput|fullprintp|fullscreen|fulltext|gc|gensym|global|goto|gprop|greaterp|heading|help|hideturtle|home|ignore|int|invoke|iseq|item|keyp|label|last|left|lessp|listp??|listtoarray|ln|load|loadnoisily|loadpict|local|localmake|log10|lowercase|lput|lshift|macroexpand|macrop|make|map|map.se|mdarray|mditem|mdsetitem|memberp??|minus|modulo|name|namelist|namep|names|nodes|nodribble|norefresh|not|numberp|openappend|openread|openupdate|openwrite|or|output|palette|parse|pause|pen|pencolor|pendownp??|penerase|penmode|penpaint|penreverse|pensize|penup|pick|plistp??|plists|pllist|po|poall|pons??|popl??|popls|pops|pos|pots??|power|pprop|prefix|primitivep|print|printdepthlimit|printwidthlimit|procedurep|procedures|product|push|queue|quoted|quotient|radarctan|radcos|radsin|random|rawascii|readchars??|reader|readlist|readpos|readrawline|readword|redefp|reduce|refresh|remainder|remdup|remove|remprop|repcount|rerandom|reverse|right|round|rseq|run|runparse|runresult|savel??|savepict|screenmode|scrunch|sentence|setbackground|setcursor|seteditor|setheading|sethelploc|setitem|setlibloc|setmargins|setpalette|setpen|setpencolor|setpensize|setpos|setprefix|setread|setreadpos|setscrunch|settemploc|settextcolor|setwrite|setwritepos|setxy??|sety|shell|show|shownp|showturtle|sin|splitscreen|sqrt|standout|startup|step|steppedp??|substringp|sum|tag|test|text|textscreen|thing|throw|towards|traced??|tracedp|transfer|turtlemode|type|unbury|unburyall|unburyname|unburyonedit|unstep|untrace|uppercase|usealternatenam|wait|while|window|wordp??|wrap|writepos|writer|xcor|ycor)\\\\b\",\"name\":\"keyword.other.logo\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.variable.logo\"}},\"match\":\"(:)(?:\\\\|[^|]*\\\\||[-.\\\\w]*)+\",\"name\":\"variable.parameter.logo\"},{\"match\":\"\\\"(?:\\\\|[^|]*\\\\||[-.\\\\w]*)+\",\"name\":\"string.other.word.logo\"},{\"begin\":\"(^[\\\\t ]+)?(?=;)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.whitespace.comment.leading.logo\"}},\"end\":\"(?!\\\\G)\",\"patterns\":[{\"begin\":\";\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.logo\"}},\"end\":\"\\\\n\",\"name\":\"comment.line.semicolon.logo\"}]}],\"scopeName\":\"source.logo\"}"))
2
2
 
3
3
  export default [
4
4
  lang
package/dist/luau.mjs CHANGED
@@ -1,4 +1,4 @@
1
- const lang = Object.freeze(JSON.parse("{\"displayName\":\"Luau\",\"fileTypes\":[\"luau\"],\"name\":\"luau\",\"patterns\":[{\"include\":\"#function-definition\"},{\"include\":\"#number\"},{\"include\":\"#string\"},{\"include\":\"#shebang\"},{\"include\":\"#comment\"},{\"include\":\"#local-declaration\"},{\"include\":\"#for-loop\"},{\"include\":\"#type-alias-declaration\"},{\"include\":\"#keyword\"},{\"include\":\"#language_constant\"},{\"include\":\"#standard_library\"},{\"include\":\"#identifier\"},{\"include\":\"#operator\"},{\"include\":\"#parentheses\"},{\"include\":\"#table\"},{\"include\":\"#type_cast\"},{\"include\":\"#type_annotation\"},{\"include\":\"#attribute\"}],\"repository\":{\"attribute\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.operator.attribute.luau\"},\"2\":{\"name\":\"storage.type.attribute.luau\"}},\"match\":\"(@)([A-Z_a-z][0-9A-Z_a-z]*)\",\"name\":\"meta.attribute.luau\"}]},\"comment\":{\"patterns\":[{\"begin\":\"--\\\\[(=*)\\\\[\",\"end\":\"]\\\\1]\",\"name\":\"comment.block.luau\",\"patterns\":[{\"begin\":\"(```luau?)\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"comment.luau\"}},\"end\":\"(```)\",\"endCaptures\":{\"1\":{\"name\":\"comment.luau\"}},\"name\":\"keyword.operator.other.luau\",\"patterns\":[{\"include\":\"source.luau\"}]},{\"include\":\"#doc_comment_tags\"}]},{\"begin\":\"---\",\"end\":\"\\\\n\",\"name\":\"comment.line.double-dash.documentation.luau\",\"patterns\":[{\"include\":\"#doc_comment_tags\"}]},{\"begin\":\"--\",\"end\":\"\\\\n\",\"name\":\"comment.line.double-dash.luau\"}]},\"doc_comment_tags\":{\"patterns\":[{\"match\":\"@\\\\w+\",\"name\":\"storage.type.class.luadoc.luau\"},{\"captures\":{\"1\":{\"name\":\"storage.type.class.luadoc.luau\"},\"2\":{\"name\":\"variable.parameter.luau\"}},\"match\":\"((?<=[!*/\\\\s])[@\\\\\\\\]param)\\\\s+\\\\b(\\\\w+)\\\\b\"}]},\"for-loop\":{\"begin\":\"\\\\b(for)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.luau\"}},\"end\":\"\\\\b(in)\\\\b|(=)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.luau\"},\"2\":{\"name\":\"keyword.operator.assignment.luau\"}},\"patterns\":[{\"begin\":\"(:)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.type.luau\"}},\"end\":\"(?=\\\\s*in\\\\b|\\\\s*[,=]|\\\\s*$)\",\"patterns\":[{\"include\":\"#type_literal\"}]},{\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"variable.parameter.luau\"}]},\"function-definition\":{\"begin\":\"\\\\b(?:(local)\\\\s+)?(function)\\\\b(?![,:])\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.local.luau\"},\"2\":{\"name\":\"keyword.control.luau\"}},\"end\":\"(?<=[-\\\\]\\\"')\\\\[{}])\",\"name\":\"meta.function.luau\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#generics-declaration\"},{\"begin\":\"(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.parameters.begin.luau\"}},\"end\":\"(\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.parameters.end.luau\"}},\"name\":\"meta.parameter.luau\",\"patterns\":[{\"include\":\"#comment\"},{\"match\":\"\\\\.\\\\.\\\\.\",\"name\":\"variable.parameter.function.varargs.luau\"},{\"match\":\"[A-Z_a-z][0-9A-Z_a-z]*\",\"name\":\"variable.parameter.function.luau\"},{\"match\":\",\",\"name\":\"punctuation.separator.arguments.luau\"},{\"begin\":\":\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.type.luau\"}},\"end\":\"(?=[),])\",\"patterns\":[{\"include\":\"#type_literal\"}]}]},{\"match\":\"\\\\b(__(?:add|call|concat|div|eq|index|le|len|lt|metatable|mod|mode|mul|newindex|pow|sub|tostring|unm|iter|idiv))\\\\b\",\"name\":\"variable.language.metamethod.luau\"},{\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"entity.name.function.luau\"}]},\"generics-declaration\":{\"begin\":\"(<)\",\"end\":\"(>)\",\"patterns\":[{\"match\":\"[A-Z_a-z][0-9A-Z_a-z]*\",\"name\":\"entity.name.type.luau\"},{\"match\":\"=\",\"name\":\"keyword.operator.assignment.luau\"},{\"include\":\"#type_literal\"}]},\"identifier\":{\"patterns\":[{\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b(?=\\\\s*(?:[\\\"'({]|\\\\[\\\\[))\",\"name\":\"entity.name.function.luau\"},{\"match\":\"(?<=[^.]\\\\.|:)\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"variable.other.property.luau\"},{\"match\":\"\\\\b([A-Z_][0-9A-Z_]*)\\\\b\",\"name\":\"variable.other.constant.luau\"},{\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"variable.other.readwrite.luau\"}]},\"interpolated_string_expression\":{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.interpolated-string-expression.begin.luau\"}},\"contentName\":\"meta.embedded.line.luau\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.interpolated-string-expression.end.luau\"}},\"name\":\"meta.template.expression.luau\",\"patterns\":[{\"include\":\"source.luau\"}]},\"keyword\":{\"patterns\":[{\"match\":\"\\\\b(break|do|else|for|if|elseif|return|then|repeat|while|until|end|in|continue)\\\\b\",\"name\":\"keyword.control.luau\"},{\"match\":\"\\\\b(local)\\\\b\",\"name\":\"storage.modifier.local.luau\"},{\"match\":\"\\\\b(function)\\\\b(?![,:])\",\"name\":\"keyword.control.luau\"},{\"match\":\"(?<![^.]\\\\.|:)\\\\b(self)\\\\b\",\"name\":\"variable.language.self.luau\"},{\"match\":\"\\\\b(and|or|not)\\\\b\",\"name\":\"keyword.operator.logical.luau keyword.operator.wordlike.luau\"},{\"match\":\"(?<=[^.]\\\\.|:)\\\\b(__(?:add|call|concat|div|eq|index|le|len|lt|metatable|mod|mode|mul|newindex|pow|sub|tostring|unm))\\\\b\",\"name\":\"variable.language.metamethod.luau\"},{\"match\":\"(?<!\\\\.)\\\\.{3}(?!\\\\.)\",\"name\":\"keyword.other.unit.luau\"}]},\"language_constant\":{\"patterns\":[{\"match\":\"(?<![^.]\\\\.|:)\\\\b(false)\\\\b\",\"name\":\"constant.language.boolean.false.luau\"},{\"match\":\"(?<![^.]\\\\.|:)\\\\b(true)\\\\b\",\"name\":\"constant.language.boolean.true.luau\"},{\"match\":\"(?<![^.]\\\\.|:)\\\\b(nil(?!:))\\\\b\",\"name\":\"constant.language.nil.luau\"}]},\"local-declaration\":{\"begin\":\"\\\\b(local)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.local.luau\"}},\"end\":\"(?=\\\\s*do\\\\b|\\\\s*[;=]|\\\\s*$)\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#attribute\"},{\"begin\":\"(:)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.type.luau\"}},\"end\":\"(?=\\\\s*do\\\\b|\\\\s*[,;=]|\\\\s*$)\",\"patterns\":[{\"include\":\"#type_literal\"}]},{\"match\":\"\\\\b([A-Z_][0-9A-Z_]*)\\\\b\",\"name\":\"variable.other.constant.luau\"},{\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"variable.other.readwrite.luau\"}]},\"number\":{\"patterns\":[{\"match\":\"\\\\b0_*[Xx]_*[A-F_a-f\\\\d]*(?:[Ee][-+]?_*\\\\d[_\\\\d]*(?:\\\\.[_\\\\d]*)?)?\",\"name\":\"constant.numeric.hex.luau\"},{\"match\":\"\\\\b0_*[Bb][01_]+(?:[Ee][-+]?_*\\\\d[_\\\\d]*(?:\\\\.[_\\\\d]*)?)?\",\"name\":\"constant.numeric.binary.luau\"},{\"match\":\"(?:\\\\d[_\\\\d]*(?:\\\\.[_\\\\d]*)?|\\\\.\\\\d[_\\\\d]*)(?:[Ee][-+]?_*\\\\d[_\\\\d]*(?:\\\\.[_\\\\d]*)?)?\",\"name\":\"constant.numeric.decimal.luau\"}]},\"operator\":{\"patterns\":[{\"match\":\"==|~=|!=|<=?|>=?\",\"name\":\"keyword.operator.comparison.luau\"},{\"match\":\"(?:[-+/]|//|[%*^]|\\\\.\\\\.|)=\",\"name\":\"keyword.operator.assignment.luau\"},{\"match\":\"[-%*+]|//|[/^]\",\"name\":\"keyword.operator.arithmetic.luau\"},{\"match\":\"#|(?<!\\\\.)\\\\.{2}(?!\\\\.)\",\"name\":\"keyword.operator.other.luau\"}]},\"parentheses\":{\"begin\":\"(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.arguments.begin.luau\"}},\"end\":\"(\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.arguments.end.luau\"}},\"patterns\":[{\"match\":\",\",\"name\":\"punctuation.separator.arguments.luau\"},{\"include\":\"source.luau\"}]},\"shebang\":{\"captures\":{\"1\":{\"name\":\"punctuation.definition.comment.luau\"}},\"match\":\"\\\\A(#!).*$\\\\n?\",\"name\":\"comment.line.shebang.luau\"},\"standard_library\":{\"patterns\":[{\"match\":\"(?<![^.]\\\\.|:)\\\\b(assert|collectgarbage|error|gcinfo|getfenv|getmetatable|ipairs|loadstring|newproxy|next|pairs|pcall|print|rawequal|rawset|require|select|setfenv|setmetatable|tonumber|tostring|type|typeof|unpack|xpcall)\\\\b\",\"name\":\"support.function.luau\"},{\"match\":\"(?<![^.]\\\\.|:)\\\\b(_(?:G|VERSION))\\\\b\",\"name\":\"constant.language.luau\"},{\"match\":\"(?<![^.]\\\\.|:)\\\\b(bit32\\\\.(?:arshift|band|bnot|bor|btest|bxor|extract|lrotate|lshift|replace|rrotate|rshift|countlz|countrz|byteswap)|coroutine\\\\.(?:create|isyieldable|resume|running|status|wrap|yield|close)|debug\\\\.(?:info|loadmodule|profilebegin|profileend|traceback)|math\\\\.(?:abs|acos|asin|atan|atan2|ceil|clamp|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|noise|pow|rad|random|randomseed|round|sign|sin|sinh|sqrt|tan|tanh)|os\\\\.(?:clock|date|difftime|time)|string\\\\.(?:byte|char|find|format|gmatch|gsub|len|lower|match|pack|packsize|rep|reverse|split|sub|unpack|upper)|table\\\\.(?:concat|create|find|foreach|foreachi|getn|insert|maxn|move|pack|remove|sort|unpack|clear|freeze|isfrozen|clone)|task\\\\.(?:spawn|synchronize|desynchronize|wait|defer|delay)|utf8\\\\.(?:char|codepoint|codes|graphemes|len|nfcnormalize|nfdnormalize|offset)|buffer\\\\.(?:create|fromstring|tostring|len|readi8|readu8|readi16|readu16|readi32|readu32|readf32|readf64|writei8|writeu8|writei16|writeu16|writei32|writeu32|writef32|writef64|readstring|writestring|copy|fill))\\\\b\",\"name\":\"support.function.luau\"},{\"match\":\"(?<![^.]\\\\.|:)\\\\b(bit32|buffer|coroutine|debug|math(\\\\.(huge|pi))?|os|string|table|task|utf8(\\\\.charpattern)?)\\\\b\",\"name\":\"support.constant.luau\"},{\"match\":\"(?<![^.]\\\\.|:)\\\\b(delay|DebuggerManager|elapsedTime|PluginManager|printidentity|settings|spawn|stats|tick|time|UserSettings|version|wait|warn)\\\\b\",\"name\":\"support.function.luau\"},{\"match\":\"(?<![^.]\\\\.|:)\\\\b(game|plugin|shared|script|workspace|Enum(?:\\\\.\\\\w+){0,2})\\\\b\",\"name\":\"constant.language.luau\"}]},\"string\":{\"patterns\":[{\"begin\":\"\\\"\",\"end\":\"\\\"\",\"name\":\"string.quoted.double.luau\",\"patterns\":[{\"include\":\"#string_escape\"}]},{\"begin\":\"'\",\"end\":\"'\",\"name\":\"string.quoted.single.luau\",\"patterns\":[{\"include\":\"#string_escape\"}]},{\"begin\":\"\\\\[(=*)\\\\[\",\"end\":\"]\\\\1]\",\"name\":\"string.other.multiline.luau\"},{\"begin\":\"`\",\"end\":\"`\",\"name\":\"string.interpolated.luau\",\"patterns\":[{\"include\":\"#interpolated_string_expression\"},{\"include\":\"#string_escape\"}]}]},\"string_escape\":{\"patterns\":[{\"match\":\"\\\\\\\\[\\\"'\\\\\\\\`abfnrtvz{]\",\"name\":\"constant.character.escape.luau\"},{\"match\":\"\\\\\\\\\\\\d{1,3}\",\"name\":\"constant.character.escape.luau\"},{\"match\":\"\\\\\\\\x\\\\h{2}\",\"name\":\"constant.character.escape.luau\"},{\"match\":\"\\\\\\\\u\\\\{\\\\h*}\",\"name\":\"constant.character.escape.luau\"},{\"match\":\"\\\\\\\\$\",\"name\":\"constant.character.escape.luau\"}]},\"table\":{\"begin\":\"(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.table.begin.luau\"}},\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.table.end.luau\"}},\"patterns\":[{\"match\":\"[,;]\",\"name\":\"punctuation.separator.fields.luau\"},{\"include\":\"source.luau\"}]},\"type-alias-declaration\":{\"begin\":\"^\\\\b(?:(export)\\\\s+)?(type)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.visibility.luau\"},\"2\":{\"name\":\"storage.type.luau\"}},\"end\":\"(?=\\\\s*$)|(?=\\\\s*;)\",\"patterns\":[{\"include\":\"#type_literal\"},{\"match\":\"=\",\"name\":\"keyword.operator.assignment.luau\"}]},\"type_annotation\":{\"begin\":\":(?!\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b(?=\\\\s*(?:[\\\"'({]|\\\\[\\\\[)))\",\"end\":\"(?<=\\\\))(?!\\\\s*->)|[;=]|$|(?=\\\\breturn\\\\b)|(?=\\\\bend\\\\b)\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#type_literal\"}]},\"type_cast\":{\"begin\":\"(::)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.typecast.luau\"}},\"end\":\"(?=^|[-\\\\])+,:;>?}](?!\\\\s*[\\\\&|])|$|\\\\b(break|do|else|for|if|elseif|return|then|repeat|while|until|end|in|continue)\\\\b)\",\"patterns\":[{\"include\":\"#type_literal\"}]},\"type_literal\":{\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#string\"},{\"match\":\"[\\\\&?|]\",\"name\":\"keyword.operator.type.luau\"},{\"match\":\"->\",\"name\":\"keyword.operator.type.function.luau\"},{\"match\":\"\\\\b(false)\\\\b\",\"name\":\"constant.language.boolean.false.luau\"},{\"match\":\"\\\\b(true)\\\\b\",\"name\":\"constant.language.boolean.true.luau\"},{\"match\":\"\\\\b(nil|string|number|boolean|thread|userdata|symbol|any)\\\\b\",\"name\":\"support.type.primitive.luau\"},{\"begin\":\"\\\\b(typeof)\\\\b(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.luau\"},\"2\":{\"name\":\"punctuation.arguments.begin.typeof.luau\"}},\"end\":\"(\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.arguments.end.typeof.luau\"}},\"patterns\":[{\"include\":\"source.luau\"}]},{\"begin\":\"(<)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.typeparameters.begin.luau\"}},\"end\":\"(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.typeparameters.end.luau\"}},\"patterns\":[{\"match\":\"=\",\"name\":\"keyword.operator.assignment.luau\"},{\"include\":\"#type_literal\"}]},{\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"entity.name.type.luau\"},{\"begin\":\"\\\\{\",\"end\":\"}\",\"patterns\":[{\"begin\":\"\\\\[\",\"end\":\"]\",\"patterns\":[{\"include\":\"#type_literal\"}]},{\"captures\":{\"1\":{\"name\":\"variable.property.luau\"},\"2\":{\"name\":\"keyword.operator.type.luau\"}},\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b(:)\"},{\"include\":\"#type_literal\"},{\"match\":\"[,;]\",\"name\":\"punctuation.separator.fields.type.luau\"}]},{\"begin\":\"\\\\(\",\"end\":\"\\\\)\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"variable.parameter.luau\"},\"2\":{\"name\":\"keyword.operator.type.luau\"}},\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b(:)\",\"name\":\"variable.parameter.luau\"},{\"include\":\"#type_literal\"}]}]}},\"scopeName\":\"source.luau\"}"))
1
+ const lang = Object.freeze(JSON.parse("{\"displayName\":\"Luau\",\"fileTypes\":[\"luau\"],\"name\":\"luau\",\"patterns\":[{\"include\":\"#function-definition\"},{\"include\":\"#number\"},{\"include\":\"#string\"},{\"include\":\"#shebang\"},{\"include\":\"#comment\"},{\"include\":\"#local-declaration\"},{\"include\":\"#for-loop\"},{\"include\":\"#type-alias-declaration\"},{\"include\":\"#keyword\"},{\"include\":\"#language_constant\"},{\"include\":\"#standard_library\"},{\"include\":\"#identifier\"},{\"include\":\"#operator\"},{\"include\":\"#parentheses\"},{\"include\":\"#table\"},{\"include\":\"#type_cast\"},{\"include\":\"#type_annotation\"},{\"include\":\"#attribute\"}],\"repository\":{\"attribute\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.operator.attribute.luau\"},\"2\":{\"name\":\"storage.type.attribute.luau\"}},\"match\":\"(@)([A-Z_a-z][0-9A-Z_a-z]*)\",\"name\":\"meta.attribute.luau\"}]},\"comment\":{\"patterns\":[{\"begin\":\"--\\\\[(=*)\\\\[\",\"end\":\"]\\\\1]\",\"name\":\"comment.block.luau\",\"patterns\":[{\"begin\":\"(```luau?)\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"comment.luau\"}},\"end\":\"(```)\",\"endCaptures\":{\"1\":{\"name\":\"comment.luau\"}},\"name\":\"keyword.operator.other.luau\",\"patterns\":[{\"include\":\"source.luau\"}]},{\"include\":\"#doc_comment_tags\"}]},{\"begin\":\"---\",\"end\":\"\\\\n\",\"name\":\"comment.line.double-dash.documentation.luau\",\"patterns\":[{\"include\":\"#doc_comment_tags\"}]},{\"begin\":\"--\",\"end\":\"\\\\n\",\"name\":\"comment.line.double-dash.luau\"}]},\"doc_comment_tags\":{\"patterns\":[{\"match\":\"@\\\\w+\",\"name\":\"storage.type.class.luadoc.luau\"},{\"captures\":{\"1\":{\"name\":\"storage.type.class.luadoc.luau\"},\"2\":{\"name\":\"variable.parameter.luau\"}},\"match\":\"((?<=[!*/\\\\s])[@\\\\\\\\]param)\\\\s+\\\\b(\\\\w+)\\\\b\"}]},\"for-loop\":{\"begin\":\"\\\\b(for)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.luau\"}},\"end\":\"\\\\b(in)\\\\b|(=)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.luau\"},\"2\":{\"name\":\"keyword.operator.assignment.luau\"}},\"patterns\":[{\"begin\":\"(:)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.type.luau\"}},\"end\":\"(?=\\\\s*in\\\\b|\\\\s*[,=]|\\\\s*$)\",\"patterns\":[{\"include\":\"#type_literal\"}]},{\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"variable.parameter.luau\"}]},\"function-definition\":{\"begin\":\"\\\\b(?:(local)\\\\s+)?(function)\\\\b(?![,:])\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.local.luau\"},\"2\":{\"name\":\"keyword.control.luau\"}},\"end\":\"(?<=[-\\\\]\\\"')\\\\[{}])\",\"name\":\"meta.function.luau\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#generics-declaration\"},{\"begin\":\"(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.parameters.begin.luau\"}},\"end\":\"(\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.parameters.end.luau\"}},\"name\":\"meta.parameter.luau\",\"patterns\":[{\"include\":\"#comment\"},{\"match\":\"\\\\.\\\\.\\\\.\",\"name\":\"variable.parameter.function.varargs.luau\"},{\"match\":\"[A-Z_a-z][0-9A-Z_a-z]*\",\"name\":\"variable.parameter.function.luau\"},{\"match\":\",\",\"name\":\"punctuation.separator.arguments.luau\"},{\"begin\":\":\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.type.luau\"}},\"end\":\"(?=[),])\",\"patterns\":[{\"include\":\"#type_literal\"}]}]},{\"match\":\"\\\\b(__(?:add|call|concat|div|eq|index|len??|lt|metatable|mode??|mul|newindex|pow|sub|tostring|unm|iter|idiv))\\\\b\",\"name\":\"variable.language.metamethod.luau\"},{\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"entity.name.function.luau\"}]},\"generics-declaration\":{\"begin\":\"(<)\",\"end\":\"(>)\",\"patterns\":[{\"match\":\"[A-Z_a-z][0-9A-Z_a-z]*\",\"name\":\"entity.name.type.luau\"},{\"match\":\"=\",\"name\":\"keyword.operator.assignment.luau\"},{\"include\":\"#type_literal\"}]},\"identifier\":{\"patterns\":[{\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b(?=\\\\s*(?:[\\\"'({]|\\\\[\\\\[))\",\"name\":\"entity.name.function.luau\"},{\"match\":\"(?<=[^.]\\\\.|:)\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"variable.other.property.luau\"},{\"match\":\"\\\\b([A-Z_][0-9A-Z_]*)\\\\b\",\"name\":\"variable.other.constant.luau\"},{\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"variable.other.readwrite.luau\"}]},\"interpolated_string_expression\":{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.interpolated-string-expression.begin.luau\"}},\"contentName\":\"meta.embedded.line.luau\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.interpolated-string-expression.end.luau\"}},\"name\":\"meta.template.expression.luau\",\"patterns\":[{\"include\":\"source.luau\"}]},\"keyword\":{\"patterns\":[{\"match\":\"\\\\b(break|do|else|for|if|elseif|return|then|repeat|while|until|end|in|continue)\\\\b\",\"name\":\"keyword.control.luau\"},{\"match\":\"\\\\b(local)\\\\b\",\"name\":\"storage.modifier.local.luau\"},{\"match\":\"\\\\b(function)\\\\b(?![,:])\",\"name\":\"keyword.control.luau\"},{\"match\":\"(?<![^.]\\\\.|:)\\\\b(self)\\\\b\",\"name\":\"variable.language.self.luau\"},{\"match\":\"\\\\b(and|or|not)\\\\b\",\"name\":\"keyword.operator.logical.luau keyword.operator.wordlike.luau\"},{\"match\":\"(?<=[^.]\\\\.|:)\\\\b(__(?:add|call|concat|div|eq|index|len??|lt|metatable|mode??|mul|newindex|pow|sub|tostring|unm))\\\\b\",\"name\":\"variable.language.metamethod.luau\"},{\"match\":\"(?<!\\\\.)\\\\.{3}(?!\\\\.)\",\"name\":\"keyword.other.unit.luau\"}]},\"language_constant\":{\"patterns\":[{\"match\":\"(?<![^.]\\\\.|:)\\\\b(false)\\\\b\",\"name\":\"constant.language.boolean.false.luau\"},{\"match\":\"(?<![^.]\\\\.|:)\\\\b(true)\\\\b\",\"name\":\"constant.language.boolean.true.luau\"},{\"match\":\"(?<![^.]\\\\.|:)\\\\b(nil(?!:))\\\\b\",\"name\":\"constant.language.nil.luau\"}]},\"local-declaration\":{\"begin\":\"\\\\b(local)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.local.luau\"}},\"end\":\"(?=\\\\s*do\\\\b|\\\\s*[;=]|\\\\s*$)\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#attribute\"},{\"begin\":\"(:)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.type.luau\"}},\"end\":\"(?=\\\\s*do\\\\b|\\\\s*[,;=]|\\\\s*$)\",\"patterns\":[{\"include\":\"#type_literal\"}]},{\"match\":\"\\\\b([A-Z_][0-9A-Z_]*)\\\\b\",\"name\":\"variable.other.constant.luau\"},{\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"variable.other.readwrite.luau\"}]},\"number\":{\"patterns\":[{\"match\":\"\\\\b0_*[Xx]_*[A-F_a-f\\\\d]*(?:[Ee][-+]?_*\\\\d[_\\\\d]*(?:\\\\.[_\\\\d]*)?)?\",\"name\":\"constant.numeric.hex.luau\"},{\"match\":\"\\\\b0_*[Bb][01_]+(?:[Ee][-+]?_*\\\\d[_\\\\d]*(?:\\\\.[_\\\\d]*)?)?\",\"name\":\"constant.numeric.binary.luau\"},{\"match\":\"(?:\\\\d[_\\\\d]*(?:\\\\.[_\\\\d]*)?|\\\\.\\\\d[_\\\\d]*)(?:[Ee][-+]?_*\\\\d[_\\\\d]*(?:\\\\.[_\\\\d]*)?)?\",\"name\":\"constant.numeric.decimal.luau\"}]},\"operator\":{\"patterns\":[{\"match\":\"==|~=|!=|<=?|>=?\",\"name\":\"keyword.operator.comparison.luau\"},{\"match\":\"(?:[-+]|//??|[%*^]|\\\\.\\\\.|)=\",\"name\":\"keyword.operator.assignment.luau\"},{\"match\":\"[-%*+]|//|[/^]\",\"name\":\"keyword.operator.arithmetic.luau\"},{\"match\":\"#|(?<!\\\\.)\\\\.{2}(?!\\\\.)\",\"name\":\"keyword.operator.other.luau\"}]},\"parentheses\":{\"begin\":\"(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.arguments.begin.luau\"}},\"end\":\"(\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.arguments.end.luau\"}},\"patterns\":[{\"match\":\",\",\"name\":\"punctuation.separator.arguments.luau\"},{\"include\":\"source.luau\"}]},\"shebang\":{\"captures\":{\"1\":{\"name\":\"punctuation.definition.comment.luau\"}},\"match\":\"\\\\A(#!).*$\\\\n?\",\"name\":\"comment.line.shebang.luau\"},\"standard_library\":{\"patterns\":[{\"match\":\"(?<![^.]\\\\.|:)\\\\b(assert|collectgarbage|error|gcinfo|getfenv|getmetatable|ipairs|loadstring|newproxy|next|pairs|pcall|print|rawequal|rawset|require|select|setfenv|setmetatable|tonumber|tostring|type|typeof|unpack|xpcall)\\\\b\",\"name\":\"support.function.luau\"},{\"match\":\"(?<![^.]\\\\.|:)\\\\b(_(?:G|VERSION))\\\\b\",\"name\":\"constant.language.luau\"},{\"match\":\"(?<![^.]\\\\.|:)\\\\b(bit32\\\\.(?:arshift|band|bnot|bor|btest|bxor|extract|lrotate|lshift|replace|rrotate|rshift|countlz|countrz|byteswap)|coroutine\\\\.(?:create|isyieldable|resume|running|status|wrap|yield|close)|debug\\\\.(?:info|loadmodule|profilebegin|profileend|traceback)|math\\\\.(?:abs|acos|asin|atan2??|ceil|clamp|cosh??|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|noise|pow|rad|random|randomseed|round|sign|sinh??|sqrt|tanh??)|os\\\\.(?:clock|date|difftime|time)|string\\\\.(?:byte|char|find|format|gmatch|gsub|len|lower|match|pack|packsize|rep|reverse|split|sub|unpack|upper)|table\\\\.(?:concat|create|find|foreachi??|getn|insert|maxn|move|pack|remove|sort|unpack|clear|freeze|isfrozen|clone)|task\\\\.(?:spawn|synchronize|desynchronize|wait|defer|delay)|utf8\\\\.(?:char|codepoint|codes|graphemes|len|nfcnormalize|nfdnormalize|offset)|buffer\\\\.(?:create|fromstring|tostring|len|readi8|readu8|readi16|readu16|readi32|readu32|readf32|readf64|writei8|writeu8|writei16|writeu16|writei32|writeu32|writef32|writef64|readstring|writestring|copy|fill))\\\\b\",\"name\":\"support.function.luau\"},{\"match\":\"(?<![^.]\\\\.|:)\\\\b(bit32|buffer|coroutine|debug|math(\\\\.(huge|pi))?|os|string|table|task|utf8(\\\\.charpattern)?)\\\\b\",\"name\":\"support.constant.luau\"},{\"match\":\"(?<![^.]\\\\.|:)\\\\b(delay|DebuggerManager|elapsedTime|PluginManager|printidentity|settings|spawn|stats|tick|time|UserSettings|version|wait|warn)\\\\b\",\"name\":\"support.function.luau\"},{\"match\":\"(?<![^.]\\\\.|:)\\\\b(game|plugin|shared|script|workspace|Enum(?:\\\\.\\\\w+){0,2})\\\\b\",\"name\":\"constant.language.luau\"}]},\"string\":{\"patterns\":[{\"begin\":\"\\\"\",\"end\":\"\\\"\",\"name\":\"string.quoted.double.luau\",\"patterns\":[{\"include\":\"#string_escape\"}]},{\"begin\":\"'\",\"end\":\"'\",\"name\":\"string.quoted.single.luau\",\"patterns\":[{\"include\":\"#string_escape\"}]},{\"begin\":\"\\\\[(=*)\\\\[\",\"end\":\"]\\\\1]\",\"name\":\"string.other.multiline.luau\"},{\"begin\":\"`\",\"end\":\"`\",\"name\":\"string.interpolated.luau\",\"patterns\":[{\"include\":\"#interpolated_string_expression\"},{\"include\":\"#string_escape\"}]}]},\"string_escape\":{\"patterns\":[{\"match\":\"\\\\\\\\[\\\"'\\\\\\\\`abfnrtvz{]\",\"name\":\"constant.character.escape.luau\"},{\"match\":\"\\\\\\\\\\\\d{1,3}\",\"name\":\"constant.character.escape.luau\"},{\"match\":\"\\\\\\\\x\\\\h{2}\",\"name\":\"constant.character.escape.luau\"},{\"match\":\"\\\\\\\\u\\\\{\\\\h*}\",\"name\":\"constant.character.escape.luau\"},{\"match\":\"\\\\\\\\$\",\"name\":\"constant.character.escape.luau\"}]},\"table\":{\"begin\":\"(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.table.begin.luau\"}},\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.table.end.luau\"}},\"patterns\":[{\"match\":\"[,;]\",\"name\":\"punctuation.separator.fields.luau\"},{\"include\":\"source.luau\"}]},\"type-alias-declaration\":{\"begin\":\"^\\\\b(?:(export)\\\\s+)?(type)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"storage.modifier.visibility.luau\"},\"2\":{\"name\":\"storage.type.luau\"}},\"end\":\"(?=\\\\s*$)|(?=\\\\s*;)\",\"patterns\":[{\"include\":\"#type_literal\"},{\"match\":\"=\",\"name\":\"keyword.operator.assignment.luau\"}]},\"type_annotation\":{\"begin\":\":(?!\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b(?=\\\\s*(?:[\\\"'({]|\\\\[\\\\[)))\",\"end\":\"(?<=\\\\))(?!\\\\s*->)|[;=]|$|(?=\\\\breturn\\\\b)|(?=\\\\bend\\\\b)\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#type_literal\"}]},\"type_cast\":{\"begin\":\"(::)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.typecast.luau\"}},\"end\":\"(?=^|[-\\\\])+,:;>?}](?!\\\\s*[\\\\&|])|$|\\\\b(break|do|else|for|if|elseif|return|then|repeat|while|until|end|in|continue)\\\\b)\",\"patterns\":[{\"include\":\"#type_literal\"}]},\"type_literal\":{\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#string\"},{\"match\":\"[\\\\&?|]\",\"name\":\"keyword.operator.type.luau\"},{\"match\":\"->\",\"name\":\"keyword.operator.type.function.luau\"},{\"match\":\"\\\\b(false)\\\\b\",\"name\":\"constant.language.boolean.false.luau\"},{\"match\":\"\\\\b(true)\\\\b\",\"name\":\"constant.language.boolean.true.luau\"},{\"match\":\"\\\\b(nil|string|number|boolean|thread|userdata|symbol|any)\\\\b\",\"name\":\"support.type.primitive.luau\"},{\"begin\":\"\\\\b(typeof)\\\\b(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.luau\"},\"2\":{\"name\":\"punctuation.arguments.begin.typeof.luau\"}},\"end\":\"(\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.arguments.end.typeof.luau\"}},\"patterns\":[{\"include\":\"source.luau\"}]},{\"begin\":\"(<)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.typeparameters.begin.luau\"}},\"end\":\"(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.typeparameters.end.luau\"}},\"patterns\":[{\"match\":\"=\",\"name\":\"keyword.operator.assignment.luau\"},{\"include\":\"#type_literal\"}]},{\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b\",\"name\":\"entity.name.type.luau\"},{\"begin\":\"\\\\{\",\"end\":\"}\",\"patterns\":[{\"begin\":\"\\\\[\",\"end\":\"]\",\"patterns\":[{\"include\":\"#type_literal\"}]},{\"captures\":{\"1\":{\"name\":\"variable.property.luau\"},\"2\":{\"name\":\"keyword.operator.type.luau\"}},\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b(:)\"},{\"include\":\"#type_literal\"},{\"match\":\"[,;]\",\"name\":\"punctuation.separator.fields.type.luau\"}]},{\"begin\":\"\\\\(\",\"end\":\"\\\\)\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"variable.parameter.luau\"},\"2\":{\"name\":\"keyword.operator.type.luau\"}},\"match\":\"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\b(:)\",\"name\":\"variable.parameter.luau\"},{\"include\":\"#type_literal\"}]}]}},\"scopeName\":\"source.luau\"}"))
2
2
 
3
3
  export default [
4
4
  lang
package/dist/make.mjs CHANGED
@@ -1,4 +1,4 @@
1
- const lang = Object.freeze(JSON.parse("{\"displayName\":\"Makefile\",\"name\":\"make\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#variables\"},{\"include\":\"#variable-assignment\"},{\"include\":\"#directives\"},{\"include\":\"#recipe\"},{\"include\":\"#target\"}],\"repository\":{\"another-variable-braces\":{\"patterns\":[{\"begin\":\"(?<=\\\\{)(?!})\",\"end\":\"(?=}|((?<!\\\\\\\\)\\\\n))\",\"name\":\"variable.other.makefile\",\"patterns\":[{\"include\":\"#variables\"},{\"match\":\"\\\\\\\\\\\\n\",\"name\":\"constant.character.escape.continuation.makefile\"}]}]},\"another-variable-parentheses\":{\"patterns\":[{\"begin\":\"(?<=\\\\()(?!\\\\))\",\"end\":\"(?=\\\\)|((?<!\\\\\\\\)\\\\n))\",\"name\":\"variable.other.makefile\",\"patterns\":[{\"include\":\"#variables\"},{\"match\":\"\\\\\\\\\\\\n\",\"name\":\"constant.character.escape.continuation.makefile\"}]}]},\"braces-interpolation\":{\"begin\":\"\\\\{\",\"end\":\"}\",\"patterns\":[{\"include\":\"#variables\"},{\"include\":\"#interpolation\"}]},\"builtin-variable-braces\":{\"patterns\":[{\"match\":\"(?<=\\\\{)(MAKEFILES|VPATH|SHELL|MAKESHELL|MAKE|MAKELEVEL|MAKEFLAGS|MAKECMDGOALS|CURDIR|SUFFIXES|\\\\.LIBPATTERNS)(?=\\\\s*})\",\"name\":\"variable.language.makefile\"}]},\"builtin-variable-parentheses\":{\"patterns\":[{\"match\":\"(?<=\\\\()(MAKEFILES|VPATH|SHELL|MAKESHELL|MAKE|MAKELEVEL|MAKEFLAGS|MAKECMDGOALS|CURDIR|SUFFIXES|\\\\.LIBPATTERNS)(?=\\\\s*\\\\))\",\"name\":\"variable.language.makefile\"}]},\"comma\":{\"match\":\",\",\"name\":\"punctuation.separator.delimeter.comma.makefile\"},\"comment\":{\"begin\":\"(^ +)?((?<!\\\\\\\\)(\\\\\\\\\\\\\\\\)*)(?=#)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.whitespace.comment.leading.makefile\"}},\"end\":\"(?!\\\\G)\",\"patterns\":[{\"begin\":\"#\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.makefile\"}},\"end\":\"(?=[^\\\\\\\\])$\",\"name\":\"comment.line.number-sign.makefile\",\"patterns\":[{\"match\":\"\\\\\\\\\\\\n\",\"name\":\"constant.character.escape.continuation.makefile\"}]}]},\"directives\":{\"patterns\":[{\"begin\":\"^ *([-s]?include)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.include.makefile\"}},\"end\":\"^\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#variables\"},{\"match\":\"%\",\"name\":\"constant.other.placeholder.makefile\"}]},{\"begin\":\"^ *(vpath)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.vpath.makefile\"}},\"end\":\"^\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#variables\"},{\"match\":\"%\",\"name\":\"constant.other.placeholder.makefile\"}]},{\"begin\":\"^\\\\s*(?:(override)\\\\s*)?(define)\\\\s*(\\\\S+)\\\\s*((?:|[+:?])=)?(?=\\\\s)\",\"captures\":{\"1\":{\"name\":\"keyword.control.override.makefile\"},\"2\":{\"name\":\"keyword.control.define.makefile\"},\"3\":{\"name\":\"variable.other.makefile\"},\"4\":{\"name\":\"punctuation.separator.key-value.makefile\"}},\"end\":\"^\\\\s*(endef)\\\\b\",\"name\":\"meta.scope.conditional.makefile\",\"patterns\":[{\"begin\":\"\\\\G(?!\\\\n)\",\"end\":\"^\",\"patterns\":[{\"include\":\"#comment\"}]},{\"include\":\"#variables\"},{\"include\":\"#directives\"}]},{\"begin\":\"^ *(export)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.$1.makefile\"}},\"end\":\"^\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#variable-assignment\"},{\"match\":\"\\\\S+\",\"name\":\"variable.other.makefile\"}]},{\"begin\":\"^ *(override|private)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.$1.makefile\"}},\"end\":\"^\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#variable-assignment\"}]},{\"begin\":\"^ *(un(?:export|define))\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.$1.makefile\"}},\"end\":\"^\",\"patterns\":[{\"include\":\"#comment\"},{\"match\":\"\\\\S+\",\"name\":\"variable.other.makefile\"}]},{\"begin\":\"^\\\\s*(if(?:|n)(?:eq|def))(?=\\\\s)\",\"captures\":{\"1\":{\"name\":\"keyword.control.$1.makefile\"}},\"end\":\"^\\\\s*(endif)\\\\b\",\"name\":\"meta.scope.conditional.makefile\",\"patterns\":[{\"begin\":\"\\\\G\",\"end\":\"^\",\"name\":\"meta.scope.condition.makefile\",\"patterns\":[{\"include\":\"#comma\"},{\"include\":\"#variables\"},{\"include\":\"#comment\"}]},{\"begin\":\"^\\\\s*else(?=\\\\s)\\\\s*(if(?:|n)(?:eq|def))*(?=\\\\s)\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.control.else.makefile\"}},\"end\":\"^\",\"patterns\":[{\"include\":\"#comma\"},{\"include\":\"#variables\"},{\"include\":\"#comment\"}]},{\"include\":\"$self\"}]}]},\"flavor-variable-braces\":{\"patterns\":[{\"begin\":\"(?<=\\\\{)(origin|flavor)\\\\s(?=[^}\\\\s]+\\\\s*})\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.$1.makefile\"}},\"contentName\":\"variable.other.makefile\",\"end\":\"(?=})\",\"name\":\"meta.scope.function-call.makefile\",\"patterns\":[{\"include\":\"#variables\"}]}]},\"flavor-variable-parentheses\":{\"patterns\":[{\"begin\":\"(?<=\\\\()(origin|flavor)\\\\s(?=[^)\\\\s]+\\\\s*\\\\))\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.$1.makefile\"}},\"contentName\":\"variable.other.makefile\",\"end\":\"(?=\\\\))\",\"name\":\"meta.scope.function-call.makefile\",\"patterns\":[{\"include\":\"#variables\"}]}]},\"function-variable-braces\":{\"patterns\":[{\"begin\":\"(?<=\\\\{)(subst|patsubst|strip|findstring|filter(-out)?|sort|word(list)?|firstword|lastword|dir|notdir|suffix|basename|addsuffix|addprefix|join|wildcard|realpath|abspath|info|error|warning|shell|foreach|if|or|and|call|eval|value|file|guile)\\\\s\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.$1.makefile\"}},\"end\":\"(?=}|((?<!\\\\\\\\)\\\\n))\",\"name\":\"meta.scope.function-call.makefile\",\"patterns\":[{\"include\":\"#comma\"},{\"include\":\"#variables\"},{\"include\":\"#interpolation\"},{\"match\":\"[%*]\",\"name\":\"constant.other.placeholder.makefile\"},{\"match\":\"\\\\\\\\\\\\n\",\"name\":\"constant.character.escape.continuation.makefile\"}]}]},\"function-variable-parentheses\":{\"patterns\":[{\"begin\":\"(?<=\\\\()(subst|patsubst|strip|findstring|filter(-out)?|sort|word(list)?|firstword|lastword|dir|notdir|suffix|basename|addsuffix|addprefix|join|wildcard|realpath|abspath|info|error|warning|shell|foreach|if|or|and|call|eval|value|file|guile)\\\\s\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.$1.makefile\"}},\"end\":\"(?=\\\\)|((?<!\\\\\\\\)\\\\n))\",\"name\":\"meta.scope.function-call.makefile\",\"patterns\":[{\"include\":\"#comma\"},{\"include\":\"#variables\"},{\"include\":\"#interpolation\"},{\"match\":\"[%*]\",\"name\":\"constant.other.placeholder.makefile\"},{\"match\":\"\\\\\\\\\\\\n\",\"name\":\"constant.character.escape.continuation.makefile\"}]}]},\"interpolation\":{\"patterns\":[{\"include\":\"#parentheses-interpolation\"},{\"include\":\"#braces-interpolation\"}]},\"parentheses-interpolation\":{\"begin\":\"\\\\(\",\"end\":\"\\\\)\",\"patterns\":[{\"include\":\"#variables\"},{\"include\":\"#interpolation\"}]},\"recipe\":{\"begin\":\"^\\\\t([-+@]*)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.$1.makefile\"}},\"end\":\"[^\\\\\\\\]$\",\"name\":\"meta.scope.recipe.makefile\",\"patterns\":[{\"match\":\"\\\\\\\\\\\\n\",\"name\":\"constant.character.escape.continuation.makefile\"},{\"include\":\"#variables\"}]},\"simple-variable\":{\"patterns\":[{\"match\":\"\\\\$[^(){}]\",\"name\":\"variable.language.makefile\"}]},\"target\":{\"begin\":\"^(?!\\\\t)([^:]*)(:)(?!=)\",\"beginCaptures\":{\"1\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"support.function.target.$1.makefile\"}},\"match\":\"^\\\\s*(\\\\.(PHONY|SUFFIXES|DEFAULT|PRECIOUS|INTERMEDIATE|SECONDARY|SECONDEXPANSION|DELETE_ON_ERROR|IGNORE|LOW_RESOLUTION_TIME|SILENT|EXPORT_ALL_VARIABLES|NOTPARALLEL|ONESHELL|POSIX))\\\\s*$\"},{\"begin\":\"(?=\\\\S)\",\"end\":\"(?=\\\\s|$)\",\"name\":\"entity.name.function.target.makefile\",\"patterns\":[{\"include\":\"#variables\"},{\"match\":\"%\",\"name\":\"constant.other.placeholder.makefile\"}]}]},\"2\":{\"name\":\"punctuation.separator.key-value.makefile\"}},\"end\":\"[^\\\\\\\\]$\",\"name\":\"meta.scope.target.makefile\",\"patterns\":[{\"begin\":\"\\\\G\",\"end\":\"(?=[^\\\\\\\\])$\",\"name\":\"meta.scope.prerequisites.makefile\",\"patterns\":[{\"match\":\"\\\\\\\\\\\\n\",\"name\":\"constant.character.escape.continuation.makefile\"},{\"match\":\"[%*]\",\"name\":\"constant.other.placeholder.makefile\"},{\"include\":\"#comment\"},{\"include\":\"#variables\"}]}]},\"variable-assignment\":{\"begin\":\"(^ *|\\\\G\\\\s*)([^#:=\\\\s]+)\\\\s*((?:(?<![!+:?])|[!+:?])=)\",\"beginCaptures\":{\"2\":{\"name\":\"variable.other.makefile\",\"patterns\":[{\"include\":\"#variables\"}]},\"3\":{\"name\":\"punctuation.separator.key-value.makefile\"}},\"end\":\"\\\\n\",\"patterns\":[{\"match\":\"\\\\\\\\\\\\n\",\"name\":\"constant.character.escape.continuation.makefile\"},{\"include\":\"#comment\"},{\"include\":\"#variables\"}]},\"variable-braces\":{\"patterns\":[{\"begin\":\"\\\\$\\\\{\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.variable.makefile\"}},\"end\":\"}|((?<!\\\\\\\\)\\\\n)\",\"name\":\"string.interpolated.makefile\",\"patterns\":[{\"include\":\"#variables\"},{\"include\":\"#builtin-variable-braces\"},{\"include\":\"#function-variable-braces\"},{\"include\":\"#flavor-variable-braces\"},{\"include\":\"#another-variable-braces\"}]}]},\"variable-parentheses\":{\"patterns\":[{\"begin\":\"\\\\$\\\\(\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.variable.makefile\"}},\"end\":\"\\\\)|((?<!\\\\\\\\)\\\\n)\",\"name\":\"string.interpolated.makefile\",\"patterns\":[{\"include\":\"#variables\"},{\"include\":\"#builtin-variable-parentheses\"},{\"include\":\"#function-variable-parentheses\"},{\"include\":\"#flavor-variable-parentheses\"},{\"include\":\"#another-variable-parentheses\"}]}]},\"variables\":{\"patterns\":[{\"include\":\"#simple-variable\"},{\"include\":\"#variable-parentheses\"},{\"include\":\"#variable-braces\"}]}},\"scopeName\":\"source.makefile\",\"aliases\":[\"makefile\"]}"))
1
+ const lang = Object.freeze(JSON.parse("{\"displayName\":\"Makefile\",\"name\":\"make\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#variables\"},{\"include\":\"#variable-assignment\"},{\"include\":\"#directives\"},{\"include\":\"#recipe\"},{\"include\":\"#target\"}],\"repository\":{\"another-variable-braces\":{\"patterns\":[{\"begin\":\"(?<=\\\\{)(?!})\",\"end\":\"(?=}|((?<!\\\\\\\\)\\\\n))\",\"name\":\"variable.other.makefile\",\"patterns\":[{\"include\":\"#variables\"},{\"match\":\"\\\\\\\\\\\\n\",\"name\":\"constant.character.escape.continuation.makefile\"}]}]},\"another-variable-parentheses\":{\"patterns\":[{\"begin\":\"(?<=\\\\()(?!\\\\))\",\"end\":\"(?=\\\\)|((?<!\\\\\\\\)\\\\n))\",\"name\":\"variable.other.makefile\",\"patterns\":[{\"include\":\"#variables\"},{\"match\":\"\\\\\\\\\\\\n\",\"name\":\"constant.character.escape.continuation.makefile\"}]}]},\"braces-interpolation\":{\"begin\":\"\\\\{\",\"end\":\"}\",\"patterns\":[{\"include\":\"#variables\"},{\"include\":\"#interpolation\"}]},\"builtin-variable-braces\":{\"patterns\":[{\"match\":\"(?<=\\\\{)(MAKEFILES|VPATH|SHELL|MAKESHELL|MAKE|MAKELEVEL|MAKEFLAGS|MAKECMDGOALS|CURDIR|SUFFIXES|\\\\.LIBPATTERNS)(?=\\\\s*})\",\"name\":\"variable.language.makefile\"}]},\"builtin-variable-parentheses\":{\"patterns\":[{\"match\":\"(?<=\\\\()(MAKEFILES|VPATH|SHELL|MAKESHELL|MAKE|MAKELEVEL|MAKEFLAGS|MAKECMDGOALS|CURDIR|SUFFIXES|\\\\.LIBPATTERNS)(?=\\\\s*\\\\))\",\"name\":\"variable.language.makefile\"}]},\"comma\":{\"match\":\",\",\"name\":\"punctuation.separator.delimeter.comma.makefile\"},\"comment\":{\"begin\":\"(^ +)?((?<!\\\\\\\\)(\\\\\\\\\\\\\\\\)*)(?=#)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.whitespace.comment.leading.makefile\"}},\"end\":\"(?!\\\\G)\",\"patterns\":[{\"begin\":\"#\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.makefile\"}},\"end\":\"(?=[^\\\\\\\\])$\",\"name\":\"comment.line.number-sign.makefile\",\"patterns\":[{\"match\":\"\\\\\\\\\\\\n\",\"name\":\"constant.character.escape.continuation.makefile\"}]}]},\"directives\":{\"patterns\":[{\"begin\":\"^ *([-s]?include)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.include.makefile\"}},\"end\":\"^\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#variables\"},{\"match\":\"%\",\"name\":\"constant.other.placeholder.makefile\"}]},{\"begin\":\"^ *(vpath)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.vpath.makefile\"}},\"end\":\"^\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#variables\"},{\"match\":\"%\",\"name\":\"constant.other.placeholder.makefile\"}]},{\"begin\":\"^\\\\s*(?:(override)\\\\s*)?(define)\\\\s*(\\\\S+)\\\\s*([+:?]??=)?(?=\\\\s)\",\"captures\":{\"1\":{\"name\":\"keyword.control.override.makefile\"},\"2\":{\"name\":\"keyword.control.define.makefile\"},\"3\":{\"name\":\"variable.other.makefile\"},\"4\":{\"name\":\"punctuation.separator.key-value.makefile\"}},\"end\":\"^\\\\s*(endef)\\\\b\",\"name\":\"meta.scope.conditional.makefile\",\"patterns\":[{\"begin\":\"\\\\G(?!\\\\n)\",\"end\":\"^\",\"patterns\":[{\"include\":\"#comment\"}]},{\"include\":\"#variables\"},{\"include\":\"#directives\"}]},{\"begin\":\"^ *(export)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.$1.makefile\"}},\"end\":\"^\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#variable-assignment\"},{\"match\":\"\\\\S+\",\"name\":\"variable.other.makefile\"}]},{\"begin\":\"^ *(override|private)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.$1.makefile\"}},\"end\":\"^\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#variable-assignment\"}]},{\"begin\":\"^ *(un(?:export|define))\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.$1.makefile\"}},\"end\":\"^\",\"patterns\":[{\"include\":\"#comment\"},{\"match\":\"\\\\S+\",\"name\":\"variable.other.makefile\"}]},{\"begin\":\"^\\\\s*(ifn??(?:eq|def))(?=\\\\s)\",\"captures\":{\"1\":{\"name\":\"keyword.control.$1.makefile\"}},\"end\":\"^\\\\s*(endif)\\\\b\",\"name\":\"meta.scope.conditional.makefile\",\"patterns\":[{\"begin\":\"\\\\G\",\"end\":\"^\",\"name\":\"meta.scope.condition.makefile\",\"patterns\":[{\"include\":\"#comma\"},{\"include\":\"#variables\"},{\"include\":\"#comment\"}]},{\"begin\":\"^\\\\s*else(?=\\\\s)\\\\s*(ifn??(?:eq|def))*(?=\\\\s)\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.control.else.makefile\"}},\"end\":\"^\",\"patterns\":[{\"include\":\"#comma\"},{\"include\":\"#variables\"},{\"include\":\"#comment\"}]},{\"include\":\"$self\"}]}]},\"flavor-variable-braces\":{\"patterns\":[{\"begin\":\"(?<=\\\\{)(origin|flavor)\\\\s(?=[^}\\\\s]+\\\\s*})\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.$1.makefile\"}},\"contentName\":\"variable.other.makefile\",\"end\":\"(?=})\",\"name\":\"meta.scope.function-call.makefile\",\"patterns\":[{\"include\":\"#variables\"}]}]},\"flavor-variable-parentheses\":{\"patterns\":[{\"begin\":\"(?<=\\\\()(origin|flavor)\\\\s(?=[^)\\\\s]+\\\\s*\\\\))\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.$1.makefile\"}},\"contentName\":\"variable.other.makefile\",\"end\":\"(?=\\\\))\",\"name\":\"meta.scope.function-call.makefile\",\"patterns\":[{\"include\":\"#variables\"}]}]},\"function-variable-braces\":{\"patterns\":[{\"begin\":\"(?<=\\\\{)(subst|patsubst|strip|findstring|filter(-out)?|sort|word(list)?|firstword|lastword|dir|notdir|suffix|basename|addsuffix|addprefix|join|wildcard|realpath|abspath|info|error|warning|shell|foreach|if|or|and|call|eval|value|file|guile)\\\\s\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.$1.makefile\"}},\"end\":\"(?=}|((?<!\\\\\\\\)\\\\n))\",\"name\":\"meta.scope.function-call.makefile\",\"patterns\":[{\"include\":\"#comma\"},{\"include\":\"#variables\"},{\"include\":\"#interpolation\"},{\"match\":\"[%*]\",\"name\":\"constant.other.placeholder.makefile\"},{\"match\":\"\\\\\\\\\\\\n\",\"name\":\"constant.character.escape.continuation.makefile\"}]}]},\"function-variable-parentheses\":{\"patterns\":[{\"begin\":\"(?<=\\\\()(subst|patsubst|strip|findstring|filter(-out)?|sort|word(list)?|firstword|lastword|dir|notdir|suffix|basename|addsuffix|addprefix|join|wildcard|realpath|abspath|info|error|warning|shell|foreach|if|or|and|call|eval|value|file|guile)\\\\s\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.$1.makefile\"}},\"end\":\"(?=\\\\)|((?<!\\\\\\\\)\\\\n))\",\"name\":\"meta.scope.function-call.makefile\",\"patterns\":[{\"include\":\"#comma\"},{\"include\":\"#variables\"},{\"include\":\"#interpolation\"},{\"match\":\"[%*]\",\"name\":\"constant.other.placeholder.makefile\"},{\"match\":\"\\\\\\\\\\\\n\",\"name\":\"constant.character.escape.continuation.makefile\"}]}]},\"interpolation\":{\"patterns\":[{\"include\":\"#parentheses-interpolation\"},{\"include\":\"#braces-interpolation\"}]},\"parentheses-interpolation\":{\"begin\":\"\\\\(\",\"end\":\"\\\\)\",\"patterns\":[{\"include\":\"#variables\"},{\"include\":\"#interpolation\"}]},\"recipe\":{\"begin\":\"^\\\\t([-+@]*)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.$1.makefile\"}},\"end\":\"[^\\\\\\\\]$\",\"name\":\"meta.scope.recipe.makefile\",\"patterns\":[{\"match\":\"\\\\\\\\\\\\n\",\"name\":\"constant.character.escape.continuation.makefile\"},{\"include\":\"#variables\"}]},\"simple-variable\":{\"patterns\":[{\"match\":\"\\\\$[^(){}]\",\"name\":\"variable.language.makefile\"}]},\"target\":{\"begin\":\"^(?!\\\\t)([^:]*)(:)(?!=)\",\"beginCaptures\":{\"1\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"support.function.target.$1.makefile\"}},\"match\":\"^\\\\s*(\\\\.(PHONY|SUFFIXES|DEFAULT|PRECIOUS|INTERMEDIATE|SECONDARY|SECONDEXPANSION|DELETE_ON_ERROR|IGNORE|LOW_RESOLUTION_TIME|SILENT|EXPORT_ALL_VARIABLES|NOTPARALLEL|ONESHELL|POSIX))\\\\s*$\"},{\"begin\":\"(?=\\\\S)\",\"end\":\"(?=\\\\s|$)\",\"name\":\"entity.name.function.target.makefile\",\"patterns\":[{\"include\":\"#variables\"},{\"match\":\"%\",\"name\":\"constant.other.placeholder.makefile\"}]}]},\"2\":{\"name\":\"punctuation.separator.key-value.makefile\"}},\"end\":\"[^\\\\\\\\]$\",\"name\":\"meta.scope.target.makefile\",\"patterns\":[{\"begin\":\"\\\\G\",\"end\":\"(?=[^\\\\\\\\])$\",\"name\":\"meta.scope.prerequisites.makefile\",\"patterns\":[{\"match\":\"\\\\\\\\\\\\n\",\"name\":\"constant.character.escape.continuation.makefile\"},{\"match\":\"[%*]\",\"name\":\"constant.other.placeholder.makefile\"},{\"include\":\"#comment\"},{\"include\":\"#variables\"}]}]},\"variable-assignment\":{\"begin\":\"(^ *|\\\\G\\\\s*)([^#:=\\\\s]+)\\\\s*((?:(?<![!+:?])|[!+:?])=)\",\"beginCaptures\":{\"2\":{\"name\":\"variable.other.makefile\",\"patterns\":[{\"include\":\"#variables\"}]},\"3\":{\"name\":\"punctuation.separator.key-value.makefile\"}},\"end\":\"\\\\n\",\"patterns\":[{\"match\":\"\\\\\\\\\\\\n\",\"name\":\"constant.character.escape.continuation.makefile\"},{\"include\":\"#comment\"},{\"include\":\"#variables\"}]},\"variable-braces\":{\"patterns\":[{\"begin\":\"\\\\$\\\\{\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.variable.makefile\"}},\"end\":\"}|((?<!\\\\\\\\)\\\\n)\",\"name\":\"string.interpolated.makefile\",\"patterns\":[{\"include\":\"#variables\"},{\"include\":\"#builtin-variable-braces\"},{\"include\":\"#function-variable-braces\"},{\"include\":\"#flavor-variable-braces\"},{\"include\":\"#another-variable-braces\"}]}]},\"variable-parentheses\":{\"patterns\":[{\"begin\":\"\\\\$\\\\(\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.variable.makefile\"}},\"end\":\"\\\\)|((?<!\\\\\\\\)\\\\n)\",\"name\":\"string.interpolated.makefile\",\"patterns\":[{\"include\":\"#variables\"},{\"include\":\"#builtin-variable-parentheses\"},{\"include\":\"#function-variable-parentheses\"},{\"include\":\"#flavor-variable-parentheses\"},{\"include\":\"#another-variable-parentheses\"}]}]},\"variables\":{\"patterns\":[{\"include\":\"#simple-variable\"},{\"include\":\"#variable-parentheses\"},{\"include\":\"#variable-braces\"}]}},\"scopeName\":\"source.makefile\",\"aliases\":[\"makefile\"]}"))
2
2
 
3
3
  export default [
4
4
  lang