@shikijs/langs 3.2.1 → 3.2.2
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.
- package/dist/abap.mjs +1 -1
- package/dist/actionscript-3.mjs +1 -1
- package/dist/ada.mjs +1 -1
- package/dist/angular-expression.mjs +1 -1
- package/dist/angular-let-declaration.mjs +1 -1
- package/dist/angular-template-blocks.mjs +1 -1
- package/dist/angular-ts.mjs +1 -1
- package/dist/apex.mjs +1 -1
- package/dist/apl.mjs +1 -1
- package/dist/applescript.mjs +1 -1
- package/dist/ara.mjs +1 -1
- package/dist/asciidoc.mjs +1 -1
- package/dist/asm.mjs +1 -1
- package/dist/astro.mjs +1 -1
- package/dist/awk.mjs +1 -1
- package/dist/ballerina.mjs +1 -1
- package/dist/bat.mjs +1 -1
- package/dist/beancount.mjs +1 -1
- package/dist/berry.mjs +1 -1
- package/dist/bibtex.mjs +1 -1
- package/dist/bicep.mjs +1 -1
- package/dist/blade.mjs +1 -1
- package/dist/c.mjs +1 -1
- package/dist/cadence.mjs +1 -1
- package/dist/cairo.mjs +1 -1
- package/dist/clarity.mjs +1 -1
- package/dist/clojure.mjs +1 -1
- package/dist/cmake.mjs +1 -1
- package/dist/cobol.mjs +1 -1
- package/dist/coffee.mjs +1 -1
- package/dist/common-lisp.mjs +1 -1
- package/dist/coq.mjs +1 -1
- package/dist/cpp-macro.mjs +1 -1
- package/dist/cpp.mjs +1 -1
- package/dist/crystal.mjs +1 -1
- package/dist/csharp.mjs +1 -1
- package/dist/css.mjs +1 -1
- package/dist/cue.mjs +1 -1
- package/dist/cypher.mjs +1 -1
- package/dist/d.mjs +1 -1
- package/dist/dart.mjs +1 -1
- package/dist/dax.mjs +1 -1
- package/dist/desktop.mjs +1 -1
- package/dist/dream-maker.mjs +1 -1
- package/dist/elixir.mjs +1 -1
- package/dist/elm.mjs +1 -1
- package/dist/emacs-lisp.mjs +1 -1
- package/dist/erb.mjs +1 -1
- package/dist/erlang.mjs +1 -1
- package/dist/fennel.mjs +1 -1
- package/dist/fish.mjs +1 -1
- package/dist/fluent.mjs +1 -1
- package/dist/fortran-free-form.mjs +1 -1
- package/dist/fsharp.mjs +1 -1
- package/dist/gdresource.mjs +1 -1
- package/dist/gdscript.mjs +1 -1
- package/dist/gdshader.mjs +1 -1
- package/dist/genie.mjs +1 -1
- package/dist/gherkin.mjs +1 -1
- package/dist/gleam.mjs +1 -1
- package/dist/glimmer-js.mjs +1 -1
- package/dist/glimmer-ts.mjs +1 -1
- package/dist/gnuplot.mjs +1 -1
- package/dist/go.mjs +1 -1
- package/dist/graphql.mjs +1 -1
- package/dist/groovy.mjs +1 -1
- package/dist/hack.mjs +1 -1
- package/dist/haml.mjs +1 -1
- package/dist/handlebars.mjs +1 -1
- package/dist/haskell.mjs +1 -1
- package/dist/haxe.mjs +1 -1
- package/dist/hcl.mjs +1 -1
- package/dist/hjson.mjs +1 -1
- package/dist/html-derivative.mjs +1 -1
- package/dist/html.mjs +1 -1
- package/dist/http.mjs +1 -1
- package/dist/hy.mjs +1 -1
- package/dist/imba.mjs +1 -1
- package/dist/ini.mjs +1 -1
- package/dist/java.mjs +1 -1
- package/dist/javascript.mjs +1 -1
- package/dist/jinja.mjs +1 -1
- package/dist/jison.mjs +1 -1
- package/dist/json.mjs +1 -1
- package/dist/json5.mjs +1 -1
- package/dist/jsonc.mjs +1 -1
- package/dist/jsonl.mjs +1 -1
- package/dist/jsonnet.mjs +1 -1
- package/dist/jsx.mjs +1 -1
- package/dist/julia.mjs +1 -1
- package/dist/kotlin.mjs +1 -1
- package/dist/kusto.mjs +1 -1
- package/dist/latex.mjs +1 -1
- package/dist/lean.mjs +1 -1
- package/dist/less.mjs +1 -1
- package/dist/liquid.mjs +1 -1
- package/dist/llvm.mjs +1 -1
- package/dist/log.mjs +1 -1
- package/dist/logo.mjs +1 -1
- package/dist/lua.mjs +1 -1
- package/dist/luau.mjs +1 -1
- package/dist/make.mjs +1 -1
- package/dist/markdown.mjs +1 -1
- package/dist/marko.mjs +1 -1
- package/dist/matlab.mjs +1 -1
- package/dist/mdc.mjs +1 -1
- package/dist/mdx.mjs +1 -1
- package/dist/mermaid.mjs +1 -1
- package/dist/mojo.mjs +1 -1
- package/dist/move.mjs +1 -1
- package/dist/narrat.mjs +1 -1
- package/dist/nim.mjs +1 -1
- package/dist/nix.mjs +1 -1
- package/dist/nushell.mjs +1 -1
- package/dist/objective-c.mjs +1 -1
- package/dist/objective-cpp.mjs +1 -1
- package/dist/ocaml.mjs +1 -1
- package/dist/pascal.mjs +1 -1
- package/dist/perl.mjs +1 -1
- package/dist/php.mjs +1 -1
- package/dist/plsql.mjs +1 -1
- package/dist/polar.mjs +1 -1
- package/dist/postcss.mjs +1 -1
- package/dist/powerquery.mjs +1 -1
- package/dist/powershell.mjs +1 -1
- package/dist/prisma.mjs +1 -1
- package/dist/prolog.mjs +1 -1
- package/dist/proto.mjs +1 -1
- package/dist/pug.mjs +1 -1
- package/dist/puppet.mjs +1 -1
- package/dist/purescript.mjs +1 -1
- package/dist/python.mjs +1 -1
- package/dist/qss.mjs +1 -1
- package/dist/r.mjs +1 -1
- package/dist/racket.mjs +1 -1
- package/dist/raku.mjs +1 -1
- package/dist/rel.mjs +1 -1
- package/dist/rst.mjs +1 -1
- package/dist/ruby.mjs +1 -1
- package/dist/rust.mjs +1 -1
- package/dist/sas.mjs +1 -1
- package/dist/sass.mjs +1 -1
- package/dist/scala.mjs +1 -1
- package/dist/scheme.mjs +1 -1
- package/dist/scss.mjs +1 -1
- package/dist/shellscript.mjs +1 -1
- package/dist/solidity.mjs +1 -1
- package/dist/sparql.mjs +1 -1
- package/dist/sql.mjs +1 -1
- package/dist/stata.mjs +1 -1
- package/dist/stylus.mjs +1 -1
- package/dist/svelte.mjs +1 -1
- package/dist/swift.mjs +1 -1
- package/dist/system-verilog.mjs +1 -1
- package/dist/systemd.mjs +1 -1
- package/dist/talonscript.mjs +1 -1
- package/dist/tcl.mjs +1 -1
- package/dist/templ.mjs +1 -1
- package/dist/terraform.mjs +1 -1
- package/dist/tex.mjs +1 -1
- package/dist/toml.mjs +1 -1
- package/dist/tsx.mjs +1 -1
- package/dist/turtle.mjs +1 -1
- package/dist/twig.mjs +1 -1
- package/dist/typescript.mjs +1 -1
- package/dist/typespec.mjs +1 -1
- package/dist/typst.mjs +1 -1
- package/dist/v.mjs +1 -1
- package/dist/vala.mjs +1 -1
- package/dist/vb.mjs +1 -1
- package/dist/vhdl.mjs +1 -1
- package/dist/vue-html.mjs +1 -1
- package/dist/vue.mjs +1 -1
- package/dist/vyper.mjs +1 -1
- package/dist/wasm.mjs +1 -1
- package/dist/wgsl.mjs +1 -1
- package/dist/wikitext.mjs +1 -1
- package/dist/wit.mjs +1 -1
- package/dist/wolfram.mjs +1 -1
- package/dist/xml.mjs +1 -1
- package/dist/xsl.mjs +1 -1
- package/dist/yaml.mjs +1 -1
- package/dist/zenscript.mjs +1 -1
- package/dist/zig.mjs +1 -1
- package/package.json +3 -3
package/dist/beancount.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Beancount\",\"fileTypes\":[\"beancount\"],\"name\":\"beancount\",\"patterns\":[{\"match\":\";.*\",\"name\":\"comment.line.beancount\"},{\"begin\":\"^\\\\s*(p(?:optag|ushtag))\\\\s+(#)([A-Za-z0-9\\\\-_/.]+)\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.beancount\"},\"2\":{\"name\":\"keyword.operator.tag.beancount\"},\"3\":{\"name\":\"entity.name.tag.beancount\"}},\"end\":\"(?=(^(?:\\\\s*$|\\\\S)))\",\"name\":\"meta.directive.tag.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#illegal\"}]},{\"begin\":\"^\\\\s*(include)\\\\s+(\\\".*\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.beancount\"},\"2\":{\"name\":\"string.quoted.double.beancount\"}},\"end\":\"(?=(^(?:\\\\s*$|\\\\S)))\",\"name\":\"meta.directive.include.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#illegal\"}]},{\"begin\":\"^\\\\s*(option)\\\\s+(\\\".*\\\")\\\\s+(\\\".*\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.beancount\"},\"2\":{\"name\":\"support.variable.beancount\"},\"3\":{\"name\":\"string.quoted.double.beancount\"}},\"end\":\"(?=(^(?:\\\\s*$|\\\\S)))\",\"name\":\"meta.directive.option.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#illegal\"}]},{\"begin\":\"^\\\\s*(plugin)\\\\s*(\\\"(.*?)\\\")\\\\s*(\\\".*?\\\")?\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.beancount\"},\"2\":{\"name\":\"string.quoted.double.beancount\"},\"3\":{\"name\":\"entity.name.function.beancount\"},\"4\":{\"name\":\"string.quoted.double.beancount\"}},\"end\":\"(?=(^(?:\\\\s*$|\\\\S)))\",\"name\":\"keyword.operator.directive.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([\\\\-|/])([0-9]{2})([\\\\-|/])([0-9]{2})\\\\s+(open|close|pad)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.beancount\"}},\"end\":\"(?=(^(?:\\\\s*$|\\\\S)))\",\"name\":\"meta.directive.dated.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#meta\"},{\"include\":\"#account\"},{\"include\":\"#commodity\"},{\"match\":\",\",\"name\":\"punctuation.separator.beancount\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([\\\\-|/])([0-9]{2})([\\\\-|/])([0-9]{2})\\\\s+(custom)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.beancount\"}},\"end\":\"(?=(^(?:\\\\s*$|\\\\S)))\",\"name\":\"meta.directive.dated.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#meta\"},{\"include\":\"#string\"},{\"include\":\"#bool\"},{\"include\":\"#amount\"},{\"include\":\"#number\"},{\"include\":\"#date\"},{\"include\":\"#account\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([\\\\-|/])([0-9]{2})([\\\\-|/])([0-9]{2})\\\\s(event)\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.directive.beancount\"}},\"end\":\"(?=(^(?:\\\\s*$|\\\\S)))\",\"name\":\"meta.directive.dated.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#meta\"},{\"include\":\"#string\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([\\\\-|/])([0-9]{2})([\\\\-|/])([0-9]{2})\\\\s(commodity)\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.directive.beancount\"}},\"end\":\"(?=(^(?:\\\\s*$|\\\\S)))\",\"name\":\"meta.directive.dated.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#meta\"},{\"include\":\"#commodity\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([\\\\-|/])([0-9]{2})([\\\\-|/])([0-9]{2})\\\\s(note|document)\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.directive.beancount\"}},\"end\":\"(?=(^(?:\\\\s*$|\\\\S)))\",\"name\":\"meta.directive.dated.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#meta\"},{\"include\":\"#account\"},{\"include\":\"#string\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([\\\\-|/])([0-9]{2})([\\\\-|/])([0-9]{2})\\\\s(price)\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.directive.beancount\"}},\"end\":\"(?=(^(?:\\\\s*$|\\\\S)))\",\"name\":\"meta.directive.dated.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#meta\"},{\"include\":\"#commodity\"},{\"include\":\"#amount\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([\\\\-|/])([0-9]{2})([\\\\-|/])([0-9]{2})\\\\s(balance)\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.directive.beancount\"}},\"end\":\"(?=(^(?:\\\\s*$|\\\\S)))\",\"name\":\"meta.directive.dated.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#meta\"},{\"include\":\"#account\"},{\"include\":\"#amount\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([\\\\-|/])([0-9]{2})([\\\\-|/])([0-9]{2})\\\\s*(txn|[*!\\\\&#?%PSTCURM])\\\\s*(\\\".*?\\\")?\\\\s*(\\\".*?\\\")?\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.directive.beancount\"},\"7\":{\"name\":\"string.quoted.tiers.beancount\"},\"8\":{\"name\":\"string.quoted.narration.beancount\"}},\"end\":\"(?=(^(?:\\\\s*$|\\\\S)))\",\"name\":\"meta.directive.transaction.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#posting\"},{\"include\":\"#meta\"},{\"include\":\"#tag\"},{\"include\":\"#link\"},{\"include\":\"#illegal\"}]}],\"repository\":{\"account\":{\"begin\":\"([A-Z][a-z]+)(:)\",\"beginCaptures\":{\"1\":{\"name\":\"variable.language.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"}},\"end\":\"\\\\s\",\"name\":\"meta.account.beancount\",\"patterns\":[{\"begin\":\"(\\\\S+)(:?)\",\"beginCaptures\":{\"1\":{\"name\":\"variable.other.account.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"}},\"end\":\"(:?)|(\\\\s)\",\"patterns\":[{\"include\":\"$self\"},{\"include\":\"#illegal\"}]}]},\"amount\":{\"captures\":{\"1\":{\"name\":\"keyword.operator.modifier.beancount\"},\"2\":{\"name\":\"constant.numeric.currency.beancount\"},\"3\":{\"name\":\"entity.name.type.commodity.beancount\"}},\"match\":\"([\\\\-|+]?)(\\\\d+(?:,\\\\d{3})*(?:\\\\.\\\\d*)?)\\\\s*([A-Z][A-Z0-9'._\\\\-]{0,22}[A-Z0-9])\",\"name\":\"meta.amount.beancount\"},\"bool\":{\"captures\":{\"0\":{\"name\":\"constant.language.bool.beancount\"},\"2\":{\"name\":\"constant.numeric.currency.beancount\"},\"3\":{\"name\":\"entity.name.type.commodity.beancount\"}},\"match\":\"TRUE|FALSE\"},\"comments\":{\"captures\":{\"1\":{\"name\":\"comment.line.beancount\"}},\"match\":\"(;.*)$\"},\"commodity\":{\"match\":\"([A-Z][A-Z0-9'._\\\\-]{0,22}[A-Z0-9])\",\"name\":\"entity.name.type.commodity.beancount\"},\"cost\":{\"begin\":\"\\\\{\\\\{?\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.assignment.beancount\"}},\"end\":\"}}?\",\"endCaptures\":{\"0\":{\"name\":\"keyword.operator.assignment.beancount\"}},\"name\":\"meta.cost.beancount\",\"patterns\":[{\"include\":\"#amount\"},{\"include\":\"#date\"},{\"match\":\",\",\"name\":\"punctuation.separator.beancount\"},{\"include\":\"#illegal\"}]},\"date\":{\"captures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"}},\"match\":\"([0-9]{4})([\\\\-|/])([0-9]{2})([\\\\-|/])([0-9]{2})\",\"name\":\"meta.date.beancount\"},\"flag\":{\"match\":\"(?<=\\\\s)([*!\\\\&#?%PSTCURM])(?=\\\\s+)\",\"name\":\"keyword.other.beancount\"},\"illegal\":{\"match\":\"\\\\S\",\"name\":\"invalid.illegal.unrecognized.beancount\"},\"link\":{\"captures\":{\"1\":{\"name\":\"keyword.operator.link.beancount\"},\"2\":{\"name\":\"markup.underline.link.beancount\"}},\"match\":\"(\\\\^)([A-Za-z0-9\\\\-_/.]+)\"},\"meta\":{\"begin\":\"^\\\\s*([a-z][A-Za-z0-9\\\\-_]+)(:)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.directive.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"}},\"end\":\"\\\\n\",\"name\":\"meta.meta.beancount\",\"patterns\":[{\"include\":\"#string\"},{\"include\":\"#account\"},{\"include\":\"#bool\"},{\"include\":\"#commodity\"},{\"include\":\"#date\"},{\"include\":\"#tag\"},{\"include\":\"#amount\"},{\"include\":\"#number\"},{\"include\":\"#comments\"},{\"include\":\"#illegal\"}]},\"number\":{\"captures\":{\"1\":{\"name\":\"keyword.operator.modifier.beancount\"},\"2\":{\"name\":\"constant.numeric.currency.beancount\"}},\"match\":\"([\\\\-|+]?)(\\\\d+(?:,\\\\d{3})*(?:\\\\.\\\\d*)?)\"},\"posting\":{\"begin\":\"^\\\\s+(?=([A-Z!]))\",\"end\":\"(?=(^(?:\\\\s*$|\\\\S|\\\\s*[A-Z])))\",\"name\":\"meta.posting.beancount\",\"patterns\":[{\"include\":\"#meta\"},{\"include\":\"#comments\"},{\"include\":\"#flag\"},{\"include\":\"#account\"},{\"include\":\"#amount\"},{\"include\":\"#cost\"},{\"include\":\"#date\"},{\"include\":\"#price\"},{\"include\":\"#illegal\"}]},\"price\":{\"begin\":\"@@?\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.assignment.beancount\"}},\"end\":\"(?=([;\\\\n]))\",\"name\":\"meta.price.beancount\",\"patterns\":[{\"include\":\"#amount\"},{\"include\":\"#illegal\"}]},\"string\":{\"begin\":\"\\\"\",\"end\":\"\\\"\",\"name\":\"string.quoted.double.beancount\",\"patterns\":[{\"match\":\"\\\\\\\\.\",\"name\":\"constant.character.escape.beancount\"}]},\"tag\":{\"captures\":{\"1\":{\"name\":\"keyword.operator.tag.beancount\"},\"2\":{\"name\":\"entity.name.tag.beancount\"}},\"match\":\"(#)([A-Za-z0-9\\\\-_/.]+)\"}},\"scopeName\":\"text.beancount\"}"))
|
|
1
|
+
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Beancount\",\"fileTypes\":[\"beancount\"],\"name\":\"beancount\",\"patterns\":[{\"match\":\";.*\",\"name\":\"comment.line.beancount\"},{\"begin\":\"^\\\\s*(p(?:optag|ushtag))\\\\s+(#)([A-Za-z0-9\\\\-_/.]+)\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.beancount\"},\"2\":{\"name\":\"keyword.operator.tag.beancount\"},\"3\":{\"name\":\"entity.name.tag.beancount\"}},\"end\":\"(?=(^(?:\\\\s*$|\\\\S)))\",\"name\":\"meta.directive.tag.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#illegal\"}]},{\"begin\":\"^\\\\s*(include)\\\\s+(\\\".*\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.beancount\"},\"2\":{\"name\":\"string.quoted.double.beancount\"}},\"end\":\"(?=(^(?:\\\\s*$|\\\\S)))\",\"name\":\"meta.directive.include.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#illegal\"}]},{\"begin\":\"^\\\\s*(option)\\\\s+(\\\".*\\\")\\\\s+(\\\".*\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.beancount\"},\"2\":{\"name\":\"support.variable.beancount\"},\"3\":{\"name\":\"string.quoted.double.beancount\"}},\"end\":\"(?=(^(?:\\\\s*$|\\\\S)))\",\"name\":\"meta.directive.option.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#illegal\"}]},{\"begin\":\"^\\\\s*(plugin)\\\\s*(\\\"(.*?)\\\")\\\\s*(\\\".*?\\\")?\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.beancount\"},\"2\":{\"name\":\"string.quoted.double.beancount\"},\"3\":{\"name\":\"entity.name.function.beancount\"},\"4\":{\"name\":\"string.quoted.double.beancount\"}},\"end\":\"(?=(^(?:\\\\s*$|\\\\S)))\",\"name\":\"keyword.operator.directive.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([-|/])([0-9]{2})([-|/])([0-9]{2})\\\\s+(open|close|pad)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.beancount\"}},\"end\":\"(?=(^(?:\\\\s*$|\\\\S)))\",\"name\":\"meta.directive.dated.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#meta\"},{\"include\":\"#account\"},{\"include\":\"#commodity\"},{\"match\":\",\",\"name\":\"punctuation.separator.beancount\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([-|/])([0-9]{2})([-|/])([0-9]{2})\\\\s+(custom)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.beancount\"}},\"end\":\"(?=(^(?:\\\\s*$|\\\\S)))\",\"name\":\"meta.directive.dated.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#meta\"},{\"include\":\"#string\"},{\"include\":\"#bool\"},{\"include\":\"#amount\"},{\"include\":\"#number\"},{\"include\":\"#date\"},{\"include\":\"#account\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([-|/])([0-9]{2})([-|/])([0-9]{2})\\\\s(event)\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.directive.beancount\"}},\"end\":\"(?=(^(?:\\\\s*$|\\\\S)))\",\"name\":\"meta.directive.dated.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#meta\"},{\"include\":\"#string\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([-|/])([0-9]{2})([-|/])([0-9]{2})\\\\s(commodity)\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.directive.beancount\"}},\"end\":\"(?=(^(?:\\\\s*$|\\\\S)))\",\"name\":\"meta.directive.dated.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#meta\"},{\"include\":\"#commodity\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([-|/])([0-9]{2})([-|/])([0-9]{2})\\\\s(note|document)\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.directive.beancount\"}},\"end\":\"(?=(^(?:\\\\s*$|\\\\S)))\",\"name\":\"meta.directive.dated.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#meta\"},{\"include\":\"#account\"},{\"include\":\"#string\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([-|/])([0-9]{2})([-|/])([0-9]{2})\\\\s(price)\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.directive.beancount\"}},\"end\":\"(?=(^(?:\\\\s*$|\\\\S)))\",\"name\":\"meta.directive.dated.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#meta\"},{\"include\":\"#commodity\"},{\"include\":\"#amount\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([-|/])([0-9]{2})([-|/])([0-9]{2})\\\\s(balance)\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.directive.beancount\"}},\"end\":\"(?=(^(?:\\\\s*$|\\\\S)))\",\"name\":\"meta.directive.dated.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#meta\"},{\"include\":\"#account\"},{\"include\":\"#amount\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([-|/])([0-9]{2})([-|/])([0-9]{2})\\\\s*(txn|[*!\\\\&#?%PSTCURM])\\\\s*(\\\".*?\\\")?\\\\s*(\\\".*?\\\")?\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.directive.beancount\"},\"7\":{\"name\":\"string.quoted.tiers.beancount\"},\"8\":{\"name\":\"string.quoted.narration.beancount\"}},\"end\":\"(?=(^(?:\\\\s*$|\\\\S)))\",\"name\":\"meta.directive.transaction.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#posting\"},{\"include\":\"#meta\"},{\"include\":\"#tag\"},{\"include\":\"#link\"},{\"include\":\"#illegal\"}]}],\"repository\":{\"account\":{\"begin\":\"([A-Z][a-z]+)(:)\",\"beginCaptures\":{\"1\":{\"name\":\"variable.language.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"}},\"end\":\"\\\\s\",\"name\":\"meta.account.beancount\",\"patterns\":[{\"begin\":\"(\\\\S+)(:?)\",\"beginCaptures\":{\"1\":{\"name\":\"variable.other.account.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"}},\"end\":\"(:?)|(\\\\s)\",\"patterns\":[{\"include\":\"$self\"},{\"include\":\"#illegal\"}]}]},\"amount\":{\"captures\":{\"1\":{\"name\":\"keyword.operator.modifier.beancount\"},\"2\":{\"name\":\"constant.numeric.currency.beancount\"},\"3\":{\"name\":\"entity.name.type.commodity.beancount\"}},\"match\":\"([-|+]?)(\\\\d+(?:,\\\\d{3})*(?:\\\\.\\\\d*)?)\\\\s*([A-Z][A-Z0-9'._-]{0,22}[A-Z0-9])\",\"name\":\"meta.amount.beancount\"},\"bool\":{\"captures\":{\"0\":{\"name\":\"constant.language.bool.beancount\"},\"2\":{\"name\":\"constant.numeric.currency.beancount\"},\"3\":{\"name\":\"entity.name.type.commodity.beancount\"}},\"match\":\"TRUE|FALSE\"},\"comments\":{\"captures\":{\"1\":{\"name\":\"comment.line.beancount\"}},\"match\":\"(;.*)$\"},\"commodity\":{\"match\":\"([A-Z][A-Z0-9'._-]{0,22}[A-Z0-9])\",\"name\":\"entity.name.type.commodity.beancount\"},\"cost\":{\"begin\":\"\\\\{\\\\{?\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.assignment.beancount\"}},\"end\":\"}}?\",\"endCaptures\":{\"0\":{\"name\":\"keyword.operator.assignment.beancount\"}},\"name\":\"meta.cost.beancount\",\"patterns\":[{\"include\":\"#amount\"},{\"include\":\"#date\"},{\"match\":\",\",\"name\":\"punctuation.separator.beancount\"},{\"include\":\"#illegal\"}]},\"date\":{\"captures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"}},\"match\":\"([0-9]{4})([-|/])([0-9]{2})([-|/])([0-9]{2})\",\"name\":\"meta.date.beancount\"},\"flag\":{\"match\":\"(?<=\\\\s)([*!\\\\&#?%PSTCURM])(?=\\\\s+)\",\"name\":\"keyword.other.beancount\"},\"illegal\":{\"match\":\"\\\\S\",\"name\":\"invalid.illegal.unrecognized.beancount\"},\"link\":{\"captures\":{\"1\":{\"name\":\"keyword.operator.link.beancount\"},\"2\":{\"name\":\"markup.underline.link.beancount\"}},\"match\":\"(\\\\^)([A-Za-z0-9\\\\-_/.]+)\"},\"meta\":{\"begin\":\"^\\\\s*([a-z][A-Za-z0-9\\\\-_]+)(:)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.directive.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"}},\"end\":\"\\\\n\",\"name\":\"meta.meta.beancount\",\"patterns\":[{\"include\":\"#string\"},{\"include\":\"#account\"},{\"include\":\"#bool\"},{\"include\":\"#commodity\"},{\"include\":\"#date\"},{\"include\":\"#tag\"},{\"include\":\"#amount\"},{\"include\":\"#number\"},{\"include\":\"#comments\"},{\"include\":\"#illegal\"}]},\"number\":{\"captures\":{\"1\":{\"name\":\"keyword.operator.modifier.beancount\"},\"2\":{\"name\":\"constant.numeric.currency.beancount\"}},\"match\":\"([-|+]?)(\\\\d+(?:,\\\\d{3})*(?:\\\\.\\\\d*)?)\"},\"posting\":{\"begin\":\"^\\\\s+(?=([A-Z!]))\",\"end\":\"(?=(^(?:\\\\s*$|\\\\S|\\\\s*[A-Z])))\",\"name\":\"meta.posting.beancount\",\"patterns\":[{\"include\":\"#meta\"},{\"include\":\"#comments\"},{\"include\":\"#flag\"},{\"include\":\"#account\"},{\"include\":\"#amount\"},{\"include\":\"#cost\"},{\"include\":\"#date\"},{\"include\":\"#price\"},{\"include\":\"#illegal\"}]},\"price\":{\"begin\":\"@@?\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.assignment.beancount\"}},\"end\":\"(?=([;\\\\n]))\",\"name\":\"meta.price.beancount\",\"patterns\":[{\"include\":\"#amount\"},{\"include\":\"#illegal\"}]},\"string\":{\"begin\":\"\\\"\",\"end\":\"\\\"\",\"name\":\"string.quoted.double.beancount\",\"patterns\":[{\"match\":\"\\\\\\\\.\",\"name\":\"constant.character.escape.beancount\"}]},\"tag\":{\"captures\":{\"1\":{\"name\":\"keyword.operator.tag.beancount\"},\"2\":{\"name\":\"entity.name.tag.beancount\"}},\"match\":\"(#)([A-Za-z0-9\\\\-_/.]+)\"}},\"scopeName\":\"text.beancount\"}"))
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
4
|
lang
|
package/dist/berry.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Berry\",\"name\":\"berry\",\"patterns\":[{\"include\":\"#controls\"},{\"include\":\"#strings\"},{\"include\":\"#comment-block\"},{\"include\":\"#comments\"},{\"include\":\"#keywords\"},{\"include\":\"#function\"},{\"include\":\"#member\"},{\"include\":\"#identifier\"},{\"include\":\"#number\"},{\"include\":\"#operator\"}],\"repository\":{\"comment-block\":{\"begin\":\"#-\",\"end\":\"-#\",\"name\":\"comment.berry\",\"patterns\":[{}]},\"comments\":{\"begin\":\"#\",\"end\":\"\\\\n\",\"name\":\"comment.line.berry\",\"patterns\":[{}]},\"controls\":{\"patterns\":[{\"match\":\"\\\\b(if|elif|else|for|while|do|end|break|continue|return|try|except|raise)\\\\b\",\"name\":\"keyword.control.berry\"}]},\"function\":{\"patterns\":[{\"match\":\"\\\\b([a-zA-Z_][a-zA-Z0-9_]*(?=\\\\s*\\\\())\",\"name\":\"entity.name.function.berry\"}]},\"identifier\":{\"patterns\":[{\"match\":\"\\\\b[_A-Za-z]\\\\w+\\\\b\",\"name\":\"identifier.berry\"}]},\"keywords\":{\"patterns\":[{\"match\":\"\\\\b(var|static|def|class|true|false|nil|self|super|import|as|_class)\\\\b\",\"name\":\"keyword.berry\"}]},\"member\":{\"patterns\":[{\"captures\":{\"0\":{\"name\":\"entity.other.attribute-name.berry\"}},\"match\":\"\\\\.([a-zA-Z_][a-zA-Z0-9_]*)\"}]},\"number\":{\"patterns\":[{\"match\":\"0x\\\\h+|\\\\d+|(\\\\d+\\\\.?|\\\\.\\\\d)\\\\d*([eE][
|
|
1
|
+
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Berry\",\"name\":\"berry\",\"patterns\":[{\"include\":\"#controls\"},{\"include\":\"#strings\"},{\"include\":\"#comment-block\"},{\"include\":\"#comments\"},{\"include\":\"#keywords\"},{\"include\":\"#function\"},{\"include\":\"#member\"},{\"include\":\"#identifier\"},{\"include\":\"#number\"},{\"include\":\"#operator\"}],\"repository\":{\"comment-block\":{\"begin\":\"#-\",\"end\":\"-#\",\"name\":\"comment.berry\",\"patterns\":[{}]},\"comments\":{\"begin\":\"#\",\"end\":\"\\\\n\",\"name\":\"comment.line.berry\",\"patterns\":[{}]},\"controls\":{\"patterns\":[{\"match\":\"\\\\b(if|elif|else|for|while|do|end|break|continue|return|try|except|raise)\\\\b\",\"name\":\"keyword.control.berry\"}]},\"function\":{\"patterns\":[{\"match\":\"\\\\b([a-zA-Z_][a-zA-Z0-9_]*(?=\\\\s*\\\\())\",\"name\":\"entity.name.function.berry\"}]},\"identifier\":{\"patterns\":[{\"match\":\"\\\\b[_A-Za-z]\\\\w+\\\\b\",\"name\":\"identifier.berry\"}]},\"keywords\":{\"patterns\":[{\"match\":\"\\\\b(var|static|def|class|true|false|nil|self|super|import|as|_class)\\\\b\",\"name\":\"keyword.berry\"}]},\"member\":{\"patterns\":[{\"captures\":{\"0\":{\"name\":\"entity.other.attribute-name.berry\"}},\"match\":\"\\\\.([a-zA-Z_][a-zA-Z0-9_]*)\"}]},\"number\":{\"patterns\":[{\"match\":\"0x\\\\h+|\\\\d+|(\\\\d+\\\\.?|\\\\.\\\\d)\\\\d*([eE][+-]?\\\\d+)?\",\"name\":\"constant.numeric.berry\"}]},\"operator\":{\"patterns\":[{\"match\":\"[()\\\\[\\\\].\\\\-!~*/%+\\\\&^|<>=:]\",\"name\":\"keyword.operator.berry\"}]},\"strings\":{\"patterns\":[{\"begin\":\"([\\\"'])\",\"end\":\"\\\\1\",\"name\":\"string.quoted.double.berry\",\"patterns\":[{\"match\":\"(\\\\\\\\x\\\\h{2})|(\\\\\\\\[0-7]{3})|(\\\\\\\\\\\\\\\\)|(\\\\\\\\\\\")|(\\\\\\\\')|(\\\\\\\\a)|(\\\\\\\\b)|(\\\\\\\\f)|(\\\\\\\\n)|(\\\\\\\\r)|(\\\\\\\\t)|(\\\\\\\\v)\",\"name\":\"constant.character.escape.berry\"}]},{\"begin\":\"f([\\\"'])\",\"end\":\"\\\\1\",\"name\":\"string.quoted.other.berry\",\"patterns\":[{\"match\":\"(\\\\\\\\x\\\\h{2})|(\\\\\\\\[0-7]{3})|(\\\\\\\\\\\\\\\\)|(\\\\\\\\\\\")|(\\\\\\\\')|(\\\\\\\\a)|(\\\\\\\\b)|(\\\\\\\\f)|(\\\\\\\\n)|(\\\\\\\\r)|(\\\\\\\\t)|(\\\\\\\\v)\",\"name\":\"constant.character.escape.berry\"},{\"match\":\"\\\\{\\\\{[^}]*}}\",\"name\":\"string.quoted.other.berry\"},{\"begin\":\"\\\\{\",\"end\":\"}\",\"name\":\"keyword.other.unit.berry\",\"patterns\":[{\"include\":\"#keywords\"},{\"include\":\"#numbers\"},{\"include\":\"#identifier\"},{\"include\":\"#operator\"},{\"include\":\"#member\"},{\"include\":\"#function\"}]}]}]}},\"scopeName\":\"source.berry\",\"aliases\":[\"be\"]}"))
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
4
|
lang
|
package/dist/bibtex.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const lang = Object.freeze(JSON.parse("{\"displayName\":\"BibTeX\",\"name\":\"bibtex\",\"patterns\":[{\"captures\":{\"0\":{\"name\":\"punctuation.definition.comment.bibtex\"}},\"match\":\"@(?i:comment)(?=[\\\\s{(])\",\"name\":\"comment.block.at-sign.bibtex\"},{\"begin\":\"((@)
|
|
1
|
+
const lang = Object.freeze(JSON.parse("{\"displayName\":\"BibTeX\",\"name\":\"bibtex\",\"patterns\":[{\"captures\":{\"0\":{\"name\":\"punctuation.definition.comment.bibtex\"}},\"match\":\"@(?i:comment)(?=[\\\\s{(])\",\"name\":\"comment.block.at-sign.bibtex\"},{\"include\":\"#preamble\"},{\"include\":\"#string\"},{\"include\":\"#entry\"},{\"begin\":\"[^@\\\\n]\",\"end\":\"(?=@)\",\"name\":\"comment.block.bibtex\"}],\"repository\":{\"entry\":{\"patterns\":[{\"begin\":\"((@)[a-zA-Z!$\\\\&*+\\\\-./:;<>?@\\\\[\\\\\\\\\\\\]^_`|~][a-zA-Z0-9!$\\\\&*+\\\\-./:;<>?@\\\\[\\\\\\\\\\\\]^_`|~]*)\\\\s*(\\\\{)\\\\s*([^\\\\s,}]*)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.entry-type.bibtex\"},\"2\":{\"name\":\"punctuation.definition.keyword.bibtex\"},\"3\":{\"name\":\"punctuation.section.entry.begin.bibtex\"},\"4\":{\"name\":\"entity.name.type.entry-key.bibtex\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.entry.end.bibtex\"}},\"name\":\"meta.entry.braces.bibtex\",\"patterns\":[{\"begin\":\"([a-zA-Z!$\\\\&*+\\\\-./:;<>?@\\\\[\\\\\\\\\\\\]^_`|~][a-zA-Z0-9!$\\\\&*+\\\\-./:;<>?@\\\\[\\\\\\\\\\\\]^_`|~]*)\\\\s*(=)\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.key.bibtex\"},\"2\":{\"name\":\"punctuation.separator.key-value.bibtex\"}},\"end\":\"(?=[,}])\",\"name\":\"meta.key-assignment.bibtex\",\"patterns\":[{\"include\":\"#field_value\"}]}]},{\"begin\":\"((@)[a-zA-Z!$\\\\&*+\\\\-./:;<>?@\\\\[\\\\\\\\\\\\]^_`|~][a-zA-Z0-9!$\\\\&*+\\\\-./:;<>?@\\\\[\\\\\\\\\\\\]^_`|~]*)\\\\s*(\\\\()\\\\s*([^\\\\s,]*)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.entry-type.bibtex\"},\"2\":{\"name\":\"punctuation.definition.keyword.bibtex\"},\"3\":{\"name\":\"punctuation.section.entry.begin.bibtex\"},\"4\":{\"name\":\"entity.name.type.entry-key.bibtex\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.entry.end.bibtex\"}},\"name\":\"meta.entry.parenthesis.bibtex\",\"patterns\":[{\"begin\":\"([a-zA-Z!$\\\\&*+\\\\-./:;<>?@\\\\[\\\\\\\\\\\\]^_`|~][a-zA-Z0-9!$\\\\&*+\\\\-./:;<>?@\\\\[\\\\\\\\\\\\]^_`|~]*)\\\\s*(=)\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.key.bibtex\"},\"2\":{\"name\":\"punctuation.separator.key-value.bibtex\"}},\"end\":\"(?=[,)])\",\"name\":\"meta.key-assignment.bibtex\",\"patterns\":[{\"include\":\"#field_value\"}]}]}]},\"field_value\":{\"patterns\":[{\"include\":\"#string_content\"},{\"include\":\"#integer\"},{\"include\":\"#string_var\"},{\"match\":\"#\",\"name\":\"keyword.operator.bibtex\"}]},\"integer\":{\"captures\":{\"1\":{\"name\":\"constant.numeric.bibtex\"}},\"match\":\"\\\\s*(\\\\d+)\\\\s*\"},\"nested_braces\":{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.group.begin.bibtex\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.group.end.bibtex\"}},\"patterns\":[{\"include\":\"#nested_braces\"}]},\"preamble\":{\"patterns\":[{\"begin\":\"((@)(?i:preamble))\\\\s*(\\\\{)\\\\s*\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.preamble.bibtex\"},\"2\":{\"name\":\"punctuation.definition.keyword.bibtex\"},\"3\":{\"name\":\"punctuation.section.preamble.begin.bibtex\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.preamble.end.bibtex\"}},\"name\":\"meta.preamble.braces.bibtex\",\"patterns\":[{\"include\":\"#field_value\"}]},{\"begin\":\"((@)(?i:preamble))\\\\s*(\\\\()\\\\s*\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.preamble.bibtex\"},\"2\":{\"name\":\"punctuation.definition.keyword.bibtex\"},\"3\":{\"name\":\"punctuation.section.preamble.begin.bibtex\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.preamble.end.bibtex\"}},\"name\":\"meta.preamble.parenthesis.bibtex\",\"patterns\":[{\"include\":\"#field_value\"}]}]},\"string\":{\"patterns\":[{\"begin\":\"((@)(?i:string))\\\\s*(\\\\{)\\\\s*([a-zA-Z!$\\\\&*+\\\\-./:;<>?@\\\\[\\\\\\\\\\\\]^_`|~][a-zA-Z0-9!$\\\\&*+\\\\-./:;<>?@\\\\[\\\\\\\\\\\\]^_`|~]*)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.string-constant.bibtex\"},\"2\":{\"name\":\"punctuation.definition.keyword.bibtex\"},\"3\":{\"name\":\"punctuation.section.string-constant.begin.bibtex\"},\"4\":{\"name\":\"variable.other.bibtex\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.string-constant.end.bibtex\"}},\"name\":\"meta.string-constant.braces.bibtex\",\"patterns\":[{\"include\":\"#field_value\"}]},{\"begin\":\"((@)(?i:string))\\\\s*(\\\\()\\\\s*([a-zA-Z!$\\\\&*+\\\\-./:;<>?@\\\\[\\\\\\\\\\\\]^_`|~][a-zA-Z0-9!$\\\\&*+\\\\-./:;<>?@\\\\[\\\\\\\\\\\\]^_`|~]*)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.string-constant.bibtex\"},\"2\":{\"name\":\"punctuation.definition.keyword.bibtex\"},\"3\":{\"name\":\"punctuation.section.string-constant.begin.bibtex\"},\"4\":{\"name\":\"variable.other.bibtex\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.string-constant.end.bibtex\"}},\"name\":\"meta.string-constant.parenthesis.bibtex\",\"patterns\":[{\"include\":\"#field_value\"}]}]},\"string_content\":{\"patterns\":[{\"begin\":\"\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.bibtex\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.bibtex\"}},\"patterns\":[{\"include\":\"#nested_braces\"}]},{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.bibtex\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.bibtex\"}},\"patterns\":[{\"include\":\"#nested_braces\"}]}]},\"string_var\":{\"captures\":{\"0\":{\"name\":\"support.variable.bibtex\"}},\"match\":\"[a-zA-Z!$\\\\&*+\\\\-./:;<>?@\\\\[\\\\\\\\\\\\]^_`|~][a-zA-Z0-9!$\\\\&*+\\\\-./:;<>?@\\\\[\\\\\\\\\\\\]^_`|~]*\"}},\"scopeName\":\"text.bibtex\"}"))
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
4
|
lang
|
package/dist/bicep.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Bicep\",\"fileTypes\":[\".bicep\"],\"name\":\"bicep\",\"patterns\":[{\"include\":\"#expression\"},{\"include\":\"#comments\"}],\"repository\":{\"array-literal\":{\"begin\":\"\\\\[(?!(?:[ \\\\t\\\\r\\\\n]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*\\\\bfor\\\\b)\",\"end\":\"]\",\"name\":\"meta.array-literal.bicep\",\"patterns\":[{\"include\":\"#expression\"},{\"include\":\"#comments\"}]},\"block-comment\":{\"begin\":\"/\\\\*\",\"end\":\"\\\\*/\",\"name\":\"comment.block.bicep\"},\"comments\":{\"patterns\":[{\"include\":\"#line-comment\"},{\"include\":\"#block-comment\"}]},\"decorator\":{\"begin\":\"@(?:[ \\\\t\\\\r\\\\n]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*(?=\\\\b[_$[:alpha:]][_$[:alnum:]]*\\\\b)\",\"end\":\"\",\"name\":\"meta.decorator.bicep\",\"patterns\":[{\"include\":\"#expression\"},{\"include\":\"#comments\"}]},\"directive\":{\"begin\":\"#\\\\b[_a-zA-Z\\\\-0-9]+\\\\b\",\"end\":\"$\",\"name\":\"meta.directive.bicep\",\"patterns\":[{\"include\":\"#directive-variable\"},{\"include\":\"#comments\"}]},\"directive-variable\":{\"match\":\"\\\\b[_a-zA-Z\\\\-0-9]+\\\\b\",\"name\":\"keyword.control.declaration.bicep\"},\"escape-character\":{\"match\":\"\\\\\\\\(u\\\\{\\\\h+}|[nrt\\\\\\\\']|\\\\$\\\\{)\",\"name\":\"constant.character.escape.bicep\"},\"expression\":{\"patterns\":[{\"include\":\"#string-literal\"},{\"include\":\"#string-verbatim\"},{\"include\":\"#numeric-literal\"},{\"include\":\"#named-literal\"},{\"include\":\"#object-literal\"},{\"include\":\"#array-literal\"},{\"include\":\"#keyword\"},{\"include\":\"#identifier\"},{\"include\":\"#function-call\"},{\"include\":\"#decorator\"},{\"include\":\"#lambda-start\"},{\"include\":\"#directive\"}]},\"function-call\":{\"begin\":\"(\\\\b[_$[:alpha:]][_$[:alnum:]]*\\\\b)(?:[ \\\\t\\\\r\\\\n]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*\\\\(\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.function.bicep\"}},\"end\":\"\\\\)\",\"name\":\"meta.function-call.bicep\",\"patterns\":[{\"include\":\"#expression\"},{\"include\":\"#comments\"}]},\"identifier\":{\"match\":\"\\\\b[_$[:alpha:]][_$[:alnum:]]*\\\\b(?!(?:[ \\\\t\\\\r\\\\n]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*\\\\()\",\"name\":\"variable.other.readwrite.bicep\"},\"keyword\":{\"match\":\"\\\\b(metadata|targetScope|resource|module|param|var|output|for|in|if|existing|import|as|type|with|using|extends|func|assert|extension)\\\\b\",\"name\":\"keyword.control.declaration.bicep\"},\"lambda-start\":{\"begin\":\"(\\\\((?:[ \\\\t\\\\r\\\\n]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*\\\\b[_$[:alpha:]][_$[:alnum:]]*\\\\b(?:[ \\\\t\\\\r\\\\n]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*(,(?:[ \\\\t\\\\r\\\\n]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*\\\\b[_$[:alpha:]][_$[:alnum:]]*\\\\b(?:[ \\\\t\\\\r\\\\n]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*)*\\\\)|\\\\((?:[ \\\\t\\\\r\\\\n]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*\\\\)|(?:[ \\\\t\\\\r\\\\n]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*\\\\b[_$[:alpha:]][_$[:alnum:]]*\\\\b(?:[ \\\\t\\\\r\\\\n]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*)(?=(?:[ \\\\t\\\\r\\\\n]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*=>)\",\"beginCaptures\":{\"1\":{\"name\":\"meta.undefined.bicep\",\"patterns\":[{\"include\":\"#identifier\"},{\"include\":\"#comments\"}]}},\"end\":\"(?:[ \\\\t\\\\r\\\\n]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*=>\",\"name\":\"meta.lambda-start.bicep\"},\"line-comment\":{\"match\":\"//.*(?=$)\",\"name\":\"comment.line.double-slash.bicep\"},\"named-literal\":{\"match\":\"\\\\b(true|false|null)\\\\b\",\"name\":\"constant.language.bicep\"},\"numeric-literal\":{\"match\":\"[0-9]+\",\"name\":\"constant.numeric.bicep\"},\"object-literal\":{\"begin\":\"\\\\{\",\"end\":\"}\",\"name\":\"meta.object-literal.bicep\",\"patterns\":[{\"include\":\"#object-property-key\"},{\"include\":\"#expression\"},{\"include\":\"#comments\"}]},\"object-property-key\":{\"match\":\"\\\\b[_$[:alpha:]][_$[:alnum:]]*\\\\b(?=(?:[ \\\\t\\\\r\\\\n]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*:)\",\"name\":\"variable.other.property.bicep\"},\"string-literal\":{\"begin\":\"'(?!'')\",\"end\":\"'\",\"name\":\"string.quoted.single.bicep\",\"patterns\":[{\"include\":\"#escape-character\"},{\"include\":\"#string-literal-subst\"}]},\"string-literal-subst\":{\"begin\":\"(?<!\\\\\\\\)(\\\\$\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.template-expression.begin.bicep\"}},\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.template-expression.end.bicep\"}},\"name\":\"meta.string-literal-subst.bicep\",\"patterns\":[{\"include\":\"#expression\"},{\"include\":\"#comments\"}]},\"string-verbatim\":{\"begin\":\"'''\",\"end\":\"'''(?!')\",\"name\":\"string.quoted.multi.bicep\",\"patterns\":[]}},\"scopeName\":\"source.bicep\"}"))
|
|
1
|
+
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Bicep\",\"fileTypes\":[\".bicep\",\".bicepparam\"],\"name\":\"bicep\",\"patterns\":[{\"include\":\"#expression\"},{\"include\":\"#comments\"}],\"repository\":{\"array-literal\":{\"begin\":\"\\\\[(?!(?:[ \\\\t\\\\r\\\\n]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*\\\\bfor\\\\b)\",\"end\":\"]\",\"name\":\"meta.array-literal.bicep\",\"patterns\":[{\"include\":\"#expression\"},{\"include\":\"#comments\"}]},\"block-comment\":{\"begin\":\"/\\\\*\",\"end\":\"\\\\*/\",\"name\":\"comment.block.bicep\"},\"comments\":{\"patterns\":[{\"include\":\"#line-comment\"},{\"include\":\"#block-comment\"}]},\"decorator\":{\"begin\":\"@(?:[ \\\\t\\\\r\\\\n]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*(?=\\\\b[_$[:alpha:]][_$[:alnum:]]*\\\\b)\",\"end\":\"\",\"name\":\"meta.decorator.bicep\",\"patterns\":[{\"include\":\"#expression\"},{\"include\":\"#comments\"}]},\"directive\":{\"begin\":\"#\\\\b[_a-zA-Z\\\\-0-9]+\\\\b\",\"end\":\"$\",\"name\":\"meta.directive.bicep\",\"patterns\":[{\"include\":\"#directive-variable\"},{\"include\":\"#comments\"}]},\"directive-variable\":{\"match\":\"\\\\b[_a-zA-Z\\\\-0-9]+\\\\b\",\"name\":\"keyword.control.declaration.bicep\"},\"escape-character\":{\"match\":\"\\\\\\\\(u\\\\{\\\\h+}|[nrt\\\\\\\\']|\\\\$\\\\{)\",\"name\":\"constant.character.escape.bicep\"},\"expression\":{\"patterns\":[{\"include\":\"#string-literal\"},{\"include\":\"#string-verbatim\"},{\"include\":\"#numeric-literal\"},{\"include\":\"#named-literal\"},{\"include\":\"#object-literal\"},{\"include\":\"#array-literal\"},{\"include\":\"#keyword\"},{\"include\":\"#identifier\"},{\"include\":\"#function-call\"},{\"include\":\"#decorator\"},{\"include\":\"#lambda-start\"},{\"include\":\"#directive\"}]},\"function-call\":{\"begin\":\"(\\\\b[_$[:alpha:]][_$[:alnum:]]*\\\\b)(?:[ \\\\t\\\\r\\\\n]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*\\\\(\",\"beginCaptures\":{\"1\":{\"name\":\"entity.name.function.bicep\"}},\"end\":\"\\\\)\",\"name\":\"meta.function-call.bicep\",\"patterns\":[{\"include\":\"#expression\"},{\"include\":\"#comments\"}]},\"identifier\":{\"match\":\"\\\\b[_$[:alpha:]][_$[:alnum:]]*\\\\b(?!(?:[ \\\\t\\\\r\\\\n]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*\\\\()\",\"name\":\"variable.other.readwrite.bicep\"},\"keyword\":{\"match\":\"\\\\b(metadata|targetScope|resource|module|param|var|output|for|in|if|existing|import|as|type|with|using|extends|func|assert|extension)\\\\b\",\"name\":\"keyword.control.declaration.bicep\"},\"lambda-start\":{\"begin\":\"(\\\\((?:[ \\\\t\\\\r\\\\n]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*\\\\b[_$[:alpha:]][_$[:alnum:]]*\\\\b(?:[ \\\\t\\\\r\\\\n]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*(,(?:[ \\\\t\\\\r\\\\n]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*\\\\b[_$[:alpha:]][_$[:alnum:]]*\\\\b(?:[ \\\\t\\\\r\\\\n]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*)*\\\\)|\\\\((?:[ \\\\t\\\\r\\\\n]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*\\\\)|(?:[ \\\\t\\\\r\\\\n]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*\\\\b[_$[:alpha:]][_$[:alnum:]]*\\\\b(?:[ \\\\t\\\\r\\\\n]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*)(?=(?:[ \\\\t\\\\r\\\\n]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*=>)\",\"beginCaptures\":{\"1\":{\"name\":\"meta.undefined.bicep\",\"patterns\":[{\"include\":\"#identifier\"},{\"include\":\"#comments\"}]}},\"end\":\"(?:[ \\\\t\\\\r\\\\n]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*=>\",\"name\":\"meta.lambda-start.bicep\"},\"line-comment\":{\"match\":\"//.*(?=$)\",\"name\":\"comment.line.double-slash.bicep\"},\"named-literal\":{\"match\":\"\\\\b(true|false|null)\\\\b\",\"name\":\"constant.language.bicep\"},\"numeric-literal\":{\"match\":\"[0-9]+\",\"name\":\"constant.numeric.bicep\"},\"object-literal\":{\"begin\":\"\\\\{\",\"end\":\"}\",\"name\":\"meta.object-literal.bicep\",\"patterns\":[{\"include\":\"#object-property-key\"},{\"include\":\"#expression\"},{\"include\":\"#comments\"}]},\"object-property-key\":{\"match\":\"\\\\b[_$[:alpha:]][_$[:alnum:]]*\\\\b(?=(?:[ \\\\t\\\\r\\\\n]|/\\\\*(?:\\\\*(?!/)|[^*])*\\\\*/)*:)\",\"name\":\"variable.other.property.bicep\"},\"string-literal\":{\"begin\":\"'(?!'')\",\"end\":\"'\",\"name\":\"string.quoted.single.bicep\",\"patterns\":[{\"include\":\"#escape-character\"},{\"include\":\"#string-literal-subst\"}]},\"string-literal-subst\":{\"begin\":\"(?<!\\\\\\\\)(\\\\$\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.template-expression.begin.bicep\"}},\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.template-expression.end.bicep\"}},\"name\":\"meta.string-literal-subst.bicep\",\"patterns\":[{\"include\":\"#expression\"},{\"include\":\"#comments\"}]},\"string-verbatim\":{\"begin\":\"'''\",\"end\":\"'''(?!')\",\"name\":\"string.quoted.multi.bicep\",\"patterns\":[]}},\"scopeName\":\"source.bicep\"}"))
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
4
|
lang
|