vite-plugin-norg 1.1.3 → 1.1.5

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 (34) hide show
  1. package/README.md +15 -42
  2. package/dist/{andromeeda-uXNdzNpk.js → andromeeda-BIpZ7gaU.js} +1 -1
  3. package/dist/catppuccin-frappe-5udUqgsX.js +4 -0
  4. package/dist/catppuccin-latte-ufkS-HWv.js +4 -0
  5. package/dist/catppuccin-macchiato-DzL2LPek.js +4 -0
  6. package/dist/catppuccin-mocha-DDDDwkUT.js +4 -0
  7. package/dist/cobol-R4Vn9a46.js +10 -0
  8. package/dist/{erlang-xM7DPKQj.js → erlang-DNcDT8Hi.js} +1 -1
  9. package/dist/{fsharp-BTdsmEUN.js → fsharp-Pr2u3cIG.js} +1 -1
  10. package/dist/{gdresource-DLfsylRW.js → gdresource-BwtMIoBm.js} +1 -1
  11. package/dist/{gdscript-9lm8qppb.js → gdscript-BifyeYhI.js} +1 -1
  12. package/dist/luau-DtBSxLyz.js +6 -0
  13. package/dist/markdown-CrScaQ96.js +6 -0
  14. package/dist/{marko-L-KhXzqZ.js → marko-DDi9qpQP.js} +1 -1
  15. package/dist/{mdc-DPBWa7dN.js → mdc-FI2x3BiY.js} +1 -1
  16. package/dist/move-DSb5dTSj.js +6 -0
  17. package/dist/{nextflow-D1Zd9cNl.js → nextflow-BAAEJxI_.js} +1 -1
  18. package/dist/{nim-Fi8wNe6i.js → nim-BhS8gg0S.js} +1 -1
  19. package/dist/nushell-CQi4NV-2.js +6 -0
  20. package/dist/plugin/index.js +1618 -1514
  21. package/dist/swift-9UzSvamq.js +6 -0
  22. package/dist/vite_plugin_norg_parser-RX0Xxbfo.js +171 -0
  23. package/package.json +25 -13
  24. package/dist/catppuccin-frappe-DlGpEc12.js +0 -4
  25. package/dist/catppuccin-latte-DDI4I_Rd.js +0 -4
  26. package/dist/catppuccin-macchiato-BBzuZG5U.js +0 -4
  27. package/dist/catppuccin-mocha-CwrFPXRy.js +0 -4
  28. package/dist/cobol-4A8XjHhj.js +0 -10
  29. package/dist/luau-BeoZWRh5.js +0 -6
  30. package/dist/markdown-CiI2E98D.js +0 -6
  31. package/dist/move-653S600C.js +0 -6
  32. package/dist/nushell-Be2rueDv.js +0 -6
  33. package/dist/swift-_uF_96_m.js +0 -6
  34. package/dist/vite_plugin_norg_parser-CqRsPH3x.js +0 -170
@@ -4,7 +4,7 @@ import t from "./xml-C2J0sS9M.js";
4
4
  import a from "./javascript-Dp1Jmi5H.js";
5
5
  import i from "./css-CECN5uSL.js";
6
6
  import m from "./glsl-CkUcVZNK.js";
7
- import r from "./markdown-CiI2E98D.js";
7
+ import r from "./markdown-CrScaQ96.js";
8
8
  const o = Object.freeze(JSON.parse(`{"displayName":"Nim","fileTypes":["nim"],"name":"nim","patterns":[{"begin":"[\\\\t ]*##\\\\[","contentName":"comment.block.doc-comment.content.nim","end":"]##","name":"comment.block.doc-comment.nim","patterns":[{"include":"#multilinedoccomment","name":"comment.block.doc-comment.nested.nim"}]},{"begin":"[\\\\t ]*#\\\\[","contentName":"comment.block.content.nim","end":"]#","name":"comment.block.nim","patterns":[{"include":"#multilinecomment","name":"comment.block.nested.nim"}]},{"begin":"(^[\\\\t ]+)?(?=##)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.nim"}},"end":"(?!\\\\G)","patterns":[{"begin":"##","beginCaptures":{"0":{"name":"punctuation.definition.comment.nim"}},"end":"\\\\n","name":"comment.line.number-sign.doc-comment.nim"}]},{"begin":"(^[\\\\t ]+)?(?=#[^\\\\[])","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.nim"}},"end":"(?!\\\\G)","patterns":[{"begin":"#","beginCaptures":{"0":{"name":"punctuation.definition.comment.nim"}},"end":"\\\\n","name":"comment.line.number-sign.nim"}]},{"name":"meta.proc.nim","patterns":[{"begin":"\\\\b(proc|method|template|macro|iterator|converter|func)\\\\s+\`?([^(*:\`{\\\\s]*)\`?(\\\\s*\\\\*)?\\\\s*(?=[\\\\n(:=\\\\[{])","captures":{"1":{"name":"keyword.other"},"2":{"name":"entity.name.function.nim"},"3":{"name":"keyword.control.export"}},"end":"\\\\)","patterns":[{"include":"source.nim"}]}]},{"begin":"discard \\"\\"\\"","end":"\\"\\"\\"(?!\\")","name":"comment.line.discarded.nim"},{"include":"#float_literal"},{"include":"#integer_literal"},{"match":"(?<=\`)[^ \`]+(?=\`)","name":"entity.name.function.nim"},{"captures":{"1":{"name":"keyword.control.export"}},"match":"\\\\b\\\\s*(\\\\*)(?:\\\\s*(?=[,:])|\\\\s+(?==))"},{"captures":{"1":{"name":"support.type.nim"},"2":{"name":"keyword.control.export"}},"match":"\\\\b([A-Z]\\\\w+)(\\\\*)"},{"include":"#string_literal"},{"match":"\\\\b(true|false|Inf|NegInf|NaN|nil)\\\\b","name":"constant.language.nim"},{"match":"\\\\b(block|break|case|continue|do|elif|else|end|except|finally|for|if|raise|return|try|when|while|yield)\\\\b","name":"keyword.control.nim"},{"match":"\\\\b((and|in|is|isnot|not|notin|or|xor))\\\\b","name":"keyword.boolean.nim"},{"match":"([-!$%\\\\&*+./:<-@\\\\\\\\^~])+","name":"keyword.operator.nim"},{"match":"\\\\b((addr|asm??|atomic|bind|cast|const|converter|concept|defer|discard|distinct|div|enum|export|from|import|include|let|mod|mixin|object|of|ptr|ref|shl|shr|static|type|using|var|tuple|iterator|macro|func|method|proc|template))\\\\b","name":"keyword.other.nim"},{"match":"\\\\b((generic|interface|lambda|out|shared))\\\\b","name":"invalid.illegal.invalid-keyword.nim"},{"match":"\\\\b(new|await|assert|echo|defined|declared|newException|countup|countdown|high|low)\\\\b","name":"keyword.other.common.function.nim"},{"match":"\\\\b(((u?int)(8|16|32|64)?)|float(32|64)?|bool|string|auto|cstring|char|byte|tobject|typedesc|stmt|expr|any|untyped|typed)\\\\b","name":"storage.type.concrete.nim"},{"match":"\\\\b(range|array|seq|set|pointer)\\\\b","name":"storage.type.generic.nim"},{"match":"\\\\b(openarray|varargs|void)\\\\b","name":"storage.type.generic.nim"},{"match":"\\\\b[A-Z][0-9A-Z_]+\\\\b","name":"support.constant.nim"},{"match":"\\\\b[A-Z]\\\\w+\\\\b","name":"support.type.nim"},{"match":"\\\\b\\\\w+\\\\b(?=(\\\\[([,0-9A-Z_a-z\\\\s])+])?\\\\()","name":"support.function.any-method.nim"},{"match":"(?!(openarray|varargs|void|range|array|seq|set|pointer|new|await|assert|echo|defined|declared|newException|countup|countdown|high|low|((u?int)(8|16|32|64)?)|float(32|64)?|bool|string|auto|cstring|char|byte|tobject|typedesc|stmt|expr|any|untyped|typed|addr|asm??|atomic|bind|cast|const|converter|concept|defer|discard|distinct|div|enum|export|from|import|include|let|mod|mixin|object|of|ptr|ref|shl|shr|static|type|using|var|tuple|iterator|macro|func|method|proc|template|and|in|is|isnot|not|notin|or|xor|proc|method|template|macro|iterator|converter|func|true|false|Inf|NegInf|NaN|nil|block|break|case|continue|do|elif|else|end|except|finally|for|if|raise|return|try|when|while|yield)\\\\b)\\\\w+\\\\s+(?!(and|in|is|isnot|not|notin|or|xor|[^\\"'-+0-9A-Z_-z]+)\\\\b)(?=[\\"'-+0-9A-Z_-z])","name":"support.function.any-method.nim"},{"begin":"(^\\\\s*)?(?=\\\\{\\\\.emit: ?\\"\\"\\")","beginCaptures":{"0":{"name":"punctuation.whitespace.embedded.leading.nim"}},"end":"(?!\\\\G)(\\\\s*$\\\\n?)?","endCaptures":{"0":{"name":"punctuation.whitespace.embedded.trailing.nim"}},"patterns":[{"begin":"\\\\{\\\\.(emit:) ?(\\"\\"\\")","captures":{"1":{"name":"keyword.other.nim"},"2":{"name":"punctuation.section.embedded.begin.nim"}},"contentName":"source.c","end":"(\\")\\"\\"(?!\\")(\\\\.?})?","endCaptures":{"0":{"name":"punctuation.section.embedded.end.nim"},"1":{"name":"source.c"}},"name":"meta.embedded.block.c","patterns":[{"begin":"\`","end":"\`","name":"keyword.operator.nim"},{"include":"source.c"}]}]},{"begin":"\\\\{\\\\.","beginCaptures":{"0":{"name":"punctuation.pragma.start.nim"}},"end":"\\\\.?}","endCaptures":{"0":{"name":"punctuation.pragma.end.nim"}},"patterns":[{"begin":"\\\\b(\\\\p{alpha}\\\\w*)(?:\\\\s|\\\\s*:)","beginCaptures":{"1":{"name":"meta.preprocessor.pragma.nim"}},"end":"(?=\\\\.?}|,)","patterns":[{"include":"source.nim"}]},{"begin":"\\\\b(\\\\p{alpha}\\\\w*)\\\\(","beginCaptures":{"1":{"name":"meta.preprocessor.pragma.nim"}},"end":"\\\\)","patterns":[{"include":"source.nim"}]},{"captures":{"1":{"name":"meta.preprocessor.pragma.nim"}},"match":"\\\\b(\\\\p{alpha}\\\\w*)(?=\\\\.?}|,)"},{"begin":"\\\\b(\\\\p{alpha}\\\\w*)(\\"\\"\\")","beginCaptures":{"1":{"name":"meta.preprocessor.pragma.nim"},"2":{"name":"punctuation.definition.string.begin.nim"}},"end":"\\"\\"\\"(?!\\")","endCaptures":{"0":{"name":"punctuation.definition.string.end.nim"}},"name":"string.quoted.triple.raw.nim"},{"begin":"\\\\b(\\\\p{alpha}\\\\w*)(\\")","beginCaptures":{"1":{"name":"meta.preprocessor.pragma.nim"},"2":{"name":"punctuation.definition.string.begin.nim"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.nim"}},"name":"string.quoted.double.raw.nim"},{"begin":"\\\\b(hint\\\\[\\\\w+]):","beginCaptures":{"1":{"name":"meta.preprocessor.pragma.nim"}},"end":"(?=\\\\.?}|,)","patterns":[{"include":"source.nim"}]},{"match":",","name":"punctuation.separator.comma.nim"}]},{"begin":"(^\\\\s*)?(?=asm \\"\\"\\")","beginCaptures":{"0":{"name":"punctuation.whitespace.embedded.leading.nim"}},"end":"(?!\\\\G)(\\\\s*$\\\\n?)?","endCaptures":{"0":{"name":"punctuation.whitespace.embedded.trailing.nim"}},"patterns":[{"begin":"(asm) (\\"\\"\\")","captures":{"1":{"name":"keyword.other.nim"},"2":{"name":"punctuation.section.embedded.begin.nim"}},"contentName":"source.asm","end":"(\\")\\"\\"(?!\\")","endCaptures":{"0":{"name":"punctuation.section.embedded.end.nim"},"1":{"name":"source.asm"}},"name":"meta.embedded.block.asm","patterns":[{"begin":"\`","end":"\`","name":"keyword.operator.nim"},{"include":"source.asm"}]}]},{"captures":{"1":{"name":"storage.type.function.nim"},"2":{"name":"keyword.operator.nim"}},"match":"(tmpl(i)?)(?=( (html|xml|js|css|glsl|md))?\\"\\"\\")"},{"begin":"(^\\\\s*)?(?=html\\"\\"\\")","beginCaptures":{"0":{"name":"punctuation.whitespace.embedded.leading.nim"}},"end":"(?!\\\\G)(\\\\s*$\\\\n?)?","endCaptures":{"0":{"name":"punctuation.whitespace.embedded.trailing.nim"}},"patterns":[{"begin":"(html)(\\"\\"\\")","captures":{"1":{"name":"keyword.other.nim"},"2":{"name":"punctuation.section.embedded.begin.nim"}},"contentName":"text.html","end":"(\\")\\"\\"(?!\\")","endCaptures":{"0":{"name":"punctuation.section.embedded.end.nim"},"1":{"name":"text.html"}},"name":"meta.embedded.block.html","patterns":[{"begin":"(?<!\\\\$)(\\\\$)\\\\(","captures":{"1":{"name":"keyword.operator.nim"}},"end":"\\\\)","patterns":[{"include":"source.nim"}]},{"begin":"(?<!\\\\$)(\\\\$)\\\\{","captures":{"1":{"name":"keyword.operator.nim"},"2":{"name":"keyword.operator.nim"}},"end":"}","patterns":[{"include":"source.nim"}]},{"begin":"(?<!\\\\$)(\\\\$)(for|while|case|of|when|if|else|elif)( )","captures":{"1":{"name":"keyword.operator.nim"},"2":{"name":"keyword.operator.nim"}},"end":"([\\\\n{])","endCaptures":{"1":{"name":"plain"}},"patterns":[{"include":"source.nim"}]},{"match":"(?<!\\\\$)(\\\\$\\\\w+)","name":"keyword.operator.nim"},{"include":"text.html.basic"}]}]},{"begin":"(^\\\\s*)?(?=xml\\"\\"\\")","beginCaptures":{"0":{"name":"punctuation.whitespace.embedded.leading.nim"}},"end":"(?!\\\\G)(\\\\s*$\\\\n?)?","endCaptures":{"0":{"name":"punctuation.whitespace.embedded.trailing.nim"}},"patterns":[{"begin":"(xml)(\\"\\"\\")","captures":{"1":{"name":"keyword.other.nim"},"2":{"name":"punctuation.section.embedded.begin.nim"}},"contentName":"text.xml","end":"(\\")\\"\\"(?!\\")","endCaptures":{"0":{"name":"punctuation.section.embedded.end.nim"},"1":{"name":"text.xml"}},"name":"meta.embedded.block.xml","patterns":[{"begin":"(?<!\\\\$)(\\\\$)\\\\(","captures":{"1":{"name":"keyword.operator.nim"}},"end":"\\\\)","patterns":[{"include":"source.nim"}]},{"begin":"(?<!\\\\$)(\\\\$)\\\\{","captures":{"1":{"name":"keyword.operator.nim"},"2":{"name":"keyword.operator.nim"}},"end":"}","patterns":[{"include":"source.nim"}]},{"begin":"(?<!\\\\$)(\\\\$)(for|while|case|of|when|if|else|elif)( )","captures":{"1":{"name":"keyword.operator.nim"},"2":{"name":"keyword.operator.nim"}},"end":"([\\\\n{])","endCaptures":{"1":{"name":"plain"}},"patterns":[{"include":"source.nim"}]},{"match":"(?<!\\\\$)(\\\\$\\\\w+)","name":"keyword.operator.nim"},{"include":"text.xml"}]}]},{"begin":"(^\\\\s*)?(?=js\\"\\"\\")","beginCaptures":{"0":{"name":"punctuation.whitespace.embedded.leading.nim"}},"end":"(?!\\\\G)(\\\\s*$\\\\n?)?","endCaptures":{"0":{"name":"punctuation.whitespace.embedded.trailing.nim"}},"patterns":[{"begin":"(js)(\\"\\"\\")","captures":{"1":{"name":"keyword.other.nim"},"2":{"name":"punctuation.section.embedded.begin.nim"}},"contentName":"source.js","end":"(\\")\\"\\"(?!\\")","endCaptures":{"0":{"name":"punctuation.section.embedded.end.nim"},"1":{"name":"source.js"}},"name":"meta.embedded.block.js","patterns":[{"begin":"(?<!\\\\$)(\\\\$)\\\\(","captures":{"1":{"name":"keyword.operator.nim"}},"end":"\\\\)","patterns":[{"include":"source.nim"}]},{"begin":"(?<!\\\\$)(\\\\$)\\\\{","captures":{"1":{"name":"keyword.operator.nim"},"2":{"name":"keyword.operator.nim"}},"end":"}","patterns":[{"include":"source.nim"}]},{"begin":"(?<!\\\\$)(\\\\$)(for|while|case|of|when|if|else|elif)( )","captures":{"1":{"name":"keyword.operator.nim"},"2":{"name":"keyword.operator.nim"}},"end":"([\\\\n{])","endCaptures":{"1":{"name":"plain"}},"patterns":[{"include":"source.nim"}]},{"match":"(?<!\\\\$)(\\\\$\\\\w+)","name":"keyword.operator.nim"},{"include":"source.js"}]}]},{"begin":"(^\\\\s*)?(?=css\\"\\"\\")","beginCaptures":{"0":{"name":"punctuation.whitespace.embedded.leading.nim"}},"end":"(?!\\\\G)(\\\\s*$\\\\n?)?","endCaptures":{"0":{"name":"punctuation.whitespace.embedded.trailing.nim"}},"patterns":[{"begin":"(css)(\\"\\"\\")","captures":{"1":{"name":"keyword.other.nim"},"2":{"name":"punctuation.section.embedded.begin.nim"}},"contentName":"source.css","end":"(\\")\\"\\"(?!\\")","endCaptures":{"0":{"name":"punctuation.section.embedded.end.nim"},"1":{"name":"source.css"}},"name":"meta.embedded.block.css","patterns":[{"begin":"(?<!\\\\$)(\\\\$)\\\\(","captures":{"1":{"name":"keyword.operator.nim"}},"end":"\\\\)","patterns":[{"include":"source.nim"}]},{"begin":"(?<!\\\\$)(\\\\$)\\\\{","captures":{"1":{"name":"keyword.operator.nim"},"2":{"name":"keyword.operator.nim"}},"end":"}","patterns":[{"include":"source.nim"}]},{"begin":"(?<!\\\\$)(\\\\$)(for|while|case|of|when|if|else|elif)( )","captures":{"1":{"name":"keyword.operator.nim"},"2":{"name":"keyword.operator.nim"}},"end":"([\\\\n{])","endCaptures":{"1":{"name":"plain"}},"patterns":[{"include":"source.nim"}]},{"match":"(?<!\\\\$)(\\\\$\\\\w+)","name":"keyword.operator.nim"},{"include":"source.css"}]}]},{"begin":"(^\\\\s*)?(?=glsl\\"\\"\\")","beginCaptures":{"0":{"name":"punctuation.whitespace.embedded.leading.nim"}},"end":"(?!\\\\G)(\\\\s*$\\\\n?)?","endCaptures":{"0":{"name":"punctuation.whitespace.embedded.trailing.nim"}},"patterns":[{"begin":"(glsl)(\\"\\"\\")","captures":{"1":{"name":"keyword.other.nim"},"2":{"name":"punctuation.section.embedded.begin.nim"}},"contentName":"source.glsl","end":"(\\")\\"\\"(?!\\")","endCaptures":{"0":{"name":"punctuation.section.embedded.end.nim"},"1":{"name":"source.glsl"}},"name":"meta.embedded.block.glsl","patterns":[{"begin":"(?<!\\\\$)(\\\\$)\\\\(","captures":{"1":{"name":"keyword.operator.nim"}},"end":"\\\\)","patterns":[{"include":"source.nim"}]},{"begin":"(?<!\\\\$)(\\\\$)\\\\{","captures":{"1":{"name":"keyword.operator.nim"},"2":{"name":"keyword.operator.nim"}},"end":"}","patterns":[{"include":"source.nim"}]},{"begin":"(?<!\\\\$)(\\\\$)(for|while|case|of|when|if|else|elif)( )","captures":{"1":{"name":"keyword.operator.nim"},"2":{"name":"keyword.operator.nim"}},"end":"([\\\\n{])","endCaptures":{"1":{"name":"plain"}},"patterns":[{"include":"source.nim"}]},{"match":"(?<!\\\\$)(\\\\$\\\\w+)","name":"keyword.operator.nim"},{"include":"source.glsl"}]}]},{"begin":"(^\\\\s*)?(?=md\\"\\"\\")","beginCaptures":{"0":{"name":"punctuation.whitespace.embedded.leading.nim"}},"end":"(?!\\\\G)(\\\\s*$\\\\n?)?","endCaptures":{"0":{"name":"punctuation.whitespace.embedded.trailing.nim"}},"patterns":[{"begin":"(md)(\\"\\"\\")","captures":{"1":{"name":"keyword.other.nim"},"2":{"name":"punctuation.section.embedded.begin.nim"}},"contentName":"text.html.markdown","end":"(\\")\\"\\"(?!\\")","endCaptures":{"0":{"name":"punctuation.section.embedded.end.nim"},"1":{"name":"text.html.markdown"}},"name":"meta.embedded.block.html.markdown","patterns":[{"begin":"(?<!\\\\$)(\\\\$)\\\\(","captures":{"1":{"name":"keyword.operator.nim"}},"end":"\\\\)","patterns":[{"include":"source.nim"}]},{"begin":"(?<!\\\\$)(\\\\$)\\\\{","captures":{"1":{"name":"keyword.operator.nim"},"2":{"name":"keyword.operator.nim"}},"end":"}","patterns":[{"include":"source.nim"}]},{"begin":"(?<!\\\\$)(\\\\$)(for|while|case|of|when|if|else|elif)( )","captures":{"1":{"name":"keyword.operator.nim"},"2":{"name":"keyword.operator.nim"}},"end":"([\\\\n{])","endCaptures":{"1":{"name":"plain"}},"patterns":[{"include":"source.nim"}]},{"match":"(?<!\\\\$)(\\\\$\\\\w+)","name":"keyword.operator.nim"},{"include":"text.html.markdown"}]}]}],"repository":{"char_escapes":{"patterns":[{"match":"\\\\\\\\[CRcr]","name":"constant.character.escape.carriagereturn.nim"},{"match":"\\\\\\\\[LNln]","name":"constant.character.escape.linefeed.nim"},{"match":"\\\\\\\\[Ff]","name":"constant.character.escape.formfeed.nim"},{"match":"\\\\\\\\[Tt]","name":"constant.character.escape.tabulator.nim"},{"match":"\\\\\\\\[Vv]","name":"constant.character.escape.verticaltabulator.nim"},{"match":"\\\\\\\\\\"","name":"constant.character.escape.double-quote.nim"},{"match":"\\\\\\\\'","name":"constant.character.escape.single-quote.nim"},{"match":"\\\\\\\\[0-9]+","name":"constant.character.escape.chardecimalvalue.nim"},{"match":"\\\\\\\\[Aa]","name":"constant.character.escape.alert.nim"},{"match":"\\\\\\\\[Bb]","name":"constant.character.escape.backspace.nim"},{"match":"\\\\\\\\[Ee]","name":"constant.character.escape.escape.nim"},{"match":"\\\\\\\\[Xx]\\\\h\\\\h","name":"constant.character.escape.hex.nim"},{"match":"\\\\\\\\\\\\\\\\","name":"constant.character.escape.backslash.nim"}]},"extended_string_quoted_double_raw":{"begin":"\\\\b(\\\\w+)(\\")","beginCaptures":{"1":{"name":"support.function.any-method.nim"},"2":{"name":"punctuation.definition.string.begin.nim"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.nim"}},"name":"string.quoted.double.raw.nim","patterns":[{"include":"#raw_string_escapes"}]},"extended_string_quoted_triple_raw":{"begin":"\\\\b(\\\\w+)(\\"\\"\\")","beginCaptures":{"1":{"name":"support.function.any-method.nim"},"2":{"name":"punctuation.definition.string.begin.nim"}},"end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.nim"}},"name":"string.quoted.triple.raw.nim"},"float_literal":{"patterns":[{"match":"\\\\b\\\\d[_\\\\d]*((\\\\.\\\\d[_\\\\d]*([Ee][-+]?\\\\d[_\\\\d]*)?)|([Ee][-+]?\\\\d[_\\\\d]*))('([Ff](32|64|128)|[DFdf]))?","name":"constant.numeric.float.decimal.nim"},{"match":"\\\\b0[Xx]\\\\h[_\\\\h]*'([Ff](32|64|128)|[DFdf])","name":"constant.numeric.float.hexadecimal.nim"},{"match":"\\\\b0o[0-7][0-7_]*'([Ff](32|64|128)|[DFdf])","name":"constant.numeric.float.octal.nim"},{"match":"\\\\b0([Bb])[01][01_]*'([Ff](32|64|128)|[DFdf])","name":"constant.numeric.float.binary.nim"},{"match":"\\\\b(\\\\d[_\\\\d]*)'([Ff](32|64|128)|[DFdf])","name":"constant.numeric.float.decimal.nim"}]},"fmt_interpolation":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.template-expression.begin.nim"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.template-expression.end.nim"}},"name":"meta.template.expression.nim","patterns":[{"begin":":","end":"(?=})","name":"meta.template.format-specifier.nim"},{"include":"source.nim"}]},"fmt_string":{"begin":"\\\\b(fmt)(\\")","beginCaptures":{"1":{"name":"support.function.any-method.nim"},"2":{"name":"punctuation.definition.string.begin.nim"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.nim"}},"name":"string.quoted.double.raw.nim","patterns":[{"match":"(?<!\\")\\"(?!\\")","name":"invalid.illegal.nim"},{"include":"#raw_string_escapes"},{"include":"#fmt_interpolation"}]},"fmt_string_call":{"begin":"(fmt)\\\\((?=\\")","beginCaptures":{"1":{"name":"support.function.any-method.nim"}},"end":"\\\\)","patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.nim"}},"end":"\\"(?=\\\\))","endCaptures":{"0":{"name":"punctuation.definition.string.end.nim"}},"name":"string.quoted.double.nim","patterns":[{"match":"\\"","name":"invalid.illegal.nim"},{"include":"#string_escapes"},{"include":"#fmt_interpolation"}]}]},"fmt_string_operator":{"begin":"(&)(\\")","beginCaptures":{"1":{"name":"keyword.operator.nim"},"2":{"name":"punctuation.definition.string.begin.nim"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.nim"}},"name":"string.quoted.double.nim","patterns":[{"match":"\\"","name":"invalid.illegal.nim"},{"include":"#string_escapes"},{"include":"#fmt_interpolation"}]},"fmt_string_triple":{"begin":"\\\\b(fmt)(\\"\\"\\")","beginCaptures":{"1":{"name":"support.function.any-method.nim"},"2":{"name":"punctuation.definition.string.begin.nim"}},"end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.nim"}},"name":"string.quoted.triple.raw.nim","patterns":[{"include":"#fmt_interpolation"}]},"fmt_string_triple_operator":{"begin":"(&)(\\"\\"\\")","beginCaptures":{"1":{"name":"keyword.operator.nim"},"2":{"name":"punctuation.definition.string.begin.nim"}},"end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.nim"}},"name":"string.quoted.triple.raw.nim","patterns":[{"include":"#fmt_interpolation"}]},"integer_literal":{"patterns":[{"match":"\\\\b(0[Xx]\\\\h[_\\\\h]*)('(([IUiu](8|16|32|64))|[Uu]))?","name":"constant.numeric.integer.hexadecimal.nim"},{"match":"\\\\b(0o[0-7][0-7_]*)('(([IUiu](8|16|32|64))|[Uu]))?","name":"constant.numeric.integer.octal.nim"},{"match":"\\\\b(0([Bb])[01][01_]*)('(([IUiu](8|16|32|64))|[Uu]))?","name":"constant.numeric.integer.binary.nim"},{"match":"\\\\b(\\\\d[_\\\\d]*)('(([IUiu](8|16|32|64))|[Uu]))?","name":"constant.numeric.integer.decimal.nim"}]},"multilinecomment":{"begin":"#\\\\[","end":"]#","patterns":[{"include":"#multilinecomment"}]},"multilinedoccomment":{"begin":"##\\\\[","end":"]##","patterns":[{"include":"#multilinedoccomment"}]},"raw_string_escapes":{"captures":{"1":{"name":"constant.character.escape.double-quote.nim"}},"match":"[^\\"](\\"\\")"},"string_escapes":{"patterns":[{"match":"\\\\\\\\[Pp]","name":"constant.character.escape.newline.nim"},{"match":"\\\\\\\\[Uu]\\\\h\\\\h\\\\h\\\\h","name":"constant.character.escape.hex.nim"},{"match":"\\\\\\\\[Uu]\\\\{\\\\h+}","name":"constant.character.escape.hex.nim"},{"include":"#char_escapes"}]},"string_literal":{"patterns":[{"include":"#fmt_string_triple"},{"include":"#fmt_string_triple_operator"},{"include":"#extended_string_quoted_triple_raw"},{"include":"#string_quoted_triple_raw"},{"include":"#fmt_string_operator"},{"include":"#fmt_string"},{"include":"#fmt_string_call"},{"include":"#string_quoted_double_raw"},{"include":"#extended_string_quoted_double_raw"},{"include":"#string_quoted_single"},{"include":"#string_quoted_triple"},{"include":"#string_quoted_double"}]},"string_quoted_double":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.nim"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.nim"}},"name":"string.quoted.double.nim","patterns":[{"include":"#string_escapes"}]},"string_quoted_double_raw":{"begin":"\\\\br\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.nim"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.nim"}},"name":"string.quoted.double.raw.nim","patterns":[{"include":"#raw_string_escapes"}]},"string_quoted_single":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.nim"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.nim"}},"name":"string.quoted.single.nim","patterns":[{"include":"#char_escapes"},{"match":"([^']{2,}?)","name":"invalid.illegal.character.nim"}]},"string_quoted_triple":{"begin":"\\"\\"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.nim"}},"end":"\\"\\"\\"(?!\\")","endCaptures":{"0":{"name":"punctuation.definition.string.end.nim"}},"name":"string.quoted.triple.nim"},"string_quoted_triple_raw":{"begin":"r\\"\\"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.nim"}},"end":"\\"\\"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.nim"}},"name":"string.quoted.triple.raw.nim"}},"scopeName":"source.nim","embeddedLangs":["c","html","xml","javascript","css","glsl","markdown"]}`)), b = [
9
9
  ...e,
10
10
  ...n,
@@ -0,0 +1,6 @@
1
+ const e = Object.freeze(JSON.parse(`{"displayName":"nushell","name":"nushell","patterns":[{"include":"#define-variable"},{"include":"#define-alias"},{"include":"#function"},{"include":"#extern"},{"include":"#module"},{"include":"#use-module"},{"include":"#expression"},{"include":"#comment"}],"repository":{"binary":{"begin":"\\\\b(0x)(\\\\[)","beginCaptures":{"1":{"name":"constant.numeric.nushell"},"2":{"name":"meta.brace.square.begin.nushell"}},"end":"]","endCaptures":{"0":{"name":"meta.brace.square.begin.nushell"}},"name":"constant.binary.nushell","patterns":[{"match":"\\\\h{2}","name":"constant.numeric.nushell"}]},"braced-expression":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.block.begin.bracket.curly.nushell"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.block.end.bracket.curly.nushell"}},"name":"meta.expression.braced.nushell","patterns":[{"begin":"(?<=\\\\{)\\\\s*\\\\|","end":"\\\\|","name":"meta.closure.parameters.nushell","patterns":[{"include":"#function-parameter"}]},{"captures":{"1":{"name":"variable.other.nushell"},"2":{"name":"keyword.control.nushell"}},"match":"(\\\\w+)\\\\s*(:)\\\\s*"},{"captures":{"1":{"name":"variable.other.nushell"},"2":{"name":"variable.other.nushell","patterns":[{"include":"#paren-expression"}]},"3":{"name":"keyword.control.nushell"}},"match":"(\\\\$\\"((?:[^\\"\\\\\\\\]|\\\\\\\\.)*)\\")\\\\s*(:)\\\\s*","name":"meta.record-entry.nushell"},{"captures":{"1":{"name":"variable.other.nushell"},"2":{"name":"keyword.control.nushell"}},"match":"(\\"(?:[^\\"\\\\\\\\]|\\\\\\\\.)*\\")\\\\s*(:)\\\\s*","name":"meta.record-entry.nushell"},{"captures":{"1":{"name":"variable.other.nushell"},"2":{"name":"variable.other.nushell","patterns":[{"include":"#paren-expression"}]},"3":{"name":"keyword.control.nushell"}},"match":"(\\\\$'([^']*)')\\\\s*(:)\\\\s*","name":"meta.record-entry.nushell"},{"captures":{"1":{"name":"variable.other.nushell"},"2":{"name":"keyword.control.nushell"}},"match":"('[^']*')\\\\s*(:)\\\\s*","name":"meta.record-entry.nushell"},{"include":"#spread"},{"include":"source.nushell"}]},"command":{"begin":"(?<!\\\\w)(?:(\\\\^)|(?![$0-9]))([!.\\\\w]+(?: (?!-)[-!.\\\\w]+(?:(?=[ )])|$)|[-!.\\\\w]+)*|(?<=\\\\^)\\\\$?(?:\\"[^\\"]+\\"|'[^']+'))","beginCaptures":{"1":{"name":"keyword.operator.nushell"},"2":{"patterns":[{"include":"#control-keywords"},{"captures":{"0":{"name":"keyword.other.builtin.nushell"}},"match":"(?:ansi|char) \\\\w+"},{"captures":{"1":{"name":"keyword.other.builtin.nushell"},"2":{"patterns":[{"include":"#value"}]}},"match":"(a(?:l(?:ias|l)|n(?:si(?: (?:gradient|link|strip))?|y)|ppend|st|ttr(?: (?:category|deprecated|example|search-terms))?)|b(?:its(?: (?:and|not|or|ro[lr]|sh[lr]|xor))?|reak|ytes(?: (?:a(?:dd|t)|build|collect|ends-with|index-of|length|re(?:move|place|verse)|s(?:plit|tarts-with)))?)|c(?:al|d|h(?:ar|unk(?:-by|s))|lear|o(?:l(?:lect|umns)|m(?:mandline(?: (?:edit|get-cursor|set-cursor))?|p(?:act|lete))|n(?:fig(?: (?:env|flatten|nu|reset|use-colors))?|st|tinue))|p)|d(?:ate(?: (?:f(?:ormat|rom-human)|humanize|list-timezone|now|to-timezone))?|e(?:bug(?: (?:e(?:nv|xperimental-options)|info|profile))?|code(?: (?:base(?:32(?:hex)?|64)|hex))?|f(?:ault)?|scribe|tect(?: columns)?)|o|rop(?: (?:column|nth))?|t(?: (?:add|diff|format|now|part|to|utcnow))?|u)|e(?:ach(?: while)?|cho|moji|n(?:code(?: (?:base(?:32(?:hex)?|64)|hex))?|umerate)|rror(?: make)?|very|x(?:ec|it|p(?:l(?:ain|ore)|ort(?: (?:alias|const|def|extern|module|use)|-env)?)|tern))|f(?:i(?:l(?:[el]|ter)|nd|rst)|latten|or(?:mat(?: (?:bits|d(?:ate|uration)|filesize|number|pattern))?)?|rom(?: (?:csv|eml|i(?:cs|ni)|json|msgpackz?|nuon|ods|p(?:arquet|list)|ssv|t(?:oml|sv)|url|vcf|x(?:lsx|ml)|ya?ml))?)|g(?:e(?:nerate|t)|lob|r(?:id|oup-by)|stat)|h(?:ash(?: (?:md5|sha256))?|e(?:aders|lp(?: (?:aliases|commands|e(?:scapes|xterns)|modules|operators|pipe-and-redirect))?)|i(?:de(?:-env)?|sto(?:gram|ry(?: (?:import|session))?))|ttp(?: (?:delete|get|head|options|p(?:atch|ost|ut)))?)|i(?:f|gnore|n(?:c|put(?: list(?:en)?)?|s(?:ert|pect)|t(?:erleave|o(?: (?:b(?:inary|ool)|cell-path|d(?:atetime|uration)|f(?:ilesize|loat)|glob|int|record|s(?:qlite|tring)|value))?))|s-(?:admin|empty|not-empty|terminal)|tems)|j(?:o(?:b(?: (?:flush|id|kill|list|recv|s(?:end|pawn)|tag|unfreeze))?|in)|son path|walk)|k(?:eybindings(?: (?:default|list(?:en)?))?|ill)|l(?:ast|e(?:ngth|t(?:-env)?)|ines|o(?:ad-env|op)|s)|m(?:at(?:ch|h(?: (?:a(?:bs|rc(?:cosh?|sinh?|tanh?)|vg)|c(?:eil|osh?)|exp|floor|l(?:n|og)|m(?:ax|edian|in|ode)|product|round|s(?:inh?|qrt|tddev|um)|tanh?|variance))?)|e(?:rge(?: deep)?|tadata(?: (?:access|set))?)|k(?:dir|temp)|o(?:dule|ve)|ut|v)|nu-(?:check|highlight)|o(?:pen|verlay(?: (?:hide|list|new|use))?)|p(?:a(?:nic|r(?:-each|se)|th(?: (?:basename|dirname|ex(?:ists|pand)|join|parse|relative-to|s(?:elf|plit)|type))?)|lugin(?: (?:add|list|rm|stop|use))?|o(?:lars(?: (?:a(?:gg(?:-groups)?|ll-(?:false|true)|ppend|rg-(?:m(?:ax|in)|sort|true|unique|where)|s(?:-date(?:time)?)?)|c(?:a(?:che|st)|o(?:l(?:lect|umns)?|n(?:cat(?:-str)?|tains|vert-time-zone)|unt(?:-null)?)|u(?:mulative|t))|d(?:atepart|ecimal|rop(?:-(?:duplicates|nulls))?|ummies)|exp(?:lode|r-not)|f(?:etch|i(?:l(?:l-n(?:an|ull)|ter(?:-with)?)|rst)|latten)|g(?:et(?:-(?:day|hour|m(?:inute|onth)|nanosecond|ordinal|second|week(?:day)?|year))?|roup-by)|horizontal|i(?:mplode|nt(?:eger|o-(?:d(?:f|type)|lazy|nu|repr|schema))|s-(?:duplicated|in|n(?:ot-n|)ull|unique))|join(?:-where)?|l(?:ast|en|i(?:st-contains|t)|owercase)|m(?:a(?:th|x)|e(?:an|dian)|in)|n(?:-unique|ot)|o(?:pen|therwise|ver)|p(?:ivot|rofile)|q(?:cut|u(?:antile|ery))|r(?:e(?:name|place(?:-time-zone)?|verse)|olling)|s(?:a(?:mple|ve)|chema|e(?:lect|t(?:-with-idx)?)|h(?:ape|ift)|lice|ort-by|t(?:d|ore-(?:get|ls|rm)|r(?:-(?:join|lengths|replace(?:-all)?|s(?:lice|plit|trip-chars))|ftime|uct-json-encode))|um(?:mary)?)|t(?:ake|runcate)|u(?:n(?:ique|nest|pivot)|ppercase)|va(?:lue-counts|r)|w(?:hen|ith-column)))?|rt)|r(?:epend|int)|s)|query(?: (?:db|git|json|web(?:page-info)?|xml))?|r(?:andom(?: (?:b(?:inary|ool)|chars|dice|float|int|uuid))?|e(?:duce|g(?:ex|istry(?: query)?)|ject|name|turn|verse)|m|o(?:ll(?: (?:down|left|right|up))?|tate)|un-(?:ex|in)ternal)|s(?:ave|c(?:hema|ope(?: (?:aliases|commands|e(?:ngine-stats|xterns)|modules|variables))?)|e(?:lect|q(?: (?:char|date))?)|huffle|kip(?: (?:until|while))?|l(?:eep|ice)|o(?:rt(?:-by)?|urce(?:-env)?)|plit(?: (?:c(?:ell-path|hars|olumn)|list|row|words))?|t(?:art|or(?: (?:create|delete|export|i(?:mport|nsert)|open|reset|update))?|r(?: (?:c(?:a(?:mel-case|pitalize)|o(?:mpress|ntains))|d(?:e(?:compress|dent|unicode)|istance|owncase)|e(?:nds-with|xpand)|inde(?:nt|x-of)|join|kebab-case|length|pascal-case|re(?:place|verse)|s(?:creaming-snake-case|hl-(?:quote|split)|imilarity|lug|nake-case|ta(?:rts-with|ts)|ubstring)|t(?:itle-case|rim)|upcase|wrap)|ess_internals)?)|ys(?: (?:cpu|disks|host|mem|net|temp|users))?)|t(?:a(?:ble|ke(?: (?:until|while))?)|e(?:e|rm(?: (?:query|size))?)|imeit|o(?: (?:csv|html|json|m(?:d|sgpackz?)|nuon|p(?:arquet|list)|t(?:ext|oml|sv)|xml|ya?ml)|uch)?|r(?:anspose|y)|utor)|u(?:limit|n(?:ame|iq(?:-by)?)|p(?:date(?: cells)?|sert)|rl(?: (?:build-query|decode|encode|join|parse|split-query))?|se)|v(?:alues|ersion(?: check)?|iew(?: (?:blocks|files|ir|s(?:ource|pan)))?)|w(?:atch|h(?:ere|i(?:ch|le)|oami)|i(?:ndow|th-env)|rap)|zip)(?![-\\\\w])( (.*))?"},{"captures":{"1":{"patterns":[{"include":"#paren-expression"}]}},"match":"(?<=\\\\^)(?:\\\\$(\\"[^\\"]+\\"|'[^']+')|\\"[^\\"]+\\"|'[^']+')","name":"entity.name.type.external.nushell"},{"captures":{"1":{"name":"entity.name.type.external.nushell"},"2":{"patterns":[{"include":"#value"}]}},"match":"([.\\\\w]+(?:-[!.\\\\w]+)*)(?: (.*))?"},{"include":"#value"}]}},"end":"(?=[);|}])|$","name":"meta.command.nushell","patterns":[{"include":"#parameters"},{"include":"#spread"},{"include":"#value"}]},"comment":{"match":"(#.*)$","name":"comment.nushell"},"constant-keywords":{"match":"\\\\b(?:true|false|null)\\\\b","name":"constant.language.nushell"},"constant-value":{"patterns":[{"include":"#constant-keywords"},{"include":"#datetime"},{"include":"#numbers"},{"include":"#numbers-hexa"},{"include":"#numbers-octal"},{"include":"#numbers-binary"},{"include":"#binary"}]},"control-keywords":{"match":"(?<![\\\\--:A-Z\\\\\\\\_a-z])(?:break|continue|else(?: if)?|for|if|loop|mut|return|try|while)(?![\\\\--:A-Z\\\\\\\\_a-z])","name":"keyword.control.nushell"},"datetime":{"match":"\\\\b\\\\d{4}-\\\\d{2}-\\\\d{2}(?:T\\\\d{2}:\\\\d{2}:\\\\d{2}(?:\\\\.\\\\d+)?(?:\\\\+\\\\d{2}:?\\\\d{2}|Z)?)?\\\\b","name":"constant.numeric.nushell"},"define-alias":{"captures":{"1":{"name":"entity.name.function.nushell"},"2":{"name":"entity.name.type.nushell"},"3":{"patterns":[{"include":"#operators"}]}},"match":"((?:export )?alias)\\\\s+([-!\\\\w]+)\\\\s*(=)"},"define-variable":{"captures":{"1":{"name":"keyword.other.nushell"},"2":{"name":"variable.other.nushell"},"3":{"patterns":[{"include":"#operators"}]}},"match":"(let|mut|(?:export\\\\s+)?const)\\\\s+(\\\\w+)\\\\s+(=)"},"expression":{"patterns":[{"include":"#pre-command"},{"include":"#for-loop"},{"include":"#operators"},{"match":"\\\\|","name":"keyword.control.nushell"},{"include":"#control-keywords"},{"include":"#constant-value"},{"include":"#string-raw"},{"include":"#command"},{"include":"#value"}]},"extern":{"begin":"((?:export\\\\s+)?extern)\\\\s+([-\\\\w]+|\\"[- \\\\w]+\\")","beginCaptures":{"1":{"name":"entity.name.function.nushell"},"2":{"name":"entity.name.type.nushell"}},"end":"(?<=])","endCaptures":{"0":{"name":"punctuation.definition.function.end.nushell"}},"patterns":[{"include":"#function-parameters"}]},"for-loop":{"begin":"(for)\\\\s+(\\\\$?\\\\w+)\\\\s+(in)\\\\s+(.+)\\\\s*(\\\\{)","beginCaptures":{"1":{"name":"keyword.other.nushell"},"2":{"name":"variable.other.nushell"},"3":{"name":"keyword.other.nushell"},"4":{"patterns":[{"include":"#value"}]},"5":{"name":"punctuation.section.block.begin.bracket.curly.nushell"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.block.end.bracket.curly.nushell"}},"name":"meta.for-loop.nushell","patterns":[{"include":"source.nushell"}]},"function":{"begin":"((?:export\\\\s+)?def(?:\\\\s+--\\\\w+)*)\\\\s+([-\\\\w]+|\\"[- \\\\w]+\\"|'[- \\\\w]+'|\`[- \\\\w]+\`)(\\\\s+--\\\\w+)*","beginCaptures":{"1":{"name":"entity.name.function.nushell"},"2":{"name":"entity.name.type.nushell"},"3":{"name":"entity.name.function.nushell"}},"end":"(?<=})","patterns":[{"include":"#function-parameters"},{"include":"#function-body"},{"include":"#function-inout"}]},"function-body":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.function.begin.nushell"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.function.end.nushell"}},"name":"meta.function.body.nushell","patterns":[{"include":"source.nushell"}]},"function-inout":{"patterns":[{"include":"#types"},{"match":"->","name":"keyword.operator.nushell"},{"include":"#function-multiple-inout"}]},"function-multiple-inout":{"begin":"(?<=]\\\\s*)(:)\\\\s+(\\\\[)","beginCaptures":{"1":{"name":"punctuation.definition.in-out.nushell"},"2":{"name":"meta.brace.square.begin.nushell"}},"end":"]","endCaptures":{"0":{"name":"meta.brace.square.end.nushell"}},"patterns":[{"include":"#types"},{"captures":{"1":{"name":"punctuation.separator.nushell"}},"match":"\\\\s*(,)\\\\s*"},{"captures":{"1":{"name":"keyword.operator.nushell"}},"match":"\\\\s+(->)\\\\s+"}]},"function-parameter":{"patterns":[{"captures":{"1":{"name":"keyword.control.nushell"}},"match":"(-{0,2}|\\\\.{3})[-\\\\w]+(?:\\\\((-[?\\\\w])\\\\))?","name":"variable.parameter.nushell"},{"begin":"\\\\??:\\\\s*","end":"(?=\\\\s+(?:-{0,2}|\\\\.{3})[-\\\\w]+|\\\\s*(?:[]#,=@|]|$))","patterns":[{"include":"#types"}]},{"begin":"@(?=[\\"'])","end":"(?<=[\\"'])","patterns":[{"include":"#string"}]},{"begin":"=\\\\s*","end":"(?=\\\\s+-{0,2}[-\\\\w]+|\\\\s*(?:[]#,|]|$))","name":"default.value.nushell","patterns":[{"include":"#value"}]}]},"function-parameters":{"begin":"\\\\[","beginCaptures":{"0":{"name":"meta.brace.square.begin.nushell"}},"end":"]","endCaptures":{"0":{"name":"meta.brace.square.end.nushell"}},"name":"meta.function.parameters.nushell","patterns":[{"include":"#function-parameter"},{"include":"#comment"}]},"internal-variables":{"match":"\\\\$(?:nu|env)\\\\b","name":"variable.language.nushell"},"keyword":{"match":"def(?:-env)?","name":"keyword.other.nushell"},"module":{"begin":"((?:export\\\\s+)?module)\\\\s+([-\\\\w]+)\\\\s*\\\\{","beginCaptures":{"1":{"name":"entity.name.function.nushell"},"2":{"name":"entity.name.namespace.nushell"}},"end":"}","endCaptures":{"0":{"name":"punctuation.definition.module.end.nushell"}},"name":"meta.module.nushell","patterns":[{"include":"source.nushell"}]},"numbers":{"match":"(?<![-\\\\w])_*+[-+]?_*+(?:(?i:NaN|infinity|inf)_*+|(?:\\\\d[_\\\\d]*+\\\\.?|\\\\._*+\\\\d)[_\\\\d]*+(?i:E_*+[-+]?_*+\\\\d[_\\\\d]*+)?)(?i:ns|us|\xB5s|ms|sec|min|hr|day|wk|b|kb|mb|gb|tb|pt|eb|zb|kib|mib|gib|tib|pit|eib|zib)?(?:(?![.\\\\w])|(?=\\\\.\\\\.))","name":"constant.numeric.nushell"},"numbers-binary":{"match":"(?<![-\\\\w])_*+0_*+b_*+[01][01_]*+(?![.\\\\w])","name":"constant.numeric.nushell"},"numbers-hexa":{"match":"(?<![-\\\\w])_*+0_*+x_*+\\\\h[_\\\\h]*+(?![.\\\\w])","name":"constant.numeric.nushell"},"numbers-octal":{"match":"(?<![-\\\\w])_*+0_*+o_*+[0-7][0-7_]*+(?![.\\\\w])","name":"constant.numeric.nushell"},"operators":{"patterns":[{"include":"#operators-word"},{"include":"#operators-symbols"},{"include":"#ranges"}]},"operators-symbols":{"match":"(?<= )(?:[-*+/]=?|//|\\\\*\\\\*|!=|[<=>]=?|[!=]~|\\\\+\\\\+=?)(?= |$)","name":"keyword.control.nushell"},"operators-word":{"match":"(?<=[ (])(?:mod|in|not-(?:in|like|has)|not|and|or|xor|bit-(?:or|and|xor|shl|shr)|starts-with|ends-with|like|has)(?=[ )]|$)","name":"keyword.control.nushell"},"parameters":{"captures":{"1":{"name":"keyword.control.nushell"}},"match":"(?<=\\\\s)(-{1,2})[-\\\\w]+","name":"variable.parameter.nushell"},"paren-expression":{"begin":"\\\\(","beginCaptures":{"0":{"name":"meta.brace.round.begin.nushell"}},"end":"\\\\)","endCaptures":{"0":{"name":"meta.brace.round.end.nushell"}},"name":"meta.expression.parenthesis.nushell","patterns":[{"include":"#expression"}]},"pre-command":{"begin":"(\\\\w+)(=)","beginCaptures":{"1":{"name":"variable.other.nushell"},"2":{"patterns":[{"include":"#operators"}]}},"end":"(?=\\\\s+)","patterns":[{"include":"#value"}]},"ranges":{"match":"\\\\.\\\\.<?","name":"keyword.control.nushell"},"spread":{"match":"\\\\.\\\\.\\\\.(?=[^]}\\\\s])","name":"keyword.control.nushell"},"string":{"patterns":[{"include":"#string-single-quote"},{"include":"#string-backtick"},{"include":"#string-double-quote"},{"include":"#string-interpolated-double"},{"include":"#string-interpolated-single"},{"include":"#string-raw"},{"include":"#string-bare"}]},"string-backtick":{"begin":"\`","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.nushell"}},"end":"\`","endCaptures":{"0":{"name":"punctuation.definition.string.end.nushell"}},"name":"string.quoted.single.nushell"},"string-bare":{"match":"[^\\"#$'(,;\\\\[{|\\\\s][^]\\"'(),;\\\\[{|}\\\\s]*","name":"string.bare.nushell"},"string-double-quote":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.nushell"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.nushell"}},"name":"string.quoted.double.nushell","patterns":[{"match":"\\\\w+"},{"include":"#string-escape"}]},"string-escape":{"match":"\\\\\\\\(?:[\\"'/\\\\\\\\bfnrt]|u\\\\h{4})","name":"constant.character.escape.nushell"},"string-interpolated-double":{"begin":"\\\\$\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.nushell"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.nushell"}},"name":"string.interpolated.double.nushell","patterns":[{"match":"\\\\\\\\[()]","name":"constant.character.escape.nushell"},{"include":"#string-escape"},{"include":"#paren-expression"}]},"string-interpolated-single":{"begin":"\\\\$'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.nushell"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.nushell"}},"name":"string.interpolated.single.nushell","patterns":[{"include":"#paren-expression"}]},"string-raw":{"begin":"r(#+)'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.nushell"}},"end":"'\\\\1","endCaptures":{"0":{"name":"punctuation.definition.string.end.nushell"}},"name":"string.raw.nushell"},"string-single-quote":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.nushell"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.nushell"}},"name":"string.quoted.single.nushell"},"table":{"begin":"\\\\[","beginCaptures":{"0":{"name":"meta.brace.square.begin.nushell"}},"end":"]","endCaptures":{"0":{"name":"meta.brace.square.end.nushell"}},"name":"meta.table.nushell","patterns":[{"include":"#spread"},{"include":"#value"},{"match":",","name":"punctuation.separator.nushell"}]},"types":{"patterns":[{"begin":"\\\\b(list)\\\\s*<","beginCaptures":{"1":{"name":"entity.name.type.nushell"}},"end":">","name":"meta.list.nushell","patterns":[{"include":"#types"}]},{"begin":"\\\\b(record)\\\\s*<","beginCaptures":{"1":{"name":"entity.name.type.nushell"}},"end":">","name":"meta.record.nushell","patterns":[{"captures":{"1":{"name":"variable.parameter.nushell"}},"match":"([-\\\\w]+|\\"[- \\\\w]+\\"|'[^']+')\\\\s*:\\\\s*"},{"include":"#types"}]},{"match":"\\\\b(\\\\w+)\\\\b","name":"entity.name.type.nushell"}]},"use-module":{"patterns":[{"captures":{"1":{"name":"entity.name.function.nushell"},"2":{"name":"entity.name.namespace.nushell"},"3":{"name":"keyword.other.nushell"}},"match":"^\\\\s*((?:export )?use)\\\\s+([-\\\\w]+|\\"[- \\\\w]+\\"|'[- \\\\w]+')(?:\\\\s+([-\\\\w]+|\\"[- \\\\w]+\\"|'[- \\\\w]+'|\\\\*))?\\\\s*;?$"},{"begin":"^\\\\s*((?:export )?use)\\\\s+([-\\\\w]+|\\"[- \\\\w]+\\"|'[- \\\\w]+')\\\\s*\\\\[","beginCaptures":{"1":{"name":"entity.name.function.nushell"},"2":{"name":"entity.name.namespace.nushell"}},"end":"(])\\\\s*;?\\\\s*$","endCaptures":{"1":{"name":"meta.brace.square.end.nushell"}},"patterns":[{"captures":{"1":{"name":"keyword.other.nushell"}},"match":"([-\\\\w]+|\\"[- \\\\w]+\\"|'[- \\\\w]+'|\\\\*),?"},{"include":"#comment"}]},{"captures":{"2":{"name":"entity.name.function.nushell"},"3":{"name":"string.bare.nushell","patterns":[{"captures":{"1":{"name":"entity.name.namespace.nushell"}},"match":"([- \\\\w]+)(?:\\\\.nu)?(?=$|[\\"'])"}]},"4":{"name":"keyword.other.nushell"}},"match":"(?<path>(?:[/\\\\\\\\]|~[/\\\\\\\\]|\\\\.\\\\.?[/\\\\\\\\])?(?:[^/\\\\\\\\]+[/\\\\\\\\])*[- \\\\w]+(?:\\\\.nu)?){0}^\\\\s*((?:export )?use)\\\\s+(\\"\\\\g<path>\\"|'\\\\g<path>'|(?![\\"'])\\\\g<path>)(?:\\\\s+([-\\\\w]+|\\"[- \\\\w]+\\"|'[^']+'|\\\\*))?\\\\s*;?$"},{"begin":"(?<path>(?:[/\\\\\\\\]|~[/\\\\\\\\]|\\\\.\\\\.?[/\\\\\\\\])?(?:[^/\\\\\\\\]+[/\\\\\\\\])*[- \\\\w]+(?:\\\\.nu)?){0}^\\\\s*((?:export )?use)\\\\s+(\\"\\\\g<path>\\"|'\\\\g<path>'|(?![\\"'])\\\\g<path>)\\\\s+\\\\[","beginCaptures":{"2":{"name":"entity.name.function.nushell"},"3":{"name":"string.bare.nushell","patterns":[{"captures":{"1":{"name":"entity.name.namespace.nushell"}},"match":"([- \\\\w]+)(?:\\\\.nu)?(?=$|[\\"'])"}]}},"end":"(])\\\\s*;?\\\\s*$","endCaptures":{"1":{"name":"meta.brace.square.end.nushell"}},"patterns":[{"captures":{"0":{"name":"keyword.other.nushell"}},"match":"([-\\\\w]+|\\"[- \\\\w]+\\"|'[- \\\\w]+'|\\\\*),?"},{"include":"#comment"}]},{"captures":{"0":{"name":"entity.name.function.nushell"}},"match":"^\\\\s*(?:export )?use\\\\b"}]},"value":{"patterns":[{"include":"#variables"},{"include":"#variable-fields"},{"include":"#control-keywords"},{"include":"#constant-value"},{"include":"#table"},{"include":"#operators"},{"include":"#paren-expression"},{"include":"#braced-expression"},{"include":"#string"},{"include":"#comment"}]},"variable-fields":{"match":"(?<=[])}])(?:\\\\.(?:[-\\\\w]+|\\"[- \\\\w]+\\"))+","name":"variable.other.nushell"},"variables":{"captures":{"1":{"patterns":[{"include":"#internal-variables"},{"match":"\\\\$.+","name":"variable.other.nushell"}]},"2":{"name":"variable.other.nushell"}},"match":"(\\\\$[0-9A-Z_a-z]+)((?:\\\\.(?:[-\\\\w]+|\\"[- \\\\w]+\\"))*)"}},"scopeName":"source.nushell","aliases":["nu"]}`)), n = [
2
+ e
3
+ ];
4
+ export {
5
+ n as default
6
+ };