github-linguist 9.2.0 → 9.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. checksums.yaml +4 -4
  2. data/bin/github-linguist +23 -4
  3. data/grammars/dart.inline.edgeql.json +1 -0
  4. data/grammars/go.inline.edgeql.json +1 -0
  5. data/grammars/injection.interpolated-ruby.json +1 -0
  6. data/grammars/injections.etc.json +1 -1
  7. data/grammars/inline.surrealql-js-literal.json +1 -0
  8. data/grammars/js.inline.edgeql.json +1 -0
  9. data/grammars/markdown.move.codeblock.json +1 -1
  10. data/grammars/markdown.surrealql.codeblock.json +1 -0
  11. data/grammars/markdown.vue.codeblock.json +1 -1
  12. data/grammars/markdown.wesl.codeblock.json +1 -0
  13. data/grammars/markdown.wgsl.codeblock.json +1 -0
  14. data/grammars/mdx.vue.codeblock.json +1 -1
  15. data/grammars/res.inline.edgeql.json +1 -0
  16. data/grammars/source.abl.json +1 -1
  17. data/grammars/source.agda.json +1 -1
  18. data/grammars/source.al.json +1 -1
  19. data/grammars/source.algol60.json +1 -0
  20. data/grammars/source.apex.json +1 -1
  21. data/grammars/source.ash.json +1 -0
  22. data/grammars/source.ats.json +1 -1
  23. data/grammars/source.b.json +1 -0
  24. data/grammars/source.bicep.json +1 -1
  25. data/grammars/source.brs.json +1 -1
  26. data/grammars/source.bru.json +1 -0
  27. data/grammars/source.c++.json +1 -1
  28. data/grammars/source.c.json +1 -1
  29. data/grammars/source.c.linker.json +1 -1
  30. data/grammars/source.c3.json +1 -0
  31. data/grammars/source.cadence.json +1 -1
  32. data/grammars/source.cj.json +1 -0
  33. data/grammars/source.clar.json +1 -1
  34. data/grammars/source.clean.json +1 -1
  35. data/grammars/source.cmake.json +1 -1
  36. data/grammars/source.cmakecache.json +1 -1
  37. data/grammars/source.cobol.json +1 -1
  38. data/grammars/source.comment-string.wesl.json +1 -0
  39. data/grammars/source.comment-string.wgsl.json +1 -0
  40. data/grammars/source.cooklang.json +1 -0
  41. data/grammars/source.cql.json +1 -0
  42. data/grammars/source.cs.json +1 -1
  43. data/grammars/source.csv.json +1 -0
  44. data/grammars/source.curlrc.json +1 -1
  45. data/grammars/source.data-weave.json +1 -1
  46. data/grammars/source.dotenv.json +1 -1
  47. data/grammars/source.dsv.json +1 -0
  48. data/grammars/source.edgeql.json +1 -1
  49. data/grammars/source.erlang.json +1 -1
  50. data/grammars/source.flix.json +1 -0
  51. data/grammars/source.fsharp.json +1 -1
  52. data/grammars/source.gdscript.json +1 -1
  53. data/grammars/source.gfm.blade.json +1 -1
  54. data/grammars/source.gitignore.json +1 -1
  55. data/grammars/source.go-template.json +1 -0
  56. data/grammars/source.go.injection.double.go-template.json +1 -0
  57. data/grammars/source.go.injection.raw.go-template.json +1 -0
  58. data/grammars/source.hack.json +1 -1
  59. data/grammars/source.harbour.json +1 -1
  60. data/grammars/source.httpspec.json +1 -1
  61. data/grammars/source.hurl.json +1 -0
  62. data/grammars/source.hx.json +1 -1
  63. data/grammars/source.ilecobol.json +1 -1
  64. data/grammars/source.inputrc.json +1 -1
  65. data/grammars/source.isabelle.theory.json +1 -1
  66. data/grammars/source.jac.json +1 -0
  67. data/grammars/source.jai.json +1 -1
  68. data/grammars/source.jq.json +1 -1
  69. data/grammars/source.json.comments.json +1 -1
  70. data/grammars/source.julia.json +1 -1
  71. data/grammars/source.just.json +1 -1
  72. data/grammars/source.kcl.json +1 -0
  73. data/grammars/source.langium.json +1 -0
  74. data/grammars/source.lean.markdown.json +1 -1
  75. data/grammars/source.lean4.json +1 -1
  76. data/grammars/source.lean4.markdown.json +1 -1
  77. data/grammars/source.lp.json +1 -0
  78. data/grammars/source.lua.json +1 -1
  79. data/grammars/source.luau.json +1 -1
  80. data/grammars/source.m2.json +1 -1
  81. data/grammars/source.mask.json +1 -1
  82. data/grammars/source.mdx.json +1 -1
  83. data/grammars/source.mermaid.flowchart.json +1 -1
  84. data/grammars/source.mermaid.gantt.json +1 -1
  85. data/grammars/source.mermaid.json +1 -1
  86. data/grammars/source.mermaid.pie-chart.json +1 -1
  87. data/grammars/source.mermaid.quad-chart.json +1 -0
  88. data/grammars/source.mermaid.sankey.json +1 -0
  89. data/grammars/source.mermaid.timeline.json +1 -0
  90. data/grammars/source.mermaid.user-journey.json +1 -1
  91. data/grammars/source.mermaid.zenuml.json +1 -0
  92. data/grammars/source.mo.json +1 -1
  93. data/grammars/source.mojo.json +1 -1
  94. data/grammars/source.moonbit.json +1 -1
  95. data/grammars/source.move.json +1 -1
  96. data/grammars/source.ned.json +1 -1
  97. data/grammars/source.nginx.json +1 -1
  98. data/grammars/source.nickel.json +1 -0
  99. data/grammars/source.nim.json +1 -1
  100. data/grammars/source.nr.json +1 -1
  101. data/grammars/source.nushell.json +1 -1
  102. data/grammars/source.odin-ehr.json +1 -1
  103. data/grammars/source.openqasm.json +1 -1
  104. data/grammars/source.postscript.json +1 -1
  105. data/grammars/source.proto.json +1 -1
  106. data/grammars/source.psl.json +1 -0
  107. data/grammars/source.pyjade.json +1 -1
  108. data/grammars/source.quakec.json +1 -0
  109. data/grammars/source.rascript.json +1 -0
  110. data/grammars/source.record-jar.json +1 -1
  111. data/grammars/source.rego.json +1 -1
  112. data/grammars/source.roc.json +1 -1
  113. data/grammars/source.rosmsg.json +1 -0
  114. data/grammars/source.rpgle.json +1 -1
  115. data/grammars/source.shell.json +1 -1
  116. data/grammars/source.sieve.json +1 -1
  117. data/grammars/source.singularity.json +1 -1
  118. data/grammars/source.slang.json +1 -1
  119. data/grammars/source.slint.json +1 -1
  120. data/grammars/source.soql.json +1 -1
  121. data/grammars/source.sqf.json +1 -1
  122. data/grammars/source.stan.json +1 -1
  123. data/grammars/source.surrealql.json +1 -0
  124. data/grammars/source.swift.json +1 -1
  125. data/grammars/source.teal.json +1 -0
  126. data/grammars/source.templ.json +1 -1
  127. data/grammars/source.tmdl.json +1 -0
  128. data/grammars/source.tsp.json +1 -1
  129. data/grammars/source.tsv.json +1 -0
  130. data/grammars/source.vb6.json +1 -0
  131. data/grammars/source.vba.json +1 -1
  132. data/grammars/source.vcl.json +1 -0
  133. data/grammars/source.vento.json +1 -1
  134. data/grammars/source.vhdl.json +1 -1
  135. data/grammars/source.vscode.c3.json +1 -0
  136. data/grammars/source.wdl.json +1 -1
  137. data/grammars/source.wesl.json +1 -0
  138. data/grammars/source.wgsl.json +1 -1
  139. data/grammars/source.wit.json +1 -1
  140. data/grammars/source.wwb.json +1 -1
  141. data/grammars/text.codeowners.json +1 -1
  142. data/grammars/text.git-commit.json +1 -0
  143. data/grammars/text.haml.json +1 -1
  144. data/grammars/text.html.jte.json +1 -1
  145. data/grammars/text.html.markdown.d2.json +1 -1
  146. data/grammars/text.html.vue.json +1 -0
  147. data/grammars/text.injection.go-template.json +1 -0
  148. data/grammars/text.jira.json +1 -0
  149. data/grammars/text.k.json +1 -0
  150. data/grammars/text.markdown.go-template.codeblock.json +1 -0
  151. data/grammars/text.marko.json +1 -1
  152. data/grammars/text.md.json +1 -1
  153. data/grammars/text.slim.json +1 -1
  154. data/grammars/text.source.mps.json +1 -0
  155. data/grammars/text.srt.json +1 -1
  156. data/grammars/text.valve-cfg.json +1 -1
  157. data/grammars/text.xml.svg.json +1 -1
  158. data/grammars/v.mod.json +1 -0
  159. data/grammars/version +1 -1
  160. data/grammars/vue.directives.json +1 -1
  161. data/grammars/vue.interpolations.json +1 -1
  162. data/grammars/vue.sfc.script.leading-operator-fix.json +1 -0
  163. data/lib/linguist/VERSION +1 -1
  164. data/lib/linguist/generated.rb +29 -5
  165. data/lib/linguist/generic.yml +3 -0
  166. data/lib/linguist/heuristics.yml +98 -11
  167. data/lib/linguist/instrumenter.rb +19 -0
  168. data/lib/linguist/languages.json +1 -1
  169. data/lib/linguist/languages.yml +405 -117
  170. data/lib/linguist/samples.json +1 -1
  171. data/lib/linguist.rb +1 -0
  172. metadata +59 -5
  173. data/grammars/inline.edgeql.json +0 -1
  174. data/grammars/source.varnish.vcl.json +0 -1
  175. data/grammars/source.vue.json +0 -1
@@ -1 +1 @@
1
- {"name":"nushell","scopeName":"source.nushell","patterns":[{"include":"#define-variable"},{"include":"#define-alias"},{"include":"#function"},{"include":"#extern"},{"include":"#module"},{"include":"#use-module"},{"include":"#expression"},{"include":"#comment"}],"repository":{"binary":{"name":"constant.binary.nushell","begin":"\\b(0x)(\\[)","end":"\\]","patterns":[{"name":"constant.numeric.nushell","match":"[0-9a-fA-F]{2}"}],"beginCaptures":{"1":{"name":"constant.numeric.nushell"},"2":{"name":"meta.brace.square.begin.nushell"}},"endCaptures":{"0":{"name":"meta.brace.square.begin.nushell"}}},"braced-expression":{"name":"meta.expression.braced.nushell","begin":"\\{","end":"\\}","patterns":[{"name":"meta.closure.parameters.nushell","begin":"(?\u003c=\\{)\\s*\\|","end":"\\|","patterns":[{"include":"#function-parameter"}]},{"match":"(\\w+)\\s*(:)\\s*","captures":{"1":{"name":"variable.other.nushell"},"2":{"name":"keyword.control.nushell"}}},{"name":"meta.record-entry.nushell","match":"(\\$\"((?:[^\"\\\\]|\\\\.)*)\")\\s*(:)\\s*","captures":{"1":{"name":"variable.other.nushell"},"2":{"name":"variable.other.nushell","patterns":[{"include":"#paren-expression"}]},"3":{"name":"keyword.control.nushell"}}},{"name":"meta.record-entry.nushell","match":"(\"(?:[^\"\\\\]|\\\\.)*\")\\s*(:)\\s*","captures":{"1":{"name":"variable.other.nushell"},"2":{"name":"keyword.control.nushell"}}},{"name":"meta.record-entry.nushell","match":"(\\$'([^']*)')\\s*(:)\\s*","captures":{"1":{"name":"variable.other.nushell"},"2":{"name":"variable.other.nushell","patterns":[{"include":"#paren-expression"}]},"3":{"name":"keyword.control.nushell"}}},{"name":"meta.record-entry.nushell","match":"('[^']*')\\s*(:)\\s*","captures":{"1":{"name":"variable.other.nushell"},"2":{"name":"keyword.control.nushell"}}},{"include":"#spread"},{"include":"source.nushell"}],"beginCaptures":{"0":{"name":"punctuation.section.block.begin.bracket.curly.nushell"}},"endCaptures":{"0":{"name":"punctuation.section.block.end.bracket.curly.nushell"}}},"command":{"name":"meta.command.nushell","begin":"(?\u003c!\\w)(?:(\\^)|(?![0-9]|\\$))([\\w.!]+(?:(?: (?!-)[\\w\\-.!]+(?:(?= |\\))|$)|[\\w\\-.!]+))*|(?\u003c=\\^)\\$?(?:\"[^\"]+\"|'[^']+'))","end":"(?=\\||\\)|\\}|;)|$","patterns":[{"include":"#parameters"},{"include":"#spread"},{"include":"#value"}],"beginCaptures":{"1":{"name":"keyword.operator.nushell"},"2":{"patterns":[{"include":"#control-keywords"},{"match":"(?:ansi|char) \\w+","captures":{"0":{"name":"keyword.other.builtin.nushell"}}},{"match":"(a(?:l(?:ias|l)|n(?:si(?: (?:gradient|link|strip))?|y)|ppend|st)|b(?:g|its(?: (?:and|not|or|ro(?:l|r)|sh(?:l|r)|xor))?|reak|ytes(?: (?:a(?:dd|t)|build|collect|ends-with|index-of|length|re(?:move|place|verse)|starts-with))?)|c(?:al|d|h(?:ar|unks)|lear|o(?:l(?:lect|umns)|m(?:mandline(?: (?:edit|get-cursor|set-cursor))?|p(?:act|lete))|n(?:fig(?: (?:env|nu|reset))?|st|tinue))|p)|d(?:ate(?: (?:format|humanize|list-timezone|now|to-(?:record|t(?:able|imezone))))?|e(?:bug(?: (?:info|profile))?|code(?: (?:base(?:32(?:hex)?|64)|hex|new-base64))?|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|new-base64))?|umerate)|rror make|very|x(?:ec|it|p(?:l(?:ain|ore)|ort(?: (?:alias|const|def|extern|module|use)|-env)?)|tern))|f(?:i(?:l(?:e|l|ter)|nd|rst)|latten|mt|or(?:mat(?: (?:d(?:ate|uration)|filesize|pattern))?)?|rom(?: (?:csv|eml|i(?:cs|ni)|json|msgpack(?:z)?|nuon|ods|p(?:arquet|list)|ssv|t(?:oml|sv)|url|vcf|x(?:lsx|ml)|y(?:aml|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))?)|i(?:de(?:-env)?|sto(?:gram|ry(?: 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(?:i(?:nary|ts)|ool)|cell-path|d(?:atetime|uration)|f(?:ilesize|loat)|glob|int|record|s(?:qlite|tring)|value))?))|s-(?:admin|empty|not-empty|terminal)|tems)|j(?:oin|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(?:cos(?:h)?|sin(?:h)?|tan(?:h)?)|vg)|c(?:eil|os(?:h)?)|exp|floor|l(?:n|og)|m(?:ax|edian|in|ode)|product|round|s(?:in(?:h)?|qrt|tddev|um)|tan(?:h)?|variance))?)|d|e(?:rge|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|split|type))?)|lugin(?: (?:add|list|rm|stop|use))?|net|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)|unt(?:-null)?)|umulative)|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)|i(?:mplode|nt(?:eger|o-(?:df|lazy|nu))|s-(?:duplicated|in|n(?:ot-null|ull)|unique))|join|l(?:ast|it|owercase)|m(?:ax|e(?:an|dian)|in)|n(?:-unique|ot)|o(?:pen|therwise)|p(?:ivot|rofile)|qu(?:antile|ery)|r(?:e(?:name|place(?:-all)?|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|slice)|ftime))|um(?:mary)?)|take|u(?:n(?:ique|pivot)|ppercase)|va(?:lue-counts|r)|w(?:hen|ith-column)))?|rt)|r(?:epend|int)|s)|query(?: (?:db|git|json|web(?:page-info)?|xml))?|r(?:an(?:dom(?: (?:b(?:inary|ool)|chars|dice|float|int|uuid))?|ge)|e(?:duce|g(?:ex|istry query)|ject|name|turn|verse)|m|o(?:ll(?: (?:down|left|right|up))?|tate)|un-external)|s(?:ave|c(?:hema|ope(?: (?:aliases|commands|e(?:ngine-stats|xterns)|modules|variables))?)|e(?:lect|q(?: (?:char|date))?)|huffle|kip(?: (?:until|while))?|leep|o(?:rt(?:-by)?|urce(?:-env)?)|plit(?: (?:c(?:ell-path|hars|olumn)|list|row|words)|-by)?|t(?:art|or(?: (?:create|delete|export|i(?:mport|nsert)|open|reset|update))?|r(?: (?:c(?:a(?:mel-case|pitalize)|ontains)|d(?:istance|owncase)|e(?:nds-with|xpand)|index-of|join|kebab-case|length|pascal-case|re(?:place|verse)|s(?:creaming-snake-case|imilarity|nake-case|ta(?:rts-with|ts)|ubstring)|t(?:itle-case|rim)|upcase)|ess_internals)?)|ys(?: (?:cpu|disks|host|mem|net|temp|users))?)|t(?:a(?:ble|ke(?: (?:until|while))?)|e(?:e|rm size)|imeit|o(?: (?:csv|html|json|m(?:d|sgpack(?:z)?)|nuon|p(?:arquet|list)|t(?:ext|oml|sv)|xml|yaml)|uch)?|r(?:anspose|y)|utor)|u(?:limit|n(?:ame|iq(?:-by)?)|p(?:date(?: cells)?|sert)|rl(?: (?:build-query|decode|encode|join|parse))?|se)|v(?:alues|ersion|iew(?: (?:files|ir|s(?:ource|pan)))?)|w(?:atch|h(?:ere|i(?:ch|le)|oami)|i(?:ndow|th-env)|rap)|zip)(?![\\w-])( (.*))?","captures":{"1":{"name":"keyword.other.builtin.nushell"},"2":{"patterns":[{"include":"#value"}]}}},{"name":"entity.name.type.external.nushell","match":"(?\u003c=\\^)(?:\\$(\"[^\"]+\"|'[^']+')|\"[^\"]+\"|'[^']+')","captures":{"1":{"patterns":[{"include":"#paren-expression"}]}}},{"match":"([\\w.]+(?:-[\\w.!]+)*)(?: (.*))?","captures":{"1":{"name":"entity.name.type.external.nushell"},"2":{"patterns":[{"include":"#value"}]}}},{"include":"#value"}]}}},"comment":{"name":"comment.nushell","match":"(#.*)$"},"constant-keywords":{"name":"constant.language.nushell","match":"\\b(?:true|false|null)\\b"},"constant-value":{"patterns":[{"include":"#constant-keywords"},{"include":"#datetime"},{"include":"#numbers"},{"include":"#numbers-hexa"},{"include":"#numbers-octal"},{"include":"#numbers-binary"},{"include":"#binary"}]},"control-keywords":{"name":"keyword.control.nushell","match":"(?\u003c![0-9a-zA-Z_\\-.\\/:\\\\])(?:break|continue|else(?: if)?|for|if|loop|mut|return|try|while)(?![0-9a-zA-Z_\\-.\\/:\\\\])"},"datetime":{"name":"constant.numeric.nushell","match":"\\b\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:\\+\\d{2}:?\\d{2}|Z)?)?\\b"},"define-alias":{"match":"((?:export )?alias)\\s+([\\w\\-!]+)\\s*(=)","captures":{"1":{"name":"entity.name.function.nushell"},"2":{"name":"entity.name.type.nushell"},"3":{"patterns":[{"include":"#operators"}]}}},"define-variable":{"match":"(let|mut|(?:export\\s+)?const)\\s+(\\w+)\\s+(=)","captures":{"1":{"name":"keyword.other.nushell"},"2":{"name":"variable.other.nushell"},"3":{"patterns":[{"include":"#operators"}]}}},"expression":{"patterns":[{"include":"#pre-command"},{"include":"#for-loop"},{"include":"#operators"},{"name":"keyword.control.nushell","match":"\\|"},{"include":"#control-keywords"},{"include":"#constant-value"},{"include":"#string-raw"},{"include":"#command"},{"include":"#value"}]},"extern":{"begin":"((?:export\\s+)?extern)\\s+([\\w\\-]+|\"[\\w\\- ]+\")","end":"(?\u003c=\\])","patterns":[{"include":"#function-parameters"}],"beginCaptures":{"1":{"name":"entity.name.function.nushell"},"2":{"name":"entity.name.type.nushell"}},"endCaptures":{"0":{"name":"punctuation.definition.function.end.nushell"}}},"for-loop":{"name":"meta.for-loop.nushell","begin":"(for)\\s+(\\$?\\w+)\\s+(in)\\s+(.+)\\s*(\\{)","end":"\\}","patterns":[{"include":"source.nushell"}],"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"}},"endCaptures":{"0":{"name":"punctuation.section.block.end.bracket.curly.nushell"}}},"function":{"begin":"((?:export\\s+)?def(?:\\s+--\\w+)*)\\s+([\\w\\-]+|\"[\\w\\- ]+\"|'[\\w\\- ]+'|`[\\w\\- ]+`)(\\s+--\\w+)*","end":"(?\u003c=\\})","patterns":[{"include":"#function-parameters"},{"include":"#function-body"},{"include":"#function-inout"}],"beginCaptures":{"1":{"name":"entity.name.function.nushell"},"2":{"name":"entity.name.type.nushell"},"3":{"name":"entity.name.function.nushell"}}},"function-body":{"name":"meta.function.body.nushell","begin":"\\{","end":"\\}","patterns":[{"include":"source.nushell"}],"beginCaptures":{"0":{"name":"punctuation.definition.function.begin.nushell"}},"endCaptures":{"0":{"name":"punctuation.definition.function.end.nushell"}}},"function-inout":{"patterns":[{"include":"#types"},{"name":"keyword.operator.nushell","match":"-\u003e"},{"include":"#function-multiple-inout"}]},"function-multiple-inout":{"end":"\\]","patterns":[{"include":"#types"},{"match":"\\s*(,)\\s*","captures":{"1":{"name":"punctuation.separator.nushell"}}},{"match":"\\s+(-\u003e)\\s+","captures":{"1":{"name":"keyword.operator.nushell"}}}],"beginCaptures":{"1":{"name":"punctuation.definition.in-out.nushell"},"2":{"name":"meta.brace.square.begin.nushell"}},"endCaptures":{"0":{"name":"meta.brace.square.end.nushell"}}},"function-parameter":{"patterns":[{"name":"variable.parameter.nushell","match":"(-{0,2}|\\.{3})[\\w-]+(?:\\((-[\\w?])\\))?","captures":{"1":{"name":"keyword.control.nushell"}}},{"begin":"\\??:\\s*","end":"(?=(?:\\s+(?:-{0,2}|\\.{3})[\\w-]+)|(?:\\s*(?:,|\\]|\\||@|=|#|$)))","patterns":[{"include":"#types"}]},{"begin":"@(?=\"|')","end":"(?\u003c=\"|')","patterns":[{"include":"#string"}]},{"name":"default.value.nushell","begin":"=\\s*","end":"(?=(?:\\s+-{0,2}[\\w-]+)|(?:\\s*(?:,|\\]|\\||#|$)))","patterns":[{"include":"#value"}]}]},"function-parameters":{"name":"meta.function.parameters.nushell","begin":"\\[","end":"\\]","patterns":[{"include":"#function-parameter"},{"include":"#comment"}],"beginCaptures":{"0":{"name":"meta.brace.square.begin.nushell"}},"endCaptures":{"0":{"name":"meta.brace.square.end.nushell"}}},"internal-variables":{"name":"variable.language.nushell","match":"\\$(?:nu|env)\\b"},"keyword":{"name":"keyword.other.nushell","match":"(?:def(?:-env)?)"},"module":{"name":"meta.module.nushell","begin":"((?:export\\s+)?module)\\s+([\\w\\-]+)\\s*\\{","end":"\\}","patterns":[{"include":"source.nushell"}],"beginCaptures":{"1":{"name":"entity.name.function.nushell"},"2":{"name":"entity.name.namespace.nushell"}},"endCaptures":{"0":{"name":"punctuation.definition.module.end.nushell"}}},"numbers":{"name":"constant.numeric.nushell","match":"(?\u003c![\\w-])_*+[-+]?_*+(?:(?i:NaN|infinity|inf)_*+|(?:\\d[\\d_]*+\\.?|\\._*+\\d)[\\d_]*+(?i:E_*+[-+]?_*+\\d[\\d_]*+)?)(?i:ns|us|µs|ms|sec|min|hr|day|wk|b|kb|mb|gb|tb|pt|eb|zb|kib|mib|gib|tib|pit|eib|zib)?(?:(?![\\w.])|(?=\\.\\.))"},"numbers-binary":{"name":"constant.numeric.nushell","match":"(?\u003c![\\w-])_*+0_*+b_*+[01][01_]*+(?![\\w.])"},"numbers-hexa":{"name":"constant.numeric.nushell","match":"(?\u003c![\\w-])_*+0_*+x_*+[0-9a-fA-F][0-9a-fA-F_]*+(?![\\w.])"},"numbers-octal":{"name":"constant.numeric.nushell","match":"(?\u003c![\\w-])_*+0_*+o_*+[0-7][0-7_]*+(?![\\w.])"},"operators":{"patterns":[{"include":"#operators-word"},{"include":"#operators-symbols"},{"include":"#ranges"}]},"operators-symbols":{"name":"keyword.control.nushell","match":"(?\u003c= )(?:(?:\\+|\\-|\\*|\\/)=?|\\/\\/|\\*\\*|!=|[\u003c\u003e=]=?|[!=]~|\\+\\+=?)(?= |$)"},"operators-word":{"name":"keyword.control.nushell","match":"(?\u003c= |\\()(?:mod|in|not-(?:in|like|has)|not|and|or|xor|bit-(?:or|and|xor|shl|shr)|starts-with|ends-with|like|has)(?= |\\)|$)"},"parameters":{"name":"variable.parameter.nushell","match":"(?\u003c=\\s)(-{1,2})[\\w-]+","captures":{"1":{"name":"keyword.control.nushell"}}},"paren-expression":{"name":"meta.expression.parenthesis.nushell","begin":"\\(","end":"\\)","patterns":[{"include":"#expression"}],"beginCaptures":{"0":{"name":"meta.brace.round.begin.nushell"}},"endCaptures":{"0":{"name":"meta.brace.round.end.nushell"}}},"pre-command":{"begin":"(\\w+)(=)","end":"(?=\\s+)","patterns":[{"include":"#value"}],"beginCaptures":{"1":{"name":"variable.other.nushell"},"2":{"patterns":[{"include":"#operators"}]}}},"ranges":{"name":"keyword.control.nushell","match":"\\.\\.\u003c?"},"spread":{"name":"keyword.control.nushell","match":"\\.\\.\\.(?=[^\\s\\]}])"},"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":{"name":"string.quoted.single.nushell","begin":"`","end":"`","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.nushell"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.nushell"}}},"string-bare":{"name":"string.bare.nushell","match":"[^$\\[{(\"',|#\\s|;][^\\[\\]{}()\"'\\s,|;]*"},"string-double-quote":{"name":"string.quoted.double.nushell","begin":"\"","end":"\"","patterns":[{"match":"\\w+"},{"include":"#string-escape"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.nushell"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.nushell"}}},"string-escape":{"name":"constant.character.escape.nushell","match":"\\\\(?:[bfrnt\\\\'\"/]|u[0-9a-fA-F]{4})"},"string-interpolated-double":{"name":"string.interpolated.double.nushell","begin":"\\$\"","end":"\"","patterns":[{"name":"constant.character.escape.nushell","match":"\\\\[()]"},{"include":"#string-escape"},{"include":"#paren-expression"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.nushell"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.nushell"}}},"string-interpolated-single":{"name":"string.interpolated.single.nushell","begin":"\\$'","end":"'","patterns":[{"include":"#paren-expression"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.nushell"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.nushell"}}},"string-raw":{"name":"string.raw.nushell","begin":"r(#+)'","end":"'\\1","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.nushell"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.nushell"}}},"string-single-quote":{"name":"string.quoted.single.nushell","begin":"'","end":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.nushell"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.nushell"}}},"table":{"name":"meta.table.nushell","begin":"\\[","end":"\\]","patterns":[{"include":"#spread"},{"include":"#value"},{"name":"punctuation.separator.nushell","match":","}],"beginCaptures":{"0":{"name":"meta.brace.square.begin.nushell"}},"endCaptures":{"0":{"name":"meta.brace.square.end.nushell"}}},"types":{"patterns":[{"name":"meta.list.nushell","begin":"\\b(list)\\s*\u003c","end":"\u003e","patterns":[{"include":"#types"}],"beginCaptures":{"1":{"name":"entity.name.type.nushell"}}},{"name":"meta.record.nushell","begin":"\\b(record)\\s*\u003c","end":"\u003e","patterns":[{"match":"([\\w\\-]+|\"[\\w\\- ]+\"|'[^']+')\\s*:\\s*","captures":{"1":{"name":"variable.parameter.nushell"}}},{"include":"#types"}],"beginCaptures":{"1":{"name":"entity.name.type.nushell"}}},{"name":"entity.name.type.nushell","match":"\\b(\\w+)\\b"}]},"use-module":{"patterns":[{"match":"^\\s*((?:export )?use)\\s+([\\w\\-]+|\"[\\w\\- ]+\"|'[\\w\\- ]+')(?:\\s+([\\w\\-]+|\"[\\w\\- ]+\"|'[\\w\\- ]+'|\\*))?\\s*;?$","captures":{"1":{"name":"entity.name.function.nushell"},"2":{"name":"entity.name.namespace.nushell"},"3":{"name":"keyword.other.nushell"}}},{"begin":"^\\s*((?:export )?use)\\s+([\\w\\-]+|\"[\\w\\- ]+\"|'[\\w\\- ]+')\\s*\\[","end":"(\\])\\s*;?\\s*$","patterns":[{"match":"([\\w\\-]+|\"[\\w\\- ]+\"|'[\\w\\- ]+'|\\*),?","captures":{"1":{"name":"keyword.other.nushell"}}},{"include":"#comment"}],"beginCaptures":{"1":{"name":"entity.name.function.nushell"},"2":{"name":"entity.name.namespace.nushell"}},"endCaptures":{"1":{"name":"meta.brace.square.end.nushell"}}},{"match":"(?\u003cpath\u003e(?:/|\\\\|~[\\/\\\\]|\\.\\.?[\\/\\\\])?(?:[^\\/\\\\]+[\\/\\\\])*[\\w\\- ]+(?:\\.nu)?){0}^\\s*((?:export )?use)\\s+(\"\\g\u003cpath\u003e\"|'\\g\u003cpath\u003e\\'|(?![\"'])\\g\u003cpath\u003e)(?:\\s+([\\w\\-]+|\"[\\w\\- ]+\"|'[^']+'|\\*))?\\s*;?$","captures":{"2":{"name":"entity.name.function.nushell"},"3":{"name":"string.bare.nushell","patterns":[{"match":"([\\w\\- ]+)(?:\\.nu)?(?=$|\"|')","captures":{"1":{"name":"entity.name.namespace.nushell"}}}]},"4":{"name":"keyword.other.nushell"}}},{"begin":"(?\u003cpath\u003e(?:/|\\\\|~[\\/\\\\]|\\.\\.?[\\/\\\\])?(?:[^\\/\\\\]+[\\/\\\\])*[\\w\\- ]+(?:\\.nu)?){0}^\\s*((?:export )?use)\\s+(\"\\g\u003cpath\u003e\"|'\\g\u003cpath\u003e\\'|(?![\"'])\\g\u003cpath\u003e)\\s+\\[","end":"(\\])\\s*;?\\s*$","patterns":[{"match":"([\\w\\-]+|\"[\\w\\- ]+\"|'[\\w\\- ]+'|\\*),?","captures":{"0":{"name":"keyword.other.nushell"}}},{"include":"#comment"}],"beginCaptures":{"2":{"name":"entity.name.function.nushell"},"3":{"name":"string.bare.nushell","patterns":[{"match":"([\\w\\- ]+)(?:\\.nu)?(?=$|\"|')","captures":{"1":{"name":"entity.name.namespace.nushell"}}}]}},"endCaptures":{"1":{"name":"meta.brace.square.end.nushell"}}},{"match":"^\\s*(?:export )?use\\b","captures":{"0":{"name":"entity.name.function.nushell"}}}]},"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":{"name":"variable.other.nushell","match":"(?\u003c=\\)|\\}|\\])(?:\\.(?:[\\w-]+|\"[\\w\\- ]+\"))+"},"variables":{"match":"(\\$[a-zA-Z0-9_]+)((?:\\.(?:[\\w-]+|\"[\\w\\- ]+\"))*)","captures":{"1":{"patterns":[{"include":"#internal-variables"},{"name":"variable.other.nushell","match":"\\$.+"}]},"2":{"name":"variable.other.nushell"}}}}}
1
+ {"name":"nushell","scopeName":"source.nushell","patterns":[{"include":"#define-variable"},{"include":"#define-alias"},{"include":"#function"},{"include":"#extern"},{"include":"#module"},{"include":"#use-module"},{"include":"#expression"},{"include":"#comment"}],"repository":{"binary":{"name":"constant.binary.nushell","begin":"\\b(0x)(\\[)","end":"\\]","patterns":[{"name":"constant.numeric.nushell","match":"[0-9a-fA-F]{2}"}],"beginCaptures":{"1":{"name":"constant.numeric.nushell"},"2":{"name":"meta.brace.square.begin.nushell"}},"endCaptures":{"0":{"name":"meta.brace.square.begin.nushell"}}},"braced-expression":{"name":"meta.expression.braced.nushell","begin":"\\{","end":"\\}","patterns":[{"name":"meta.closure.parameters.nushell","begin":"(?\u003c=\\{)\\s*\\|","end":"\\|","patterns":[{"include":"#function-parameter"}]},{"match":"(\\w+)\\s*(:)\\s*","captures":{"1":{"name":"variable.other.nushell"},"2":{"name":"keyword.control.nushell"}}},{"name":"meta.record-entry.nushell","match":"(\\$\"((?:[^\"\\\\]|\\\\.)*)\")\\s*(:)\\s*","captures":{"1":{"name":"variable.other.nushell"},"2":{"name":"variable.other.nushell","patterns":[{"include":"#paren-expression"}]},"3":{"name":"keyword.control.nushell"}}},{"name":"meta.record-entry.nushell","match":"(\"(?:[^\"\\\\]|\\\\.)*\")\\s*(:)\\s*","captures":{"1":{"name":"variable.other.nushell"},"2":{"name":"keyword.control.nushell"}}},{"name":"meta.record-entry.nushell","match":"(\\$'([^']*)')\\s*(:)\\s*","captures":{"1":{"name":"variable.other.nushell"},"2":{"name":"variable.other.nushell","patterns":[{"include":"#paren-expression"}]},"3":{"name":"keyword.control.nushell"}}},{"name":"meta.record-entry.nushell","match":"('[^']*')\\s*(:)\\s*","captures":{"1":{"name":"variable.other.nushell"},"2":{"name":"keyword.control.nushell"}}},{"include":"#spread"},{"include":"source.nushell"}],"beginCaptures":{"0":{"name":"punctuation.section.block.begin.bracket.curly.nushell"}},"endCaptures":{"0":{"name":"punctuation.section.block.end.bracket.curly.nushell"}}},"command":{"name":"meta.command.nushell","begin":"(?\u003c!\\w)(?:(\\^)|(?![0-9]|\\$))([\\w.!]+(?:(?: (?!-)[\\w\\-.!]+(?:(?= |\\))|$)|[\\w\\-.!]+))*|(?\u003c=\\^)\\$?(?:\"[^\"]+\"|'[^']+'))","end":"(?=\\||\\)|\\}|;)|$","patterns":[{"include":"#parameters"},{"include":"#spread"},{"include":"#value"}],"beginCaptures":{"1":{"name":"keyword.operator.nushell"},"2":{"patterns":[{"include":"#control-keywords"},{"match":"(?:ansi|char) \\w+","captures":{"0":{"name":"keyword.other.builtin.nushell"}}},{"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(?:l|r)|sh(?:l|r)|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(?:e|l|ter)|nd|rst)|latten|or(?:mat(?: (?:bits|d(?:ate|uration)|filesize|number|pattern))?)?|rom(?: (?:csv|eml|i(?:cs|ni)|json|msgpack(?:z)?|nuon|ods|p(?:arquet|list)|ssv|t(?:oml|sv)|url|vcf|x(?:lsx|ml)|y(?:aml|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(?:cos(?:h)?|sin(?:h)?|tan(?:h)?)|vg)|c(?:eil|os(?:h)?)|exp|floor|l(?:n|og)|m(?:ax|edian|in|ode)|product|round|s(?:in(?:h)?|qrt|tddev|um)|tan(?:h)?|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-null|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-(?:external|internal))|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|sgpack(?:z)?)|nuon|p(?:arquet|list)|t(?:ext|oml|sv)|xml|y(?:aml|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":{"name":"keyword.other.builtin.nushell"},"2":{"patterns":[{"include":"#value"}]}}},{"name":"entity.name.type.external.nushell","match":"(?\u003c=\\^)(?:\\$(\"[^\"]+\"|'[^']+')|\"[^\"]+\"|'[^']+')","captures":{"1":{"patterns":[{"include":"#paren-expression"}]}}},{"match":"([\\w.]+(?:-[\\w.!]+)*)(?: (.*))?","captures":{"1":{"name":"entity.name.type.external.nushell"},"2":{"patterns":[{"include":"#value"}]}}},{"include":"#value"}]}}},"comment":{"name":"comment.nushell","match":"(#.*)$"},"constant-keywords":{"name":"constant.language.nushell","match":"\\b(?:true|false|null)\\b"},"constant-value":{"patterns":[{"include":"#constant-keywords"},{"include":"#datetime"},{"include":"#numbers"},{"include":"#numbers-hexa"},{"include":"#numbers-octal"},{"include":"#numbers-binary"},{"include":"#binary"}]},"control-keywords":{"name":"keyword.control.nushell","match":"(?\u003c![0-9a-zA-Z_\\-.\\/:\\\\])(?:break|continue|else(?: if)?|for|if|loop|mut|return|try|while)(?![0-9a-zA-Z_\\-.\\/:\\\\])"},"datetime":{"name":"constant.numeric.nushell","match":"\\b\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:\\+\\d{2}:?\\d{2}|Z)?)?\\b"},"define-alias":{"match":"((?:export )?alias)\\s+([\\w\\-!]+)\\s*(=)","captures":{"1":{"name":"entity.name.function.nushell"},"2":{"name":"entity.name.type.nushell"},"3":{"patterns":[{"include":"#operators"}]}}},"define-variable":{"match":"(let|mut|(?:export\\s+)?const)\\s+(\\w+)\\s+(=)","captures":{"1":{"name":"keyword.other.nushell"},"2":{"name":"variable.other.nushell"},"3":{"patterns":[{"include":"#operators"}]}}},"expression":{"patterns":[{"include":"#pre-command"},{"include":"#for-loop"},{"include":"#operators"},{"name":"keyword.control.nushell","match":"\\|"},{"include":"#control-keywords"},{"include":"#constant-value"},{"include":"#string-raw"},{"include":"#command"},{"include":"#value"}]},"extern":{"begin":"((?:export\\s+)?extern)\\s+([\\w\\-]+|\"[\\w\\- ]+\")","end":"(?\u003c=\\])","patterns":[{"include":"#function-parameters"}],"beginCaptures":{"1":{"name":"entity.name.function.nushell"},"2":{"name":"entity.name.type.nushell"}},"endCaptures":{"0":{"name":"punctuation.definition.function.end.nushell"}}},"for-loop":{"name":"meta.for-loop.nushell","begin":"(for)\\s+(\\$?\\w+)\\s+(in)\\s+(.+)\\s*(\\{)","end":"\\}","patterns":[{"include":"source.nushell"}],"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"}},"endCaptures":{"0":{"name":"punctuation.section.block.end.bracket.curly.nushell"}}},"function":{"begin":"((?:export\\s+)?def)(?:\\s+((?:--\\w+(?:\\s+--\\w+)*)))?\\s+([\\w\\-]+|\"[\\w\\- ]+\"|'[\\w\\- ]+'|`[\\w\\- ]+`)(?:\\s+((?:--\\w+(?:\\s+--\\w+)*)))?","end":"(?\u003c=\\})","patterns":[{"include":"#function-parameters"},{"include":"#function-body"},{"include":"#function-inout"}],"beginCaptures":{"1":{"name":"entity.name.function.nushell"},"2":{"name":"entity.name.function.nushell"},"3":{"name":"entity.name.type.nushell"},"4":{"name":"entity.name.function.nushell"}}},"function-body":{"name":"meta.function.body.nushell","begin":"\\{","end":"\\}","patterns":[{"include":"source.nushell"}],"beginCaptures":{"0":{"name":"punctuation.definition.function.begin.nushell"}},"endCaptures":{"0":{"name":"punctuation.definition.function.end.nushell"}}},"function-inout":{"patterns":[{"include":"#types"},{"name":"keyword.operator.nushell","match":"-\u003e"},{"include":"#function-multiple-inout"}]},"function-multiple-inout":{"end":"\\]","patterns":[{"include":"#types"},{"match":"\\s*(,)\\s*","captures":{"1":{"name":"punctuation.separator.nushell"}}},{"match":"\\s+(-\u003e)\\s+","captures":{"1":{"name":"keyword.operator.nushell"}}}],"beginCaptures":{"1":{"name":"punctuation.definition.in-out.nushell"},"2":{"name":"meta.brace.square.begin.nushell"}},"endCaptures":{"0":{"name":"meta.brace.square.end.nushell"}}},"function-parameter":{"patterns":[{"name":"variable.parameter.nushell","match":"(-{0,2}|\\.{3})[\\w-]+(?:\\((-[\\w?])\\))?","captures":{"1":{"name":"keyword.control.nushell"}}},{"begin":"\\??:\\s*","end":"(?=(?:\\s+(?:-{0,2}|\\.{3})[\\w-]+)|(?:\\s*(?:,|\\]|\\||@|=|#|$)))","patterns":[{"include":"#types"}]},{"begin":"@(?=\"|')","end":"(?\u003c=\"|')","patterns":[{"include":"#string"}]},{"name":"default.value.nushell","begin":"=\\s*","end":"(?=(?:\\s+-{0,2}[\\w-]+)|(?:\\s*(?:,|\\]|\\||#|$)))","patterns":[{"include":"#value"}]}]},"function-parameters":{"name":"meta.function.parameters.nushell","begin":"\\[","end":"\\]","patterns":[{"include":"#function-parameter"},{"include":"#comment"}],"beginCaptures":{"0":{"name":"meta.brace.square.begin.nushell"}},"endCaptures":{"0":{"name":"meta.brace.square.end.nushell"}}},"internal-variables":{"name":"variable.language.nushell","match":"\\$(?:nu|env)\\b"},"keyword":{"name":"keyword.other.nushell","match":"(?:def(?:-env)?)"},"module":{"name":"meta.module.nushell","begin":"((?:export\\s+)?module)\\s+([\\w\\-]+)\\s*\\{","end":"\\}","patterns":[{"include":"source.nushell"}],"beginCaptures":{"1":{"name":"entity.name.function.nushell"},"2":{"name":"entity.name.namespace.nushell"}},"endCaptures":{"0":{"name":"punctuation.definition.module.end.nushell"}}},"numbers":{"name":"constant.numeric.nushell","match":"(?\u003c![\\w-])_*+[-+]?_*+(?:(?i:NaN|infinity|inf)_*+|(?:\\d[\\d_]*+\\.?|\\._*+\\d)[\\d_]*+(?i:E_*+[-+]?_*+\\d[\\d_]*+)?)(?i:ns|us|µs|ms|sec|min|hr|day|wk|b|kb|mb|gb|tb|pt|eb|zb|kib|mib|gib|tib|pit|eib|zib)?(?:(?![\\w.])|(?=\\.\\.))"},"numbers-binary":{"name":"constant.numeric.nushell","match":"(?\u003c![\\w-])_*+0_*+b_*+[01][01_]*+(?![\\w.])"},"numbers-hexa":{"name":"constant.numeric.nushell","match":"(?\u003c![\\w-])_*+0_*+x_*+[0-9a-fA-F][0-9a-fA-F_]*+(?![\\w.])"},"numbers-octal":{"name":"constant.numeric.nushell","match":"(?\u003c![\\w-])_*+0_*+o_*+[0-7][0-7_]*+(?![\\w.])"},"operators":{"patterns":[{"include":"#operators-word"},{"include":"#operators-symbols"},{"include":"#ranges"}]},"operators-symbols":{"name":"keyword.control.nushell","match":"(?\u003c= )(?:(?:\\+|\\-|\\*|\\/)=?|\\/\\/|\\*\\*|!=|[\u003c\u003e=]=?|[!=]~|\\+\\+=?)(?= |$)"},"operators-word":{"name":"keyword.control.nushell","match":"(?\u003c= |\\()(?:mod|in|not-(?:in|like|has)|not|and|or|xor|bit-(?:or|and|xor|shl|shr)|starts-with|ends-with|like|has)(?= |\\)|$)"},"parameters":{"name":"variable.parameter.nushell","match":"(?\u003c=\\s)(-{1,2})[\\w-]+","captures":{"1":{"name":"keyword.control.nushell"}}},"paren-expression":{"name":"meta.expression.parenthesis.nushell","begin":"\\(","end":"\\)","patterns":[{"include":"#expression"}],"beginCaptures":{"0":{"name":"meta.brace.round.begin.nushell"}},"endCaptures":{"0":{"name":"meta.brace.round.end.nushell"}}},"pre-command":{"begin":"(\\w+)(=)","end":"(?=\\s+)","patterns":[{"include":"#value"}],"beginCaptures":{"1":{"name":"variable.other.nushell"},"2":{"patterns":[{"include":"#operators"}]}}},"ranges":{"name":"keyword.control.nushell","match":"\\.\\.\u003c?"},"spread":{"name":"keyword.control.nushell","match":"\\.\\.\\.(?=[^\\s\\]}])"},"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":{"name":"string.quoted.single.nushell","begin":"`","end":"`","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.nushell"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.nushell"}}},"string-bare":{"name":"string.bare.nushell","match":"[^$\\[{(\"',|#\\s|;][^\\[\\]{}()\"'\\s,|;]*"},"string-double-quote":{"name":"string.quoted.double.nushell","begin":"\"","end":"\"","patterns":[{"match":"\\w+"},{"include":"#string-escape"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.nushell"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.nushell"}}},"string-escape":{"name":"constant.character.escape.nushell","match":"\\\\(?:[bfrnt\\\\'\"/]|u[0-9a-fA-F]{4})"},"string-interpolated-double":{"name":"string.interpolated.double.nushell","begin":"\\$\"","end":"\"","patterns":[{"name":"constant.character.escape.nushell","match":"\\\\[()]"},{"include":"#string-escape"},{"include":"#paren-expression"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.nushell"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.nushell"}}},"string-interpolated-single":{"name":"string.interpolated.single.nushell","begin":"\\$'","end":"'","patterns":[{"include":"#paren-expression"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.nushell"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.nushell"}}},"string-raw":{"name":"string.raw.nushell","begin":"r(#+)'","end":"'\\1","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.nushell"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.nushell"}}},"string-single-quote":{"name":"string.quoted.single.nushell","begin":"'","end":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.nushell"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.nushell"}}},"table":{"name":"meta.table.nushell","begin":"\\[","end":"\\]","patterns":[{"include":"#spread"},{"include":"#value"},{"name":"punctuation.separator.nushell","match":","}],"beginCaptures":{"0":{"name":"meta.brace.square.begin.nushell"}},"endCaptures":{"0":{"name":"meta.brace.square.end.nushell"}}},"types":{"patterns":[{"name":"meta.list.nushell","begin":"\\b(list)\\s*\u003c","end":"\u003e","patterns":[{"include":"#types"}],"beginCaptures":{"1":{"name":"entity.name.type.nushell"}}},{"name":"meta.record.nushell","begin":"\\b(record)\\s*\u003c","end":"\u003e","patterns":[{"match":"([\\w\\-]+|\"[\\w\\- ]+\"|'[^']+')\\s*:\\s*","captures":{"1":{"name":"variable.parameter.nushell"}}},{"include":"#types"}],"beginCaptures":{"1":{"name":"entity.name.type.nushell"}}},{"name":"entity.name.type.nushell","match":"\\b(\\w+)\\b"}]},"use-module":{"patterns":[{"match":"^\\s*((?:export )?use)\\s+([\\w\\-]+|\"[\\w\\- ]+\"|'[\\w\\- ]+')(?:\\s+([\\w\\-]+|\"[\\w\\- ]+\"|'[\\w\\- ]+'|\\*))?\\s*;?$","captures":{"1":{"name":"entity.name.function.nushell"},"2":{"name":"entity.name.namespace.nushell"},"3":{"name":"keyword.other.nushell"}}},{"begin":"^\\s*((?:export )?use)\\s+([\\w\\-]+|\"[\\w\\- ]+\"|'[\\w\\- ]+')\\s*\\[","end":"(\\])\\s*;?\\s*$","patterns":[{"match":"([\\w\\-]+|\"[\\w\\- ]+\"|'[\\w\\- ]+'|\\*),?","captures":{"1":{"name":"keyword.other.nushell"}}},{"include":"#comment"}],"beginCaptures":{"1":{"name":"entity.name.function.nushell"},"2":{"name":"entity.name.namespace.nushell"}},"endCaptures":{"1":{"name":"meta.brace.square.end.nushell"}}},{"match":"(?\u003cpath\u003e(?:/|\\\\|~[\\/\\\\]|\\.\\.?[\\/\\\\])?(?:[^\\/\\\\]+[\\/\\\\])*[\\w\\- ]+(?:\\.nu)?){0}^\\s*((?:export )?use)\\s+(\"\\g\u003cpath\u003e\"|'\\g\u003cpath\u003e\\'|(?![\"'])\\g\u003cpath\u003e)(?:\\s+([\\w\\-]+|\"[\\w\\- ]+\"|'[^']+'|\\*))?\\s*;?$","captures":{"2":{"name":"entity.name.function.nushell"},"3":{"name":"string.bare.nushell","patterns":[{"match":"([\\w\\- ]+)(?:\\.nu)?(?=$|\"|')","captures":{"1":{"name":"entity.name.namespace.nushell"}}}]},"4":{"name":"keyword.other.nushell"}}},{"begin":"(?\u003cpath\u003e(?:/|\\\\|~[\\/\\\\]|\\.\\.?[\\/\\\\])?(?:[^\\/\\\\]+[\\/\\\\])*[\\w\\- ]+(?:\\.nu)?){0}^\\s*((?:export )?use)\\s+(\"\\g\u003cpath\u003e\"|'\\g\u003cpath\u003e\\'|(?![\"'])\\g\u003cpath\u003e)\\s+\\[","end":"(\\])\\s*;?\\s*$","patterns":[{"match":"([\\w\\-]+|\"[\\w\\- ]+\"|'[\\w\\- ]+'|\\*),?","captures":{"0":{"name":"keyword.other.nushell"}}},{"include":"#comment"}],"beginCaptures":{"2":{"name":"entity.name.function.nushell"},"3":{"name":"string.bare.nushell","patterns":[{"match":"([\\w\\- ]+)(?:\\.nu)?(?=$|\"|')","captures":{"1":{"name":"entity.name.namespace.nushell"}}}]}},"endCaptures":{"1":{"name":"meta.brace.square.end.nushell"}}},{"match":"^\\s*(?:export )?use\\b","captures":{"0":{"name":"entity.name.function.nushell"}}}]},"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":{"name":"variable.other.nushell","match":"(?\u003c=\\)|\\}|\\])(?:\\.(?:[\\w-]+|\"[\\w\\- ]+\"))+"},"variables":{"match":"(\\$[a-zA-Z0-9_]+)((?:\\.(?:[\\w-]+|\"[\\w\\- ]+\"))*)","captures":{"1":{"patterns":[{"include":"#internal-variables"},{"name":"variable.other.nushell","match":"\\$.+"}]},"2":{"name":"variable.other.nushell"}}}}}
@@ -1 +1 @@
1
- {"name":"Object Data Instance Notation","scopeName":"source.odin-ehr","patterns":[{"include":"#main"}],"repository":{"attribute":{"name":"entity.other.attribute-name.odin-ehr","match":"\\b(?=[a-z])[A-Za-z0-9_]+"},"block":{"name":"meta.block.odin-ehr","begin":"\u003c","end":"\u003e","patterns":[{"include":"#main"}],"beginCaptures":{"0":{"name":"punctuation.definition.block.begin.odin-ehr"}},"endCaptures":{"0":{"name":"punctuation.definition.block.end.odin-ehr"}}},"boolean":{"name":"constant.language.boolean.${1:/downcase}.odin-ehr","match":"(?i)\\b(False|True)\\b"},"comment":{"name":"comment.line.double-dash.odin-ehr","begin":"--","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment.odin-ehr"}}},"date":{"patterns":[{"match":"((\\d{4})(-)(\\d{2}|\\?{2})(-)(\\d{2}|\\?{2})(T))((\\d{2}|\\?{2})(:)(\\d{2}|\\?{2})(:)(\\d{2}|\\?{2}))","captures":{"1":{"name":"meta.date.partial.odin-ehr"},"10":{"name":"punctuation.separator.time.colon.odin-ehr"},"11":{"name":"constant.numeric.minute.odin-ehr"},"12":{"name":"punctuation.separator.time.colon.odin-ehr"},"13":{"name":"constant.numeric.second.odin-ehr"},"2":{"name":"constant.numeric.year.odin-ehr"},"3":{"name":"punctuation.separator.date.dash.odin-ehr"},"4":{"name":"constant.numeric.month.odin-ehr"},"5":{"name":"punctuation.separator.date.dash.odin-ehr"},"6":{"name":"constant.numeric.day.odin-ehr"},"7":{"name":"constant.language.datetime-separator.odin-ehr"},"8":{"name":"meta.time.partial.odin-ehr"},"9":{"name":"constant.numeric.hour.odin-ehr"}}},{"name":"meta.time.partial.odin-ehr","match":"(\\d{2})(:)(\\d{2}|\\?{2})(:)(\\?{2})","captures":{"1":{"name":"constant.numeric.hour.odin-ehr"},"2":{"name":"punctuation.separator.time.colon.odin-ehr"},"3":{"name":"constant.numeric.minute.odin-ehr"},"4":{"name":"punctuation.separator.time.colon.odin-ehr"},"5":{"name":"constant.numeric.second.odin-ehr"}}},{"name":"meta.date.partial.odin-ehr","match":"(\\d{4})(-)(\\d{2}|\\?{2})(-)(\\?{2})","captures":{"1":{"name":"constant.numeric.year.odin-ehr"},"2":{"name":"punctuation.separator.date.dash.odin-ehr"},"3":{"name":"constant.numeric.month.odin-ehr"},"4":{"name":"punctuation.separator.date.dash.odin-ehr"},"5":{"name":"constant.numeric.day.odin-ehr"}}},{"name":"meta.time.odin-ehr","match":"(\\d{2})(:)(\\d{2})(:)(\\d{2})((,)(\\d+))?(Z|([-+])\\d{4})?","captures":{"1":{"name":"constant.numeric.hour.odin-ehr"},"10":{"name":"punctuation.separator.timezone.odin-ehr"},"2":{"name":"punctuation.separator.time.colon.odin-ehr"},"3":{"name":"constant.numeric.minute.odin-ehr"},"4":{"name":"punctuation.separator.time.colon.odin-ehr"},"5":{"name":"constant.numeric.second.odin-ehr"},"6":{"name":"meta.time.fraction.odin-ehr"},"7":{"name":"punctuation.separator.time.comma.odin-ehr"},"8":{"name":"constant.numeric.second.odin-ehr"},"9":{"name":"constant.numeric.timezone.odin-ehr"}}},{"match":"((\\d{4})(-)(\\d{2})(-)(\\d{2})(T))((\\d{2})(?:(:)(\\d{2}))?)","captures":{"1":{"name":"meta.date.partial.odin-ehr"},"10":{"name":"punctuation.separator.time.colon.odin-ehr"},"11":{"name":"constant.numeric.minute.odin-ehr"},"2":{"name":"constant.numeric.year.odin-ehr"},"3":{"name":"punctuation.separator.date.dash.odin-ehr"},"4":{"name":"constant.numeric.month.odin-ehr"},"5":{"name":"punctuation.separator.date.dash.odin-ehr"},"6":{"name":"constant.numeric.day.odin-ehr"},"7":{"name":"constant.language.datetime-separator.odin-ehr"},"8":{"name":"meta.time.partial.odin-ehr"},"9":{"name":"constant.numeric.hour.odin-ehr"}}},{"name":"meta.date.odin-ehr","match":"(\\d{4})(-)(\\d{2})(-)(\\d{2})(T(?=\\d{2}))?","captures":{"1":{"name":"constant.numeric.year.odin-ehr"},"2":{"name":"punctuation.separator.date.dash.odin-ehr"},"3":{"name":"constant.numeric.month.odin-ehr"},"4":{"name":"punctuation.separator.date.dash.odin-ehr"},"5":{"name":"constant.numeric.day.odin-ehr"},"6":{"name":"constant.language.datetime-separator.odin-ehr"}}},{"name":"meta.date.partial.odin-ehr","match":"(\\d{4})(-)(\\d{2})","captures":{"1":{"name":"constant.numeric.year.odin-ehr"},"2":{"name":"punctuation.separator.date.dash.odin-ehr"},"3":{"name":"constant.numeric.month.odin-ehr"}}},{"name":"meta.time.partial.odin-ehr","match":"(\\d{2})(:)(\\d{2})","captures":{"1":{"name":"constant.numeric.hour.odin-ehr"},"2":{"name":"punctuation.separator.time.colon.odin-ehr"},"3":{"name":"constant.numeric.minute.odin-ehr"}}},{"name":"constant.other.duration.odin-ehr","match":"P(?:T?\\d+T?[YMWDHMS])+"}]},"escape":{"patterns":[{"name":"constant.character.escape.odin-ehr","match":"(\\\\)[rnt\\\\\"']","captures":{"1":{"name":"punctuation.definition.escape.backslash.odin-ehr"}}},{"name":"constant.character.escape.codepoint.odin-ehr","match":"(\\\\)u(?:[0-9A-Fa-f]{4}){1,2}","captures":{"1":{"name":"punctuation.definition.escape.backslash.odin-ehr"}}},{"name":"constant.character.entity.odin-ehr","match":"(\u0026)\\w+(;)","captures":{"1":{"name":"punctuation.definition.entity.begin.odin-ehr"},"2":{"name":"punctuation.definition.entity.end.odin-ehr"}}},{"name":"invalid.illegal.bad-escape.odin-ehr","match":"\\\\."}]},"infinity":{"name":"constant.language.numeric.infinity.odin-ehr","match":"(?i)(?:-|\\b)infinity\\b|\\*"},"interval":{"name":"meta.interval.odin-ehr","begin":"\\|","end":"\\|","patterns":[{"match":"([-+]?(?:[\\de]|\\.(?=[-+\\de]))+)(\\.\\.)","captures":{"1":{"patterns":[{"include":"etc#num"}]},"2":{"patterns":[{"include":"etc#dotPair"}]}}},{"name":"keyword.operator.comparison.odin-ehr","match":"\u003e=|\u003c=|\u003e|\u003c"},{"name":"keyword.operator.variance.odin-ehr","match":"\\+/-"},{"name":"invalid.illegal.unexpected-comma.odin-ehr","match":","},{"include":"#infinity"},{"include":"#date"},{"include":"etc#dotPair"},{"include":"etc#num"}],"beginCaptures":{"0":{"name":"punctuation.definition.interval.begin.odin─ehr"}},"endCaptures":{"0":{"name":"punctuation.definition.interval.end.odin─ehr"}}},"key":{"name":"meta.key.member.item-access.odin-ehr","begin":"\\[","end":"\\]","patterns":[{"include":"#main"}],"beginCaptures":{"0":{"patterns":[{"include":"etc#bracket"}]}},"endCaptures":{"0":{"patterns":[{"include":"etc#bracket"}]}}},"main":{"patterns":[{"include":"#comment"},{"include":"#string"},{"include":"#boolean"},{"include":"#date"},{"include":"#path"},{"include":"etc#num"},{"include":"etc#url"},{"include":"#interval"},{"include":"#schema"},{"include":"#attribute"},{"include":"#type"},{"include":"#block"},{"include":"#plugin"},{"include":"#typedef"},{"include":"#term"},{"include":"#key"},{"include":"#escape"},{"include":"etc#ellipsis"},{"name":"punctuation.delimiter.comma.odin-ehr","match":","},{"name":"keyword.operator.assignment.odin-ehr","match":"="},{"name":"punctuation.terminator.statement.odin-ehr","match":";"}]},"path":{"patterns":[{"name":"meta.path-segment.odin-ehr","contentName":"meta.object-id.odin-ehr","begin":"(?x)\n(?:(//?)([A-Za-z0-9_]+)|(//?))\n((\\[))","end":"(\\])","patterns":[{"include":"#main"}],"beginCaptures":{"1":{"patterns":[{"include":"#pathSep"}]},"2":{"patterns":[{"include":"#attribute"},{"include":"#type"}]},"3":{"patterns":[{"include":"#pathSep"}]},"4":{"name":"meta.object-id.odin-ehr"},"5":{"name":"punctuation.definition.object-id.begin.odin-ehr"}},"endCaptures":{"0":{"name":"meta.object-id.odin-ehr"},"1":{"name":"punctuation.definition.object-id.end.odin-ehr"}}},{"name":"meta.path-segment.odin-ehr","match":"(//?)([A-Za-z0-9_]+)","captures":{"1":{"patterns":[{"include":"#pathSep"}]},"2":{"patterns":[{"include":"#attribute"},{"include":"#type"}]}}},{"include":"#pathSep"}]},"pathSep":{"patterns":[{"name":"punctuation.separator.path.double-slash.odin-ehr","match":"//"},{"name":"punctuation.separator.path.slash.odin-ehr","match":"/"}]},"plugin":{"patterns":[{"name":"markup.code.other.odin-ehr","contentName":"source.embedded.${3:/downcase}.odin-ehr","begin":"((\\()\\s*(\\w+)\\s*(\\)))\\s*((\u003c#))","end":"(#\u003e)","patterns":[{"include":"#pluginInnards"}],"beginCaptures":{"1":{"name":"meta.type.odin-ehr"},"2":{"patterns":[{"include":"etc#bracket"}]},"3":{"name":"storage.type.class.syntax.odin-ehr"},"4":{"patterns":[{"include":"etc#bracket"}]},"5":{"name":"meta.block.plugin.odin-ehr"},"6":{"name":"punctuation.definition.plugin.block.begin.odin-ehr"}},"endCaptures":{"0":{"name":"meta.block.plugin.odin-ehr"},"1":{"name":"punctuation.definition.plugin.block.end.odin-ehr"}}},{"name":"meta.block.plugin.odin-ehr","contentName":"markup.raw.code.other.odin-ehr","begin":"\u003c#","end":"#\u003e","patterns":[{"include":"#pluginInnards"}],"beginCaptures":{"0":{"name":"punctuation.definition.block.begin.odin-ehr"}},"endCaptures":{"0":{"name":"punctuation.definition.block.end.odin-ehr"}}}]},"pluginInnards":{"patterns":[{"include":"#comment"},{"match":"{|}","captures":{"0":{"patterns":[{"include":"etc#bracket"}]}}}]},"schema":{"name":"variable.other.schema.odin-ehr","match":"(@)[A-Za-z0-9_]+","captures":{"1":{"name":"punctuation.definition.variable.schema.odin-ehr"}}},"string":{"patterns":[{"name":"string.quoted.double.odin-ehr","begin":"\"","end":"\"","patterns":[{"include":"#escape"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.odin-ehr"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.odin-ehr"}}},{"name":"string.quoted.single.odin-ehr","begin":"'","end":"'","patterns":[{"include":"#escape"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.odin-ehr"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.odin-ehr"}}}]},"term":{"name":"meta.coded-term.odin-ehr","begin":"\\[(?=[^\\]:]+::)","end":"\\]","patterns":[{"name":"constant.other.coded-term.name.odin-ehr","match":"\\G\\s*([-\\w]+)"},{"name":"punctuation.separator.key-value.odin-ehr","match":"::"},{"name":"constant.other.coded-term.code.odin-ehr","match":"[-.\\w]+"},{"include":"#termVersion"},{"include":"#main"}],"beginCaptures":{"0":{"name":"punctuation.definition.coded-term.begin.odin-ehr"}},"endCaptures":{"0":{"name":"punctuation.definition.coded-term.end.odin-ehr"}}},"termVersion":{"name":"meta.term-version.odin-ehr","begin":"\\(","end":"\\)","patterns":[{"include":"etc#num"},{"include":"#termVersion"}],"beginCaptures":{"0":{"patterns":[{"include":"etc#bracket"}]}},"endCaptures":{"0":{"patterns":[{"include":"etc#bracket"}]}}},"type":{"name":"storage.type.name.odin-ehr","match":"\\b(?=[A-Z])[A-Za-z0-9_]+"},"typedef":{"name":"meta.type.odin-ehr","begin":"\\(","end":"\\)","patterns":[{"include":"#main"}],"beginCaptures":{"0":{"patterns":[{"include":"etc#bracket"}]}},"endCaptures":{"0":{"patterns":[{"include":"etc#bracket"}]}}}}}
1
+ {"name":"Object Data Instance Notation","scopeName":"source.odin-ehr","patterns":[{"include":"#main"}],"repository":{"attribute":{"name":"entity.other.attribute-name.odin-ehr","match":"\\b(?=[a-z])[A-Za-z0-9_]+"},"block":{"name":"meta.block.odin-ehr","begin":"\u003c","end":"\u003e","patterns":[{"include":"#main"}],"beginCaptures":{"0":{"name":"punctuation.definition.block.begin.odin-ehr"}},"endCaptures":{"0":{"name":"punctuation.definition.block.end.odin-ehr"}}},"boolean":{"name":"constant.language.boolean.${1:/downcase}.odin-ehr","match":"(?i)\\b(False|True)\\b"},"comment":{"name":"comment.line.double-dash.odin-ehr","begin":"--","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment.odin-ehr"}}},"date":{"patterns":[{"match":"((\\d{4})(-)(\\d{2}|\\?{2})(-)(\\d{2}|\\?{2})(T))((\\d{2}|\\?{2})(:)(\\d{2}|\\?{2})(:)(\\d{2}|\\?{2}))","captures":{"1":{"name":"meta.date.partial.odin-ehr"},"10":{"name":"punctuation.separator.time.colon.odin-ehr"},"11":{"name":"constant.numeric.minute.odin-ehr"},"12":{"name":"punctuation.separator.time.colon.odin-ehr"},"13":{"name":"constant.numeric.second.odin-ehr"},"2":{"name":"constant.numeric.year.odin-ehr"},"3":{"name":"punctuation.separator.date.dash.odin-ehr"},"4":{"name":"constant.numeric.month.odin-ehr"},"5":{"name":"punctuation.separator.date.dash.odin-ehr"},"6":{"name":"constant.numeric.day.odin-ehr"},"7":{"name":"constant.language.datetime-separator.odin-ehr"},"8":{"name":"meta.time.partial.odin-ehr"},"9":{"name":"constant.numeric.hour.odin-ehr"}}},{"name":"meta.time.partial.odin-ehr","match":"(\\d{2})(:)(\\d{2}|\\?{2})(:)(\\?{2})","captures":{"1":{"name":"constant.numeric.hour.odin-ehr"},"2":{"name":"punctuation.separator.time.colon.odin-ehr"},"3":{"name":"constant.numeric.minute.odin-ehr"},"4":{"name":"punctuation.separator.time.colon.odin-ehr"},"5":{"name":"constant.numeric.second.odin-ehr"}}},{"name":"meta.date.partial.odin-ehr","match":"(\\d{4})(-)(\\d{2}|\\?{2})(-)(\\?{2})","captures":{"1":{"name":"constant.numeric.year.odin-ehr"},"2":{"name":"punctuation.separator.date.dash.odin-ehr"},"3":{"name":"constant.numeric.month.odin-ehr"},"4":{"name":"punctuation.separator.date.dash.odin-ehr"},"5":{"name":"constant.numeric.day.odin-ehr"}}},{"name":"meta.time.odin-ehr","match":"(\\d{2})(:)(\\d{2})(:)(\\d{2})((,)(\\d+))?(Z|([-+])\\d{4})?","captures":{"1":{"name":"constant.numeric.hour.odin-ehr"},"10":{"name":"punctuation.separator.timezone.odin-ehr"},"2":{"name":"punctuation.separator.time.colon.odin-ehr"},"3":{"name":"constant.numeric.minute.odin-ehr"},"4":{"name":"punctuation.separator.time.colon.odin-ehr"},"5":{"name":"constant.numeric.second.odin-ehr"},"6":{"name":"meta.time.fraction.odin-ehr"},"7":{"name":"punctuation.separator.time.comma.odin-ehr"},"8":{"name":"constant.numeric.second.odin-ehr"},"9":{"name":"constant.numeric.timezone.odin-ehr"}}},{"match":"((\\d{4})(-)(\\d{2})(-)(\\d{2})(T))((\\d{2})(?:(:)(\\d{2}))?)","captures":{"1":{"name":"meta.date.partial.odin-ehr"},"10":{"name":"punctuation.separator.time.colon.odin-ehr"},"11":{"name":"constant.numeric.minute.odin-ehr"},"2":{"name":"constant.numeric.year.odin-ehr"},"3":{"name":"punctuation.separator.date.dash.odin-ehr"},"4":{"name":"constant.numeric.month.odin-ehr"},"5":{"name":"punctuation.separator.date.dash.odin-ehr"},"6":{"name":"constant.numeric.day.odin-ehr"},"7":{"name":"constant.language.datetime-separator.odin-ehr"},"8":{"name":"meta.time.partial.odin-ehr"},"9":{"name":"constant.numeric.hour.odin-ehr"}}},{"name":"meta.date.odin-ehr","match":"(\\d{4})(-)(\\d{2})(-)(\\d{2})(T(?=\\d{2}))?","captures":{"1":{"name":"constant.numeric.year.odin-ehr"},"2":{"name":"punctuation.separator.date.dash.odin-ehr"},"3":{"name":"constant.numeric.month.odin-ehr"},"4":{"name":"punctuation.separator.date.dash.odin-ehr"},"5":{"name":"constant.numeric.day.odin-ehr"},"6":{"name":"constant.language.datetime-separator.odin-ehr"}}},{"name":"meta.date.partial.odin-ehr","match":"(\\d{4})(-)(\\d{2})","captures":{"1":{"name":"constant.numeric.year.odin-ehr"},"2":{"name":"punctuation.separator.date.dash.odin-ehr"},"3":{"name":"constant.numeric.month.odin-ehr"}}},{"name":"meta.time.partial.odin-ehr","match":"(\\d{2})(:)(\\d{2})","captures":{"1":{"name":"constant.numeric.hour.odin-ehr"},"2":{"name":"punctuation.separator.time.colon.odin-ehr"},"3":{"name":"constant.numeric.minute.odin-ehr"}}},{"name":"constant.other.duration.odin-ehr","match":"P(?:T?\\d+T?[YMWDHMS])+"}]},"escape":{"patterns":[{"name":"constant.character.escape.odin-ehr","match":"(\\\\)[rnt\\\\\"']","captures":{"1":{"name":"punctuation.definition.escape.backslash.odin-ehr"}}},{"name":"constant.character.escape.codepoint.odin-ehr","match":"(\\\\)u(?:[0-9A-Fa-f]{4}){1,2}","captures":{"1":{"name":"punctuation.definition.escape.backslash.odin-ehr"}}},{"name":"constant.character.entity.odin-ehr","match":"(\u0026)\\w+(;)","captures":{"1":{"name":"punctuation.definition.entity.begin.odin-ehr"},"2":{"name":"punctuation.definition.entity.end.odin-ehr"}}},{"name":"invalid.illegal.bad-escape.odin-ehr","match":"\\\\."}]},"infinity":{"name":"constant.language.numeric.infinity.odin-ehr","match":"(?i)(?:-|\\b)infinity\\b|\\*"},"interval":{"name":"meta.interval.odin-ehr","begin":"\\|","end":"\\|","patterns":[{"match":"([-+]?(?:[\\de]|\\.(?=[-+\\de]))+)(\\.\\.)","captures":{"1":{"patterns":[{"include":"etc#num"}]},"2":{"patterns":[{"include":"etc#dotPair"}]}}},{"name":"keyword.operator.comparison.odin-ehr","match":"\u003e=|\u003c=|\u003e|\u003c"},{"name":"keyword.operator.variance.odin-ehr","match":"\\+/-"},{"name":"invalid.illegal.unexpected-comma.odin-ehr","match":","},{"include":"#infinity"},{"include":"#date"},{"include":"etc#dotPair"},{"include":"etc#num"}],"beginCaptures":{"0":{"name":"punctuation.definition.interval.begin.odin-ehr"}},"endCaptures":{"0":{"name":"punctuation.definition.interval.end.odin-ehr"}}},"key":{"name":"meta.key.member.item-access.odin-ehr","begin":"\\[","end":"\\]","patterns":[{"include":"#main"}],"beginCaptures":{"0":{"patterns":[{"include":"etc#bracket"}]}},"endCaptures":{"0":{"patterns":[{"include":"etc#bracket"}]}}},"main":{"patterns":[{"include":"#comment"},{"include":"#string"},{"include":"#boolean"},{"include":"#date"},{"include":"#path"},{"include":"etc#num"},{"include":"etc#url"},{"include":"#interval"},{"include":"#schema"},{"include":"#attribute"},{"include":"#type"},{"include":"#block"},{"include":"#plugin"},{"include":"#typedef"},{"include":"#term"},{"include":"#key"},{"include":"#escape"},{"include":"etc#ellipsis"},{"name":"punctuation.delimiter.comma.odin-ehr","match":","},{"name":"keyword.operator.assignment.odin-ehr","match":"="},{"name":"punctuation.terminator.statement.odin-ehr","match":";"}]},"path":{"patterns":[{"name":"meta.path-segment.odin-ehr","contentName":"meta.object-id.odin-ehr","begin":"(?x)\n(?:(//?)([A-Za-z0-9_]+)|(//?))\n((\\[))","end":"(\\])","patterns":[{"include":"#main"}],"beginCaptures":{"1":{"patterns":[{"include":"#pathSep"}]},"2":{"patterns":[{"include":"#attribute"},{"include":"#type"}]},"3":{"patterns":[{"include":"#pathSep"}]},"4":{"name":"meta.object-id.odin-ehr"},"5":{"name":"punctuation.definition.object-id.begin.odin-ehr"}},"endCaptures":{"0":{"name":"meta.object-id.odin-ehr"},"1":{"name":"punctuation.definition.object-id.end.odin-ehr"}}},{"name":"meta.path-segment.odin-ehr","match":"(//?)([A-Za-z0-9_]+)","captures":{"1":{"patterns":[{"include":"#pathSep"}]},"2":{"patterns":[{"include":"#attribute"},{"include":"#type"}]}}},{"include":"#pathSep"}]},"pathSep":{"patterns":[{"name":"punctuation.separator.path.double-slash.odin-ehr","match":"//"},{"name":"punctuation.separator.path.slash.odin-ehr","match":"/"}]},"plugin":{"patterns":[{"name":"markup.code.other.odin-ehr","contentName":"source.embedded.${3:/downcase}.odin-ehr","begin":"((\\()\\s*(\\w+)\\s*(\\)))\\s*((\u003c#))","end":"(#\u003e)","patterns":[{"include":"#pluginInnards"}],"beginCaptures":{"1":{"name":"meta.type.odin-ehr"},"2":{"patterns":[{"include":"etc#bracket"}]},"3":{"name":"storage.type.class.syntax.odin-ehr"},"4":{"patterns":[{"include":"etc#bracket"}]},"5":{"name":"meta.block.plugin.odin-ehr"},"6":{"name":"punctuation.definition.plugin.block.begin.odin-ehr"}},"endCaptures":{"0":{"name":"meta.block.plugin.odin-ehr"},"1":{"name":"punctuation.definition.plugin.block.end.odin-ehr"}}},{"name":"meta.block.plugin.odin-ehr","contentName":"markup.raw.code.other.odin-ehr","begin":"\u003c#","end":"#\u003e","patterns":[{"include":"#pluginInnards"}],"beginCaptures":{"0":{"name":"punctuation.definition.block.begin.odin-ehr"}},"endCaptures":{"0":{"name":"punctuation.definition.block.end.odin-ehr"}}}]},"pluginInnards":{"patterns":[{"include":"#comment"},{"match":"{|}","captures":{"0":{"patterns":[{"include":"etc#bracket"}]}}}]},"schema":{"name":"variable.other.schema.odin-ehr","match":"(@)[A-Za-z0-9_]+","captures":{"1":{"name":"punctuation.definition.variable.schema.odin-ehr"}}},"string":{"patterns":[{"name":"string.quoted.double.odin-ehr","begin":"\"","end":"\"","patterns":[{"include":"#escape"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.odin-ehr"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.odin-ehr"}}},{"name":"string.quoted.single.odin-ehr","begin":"'","end":"'","patterns":[{"include":"#escape"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.odin-ehr"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.odin-ehr"}}}]},"term":{"name":"meta.coded-term.odin-ehr","begin":"\\[(?=[^\\]:]+::)","end":"\\]","patterns":[{"name":"constant.other.coded-term.name.odin-ehr","match":"\\G\\s*([-\\w]+)"},{"name":"punctuation.separator.key-value.odin-ehr","match":"::"},{"name":"constant.other.coded-term.code.odin-ehr","match":"[-.\\w]+"},{"include":"#termVersion"},{"include":"#main"}],"beginCaptures":{"0":{"name":"punctuation.definition.coded-term.begin.odin-ehr"}},"endCaptures":{"0":{"name":"punctuation.definition.coded-term.end.odin-ehr"}}},"termVersion":{"name":"meta.term-version.odin-ehr","begin":"\\(","end":"\\)","patterns":[{"include":"etc#num"},{"include":"#termVersion"}],"beginCaptures":{"0":{"patterns":[{"include":"etc#bracket"}]}},"endCaptures":{"0":{"patterns":[{"include":"etc#bracket"}]}}},"type":{"name":"storage.type.name.odin-ehr","match":"\\b(?=[A-Z])[A-Za-z0-9_]+"},"typedef":{"name":"meta.type.odin-ehr","begin":"\\(","end":"\\)","patterns":[{"include":"#main"}],"beginCaptures":{"0":{"patterns":[{"include":"etc#bracket"}]}},"endCaptures":{"0":{"patterns":[{"include":"etc#bracket"}]}}}}}
@@ -1 +1 @@
1
- {"name":"openqasm","scopeName":"source.openqasm","patterns":[{"include":"#comments"},{"include":"#keywords"},{"include":"#operators"},{"include":"#types"},{"include":"#constants"},{"include":"#strings"},{"include":"#brackets"},{"include":"#variables"}],"repository":{"brackets":{"patterns":[{"name":"punctuation.bracket.openqasm","match":"[\\[\\]\\(\\)\\{\\}]"}]},"comments":{"patterns":[{"name":"comment.line.double-slash","match":"//.*$"},{"name":"comment.block","begin":"/\\*","end":"\\*/"}]},"constants":{"patterns":[{"name":"constant.language.openqasm","match":"\\b(true|false|theta|pi|θ|π|ℇ|τ|euler|tau|λ|lambda|φ|phi|@)\\b"},{"name":"constant.numeric.openqasm","match":"\\b[\\d_]*\\.?[\\d_](im|dt|ns|us|ms|s|)?\\b"}]},"keywords":{"patterns":[{"name":"keyword.control.openqasm","match":"\\b(in|for|return|if|else|switch|while)\\b"},{"name":"keyword.other.openqasm","match":"\\b(OPENQASM|include|qubit|reset|mutable|readonly|#dim|stretch|delay|barrier|box|input|output|int|float|bit|bool|uint|angle|complex|const|defcal|def|gate|array|duration|let|measure|pragma|defcalgrammar|cal|qreg|creg|extern|port|frame|waveform)\\b"}]},"operators":{"patterns":[{"name":"keyword.other.operator.openqasm","match":"\\b(=)|(!)|(\u003c)|(\u003e)|(\\+)|(-)|(\\*)|(\\*\\*)|(\\/)|(\\^)|(%)|(\\|)|(\\\u0026)|(\\\u0026\\\u0026)|(\\~)|(\\|\\|)|(\u003c\u003c)|(\u003e\u003e)"}]},"strings":{"name":"string.quoted.double.openqasm","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.openqasm","match":"\\\\."}]},"types":{"patterns":[{"name":"storage.type.openqasm","match":"\\b(angle|bit|bool|complex|duration|float|int|stretch|uint|qreg|creg)(\\[[a-zA-Z_][a-zA-Z0-9_]*\\])?\\b"}]},"variables":{"patterns":[{"name":"variable.other.openqasm","match":"\\b([a-zA-Z_][a-zA-Z0-9_]*)\\b"}]}}}
1
+ {"name":"openqasm","scopeName":"source.openqasm","patterns":[{"include":"#comments"},{"include":"#keywords"},{"include":"#operators"},{"include":"#types"},{"include":"#constants"},{"include":"#strings"},{"include":"#brackets"},{"include":"#variables"}],"repository":{"brackets":{"patterns":[{"name":"punctuation.bracket.openqasm","match":"[\\[\\]\\(\\)\\{\\}]"}]},"comments":{"patterns":[{"name":"comment.line.double-slash","match":"//.*$"},{"name":"comment.block","begin":"/\\*","end":"\\*/"}]},"constants":{"patterns":[{"name":"constant.language.openqasm","match":"\\b(true|false|theta|pi|θ|π|ℇ|τ|euler|tau|λ|lambda|φ|phi|@)\\b"},{"name":"constant.numeric.openqasm","match":"\\b[\\d_]*\\.?[\\d_](im|dt|ns|us|ms|s|)?\\b"}]},"keywords":{"patterns":[{"name":"keyword.control.openqasm"},{"name":"keyword.other.openqasm"}]},"operators":{"patterns":[{"name":"keyword.other.operator.openqasm","match":"\\b(=)|(!)|(\u003c)|(\u003e)|(\\+)|(-)|(\\*)|(\\*\\*)|(\\/)|(\\^)|(%)|(\\|)|(\\\u0026)|(\\\u0026\\\u0026)|(\\~)|(\\|\\|)|(\u003c\u003c)|(\u003e\u003e)"}]},"strings":{"name":"string.quoted.double.openqasm","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.openqasm","match":"\\\\."}]},"types":{"patterns":[{"name":"storage.type.openqasm","match":"\\b(angle|bit|bool|complex|duration|float|int|stretch|uint|qreg|creg)(\\[[a-zA-Z_][a-zA-Z0-9_]*\\])?\\b"}]},"variables":{"patterns":[{"name":"variable.other.openqasm","match":"\\b([a-zA-Z_][a-zA-Z0-9_]*)\\b"}]}}}
@@ -1 +1 @@
1
- {"name":"PostScript","scopeName":"source.postscript","patterns":[{"name":"meta.document.pdf","begin":"\\A(?=%PDF)","end":"(?=A)B","patterns":[{"include":"#main"}]},{"name":"meta.ai-prefs.postscript","begin":"\\A(?=/(?:(?:Menus|collection1|precision) {|textImportantVisualLinesSnapping \\d)(?:\\r|$))","end":"(?=A)B","patterns":[{"include":"#main"}]},{"include":"#main"}],"repository":{"array":{"name":"meta.array.postscript","begin":"\\[","end":"\\]","patterns":[{"include":"#main"}],"beginCaptures":{"0":{"name":"punctuation.definition.array.begin.postscript"}},"endCaptures":{"0":{"name":"punctuation.definition.array.end.postscript"}}},"base85":{"name":"string.other.base85.postscript","begin":"\u003c~","end":"~\u003e","patterns":[{"name":"invalid.illegal.base85.char.postscript","match":"(?:[^!-uz\\s]|~(?!\u003e))++"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.postscript"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.postscript"}}},"comment":{"patterns":[{"name":"punctuation.whitespace.comment.leading.postscript","match":"^[ \\t]+(?=%)"},{"include":"#dsc"},{"name":"comment.line.percentage.postscript","begin":"%","end":"(?=$|\\r|\\f)","beginCaptures":{"0":{"name":"punctuation.definition.comment.postscript"}}}]},"compatibility":{"name":"keyword.operator.level-1.compatibility.postscript","match":"(?x) (?\u003c![^/\\s{}()\u003c\u003e\\[\\]%]) (?:\\b|(?=\\.))\n( 11x17tray\n| 11x17\n| a3tray\n| a3\n| a4small\n| a4tray\n| a4\n| accuratescreens\n| appletalktype\n| b5tray\n| b5\n| buildtime\n| byteorder\n| checkpassword\n| checkscreen\n| defaulttimeouts\n| devdismount\n| devforall\n| devformat\n| devmount\n| devstatus\n| diskonline\n| diskstatus\n| doprinterrors\n| dostartpage\n| dosysstart\n| duplexmode\n| emulate\n| firstside\n| hardwareiomode\n| initializedisk\n| jobname\n| jobtimeout\n| ledgertray\n| ledger\n| legaltray\n| legal\n| lettersmall\n| lettertray\n| letter\n| manualfeedtimeout\n| manualfeed\n| margins\n| mirrorprint\n| newsheet\n| note\n| pagecount\n| pagemargin\n| pageparams\n| pagestackorder\n| printername\n| processcolors\n| ramsize\n| realformat\n| resolution\n| sccbatch\n| sccinteractive\n| setaccuratescreens\n| setdefaulttimeouts\n| setdoprinterrors\n| setdostartpage\n| setdosysstart\n| setduplexmode\n| sethardwareiomode\n| setjobtimeout\n| setmargins\n| setmirrorprint\n| setpagemargin\n| setpageparams\n| setpagestackorder\n| setpage\n| setprintername\n| setresolution\n| setsccbatch\n| setsccinteractive\n| setsoftwareiomode\n| settumble\n| setuserdiskpercent\n| softwareiomode\n| tumble\n| userdiskpercent\n| waittimeout\n) \\b (?![^/\\s{}()\u003c\u003e\\[\\]%])"},"dictionary":{"name":"meta.dictionary.postscript","begin":"\u003c\u003c","end":"\u003e\u003e","patterns":[{"include":"#main"}],"beginCaptures":{"0":{"name":"punctuation.definition.dictionary.begin.postscript"}},"endCaptures":{"0":{"name":"punctuation.definition.dictionary.end.postscript"}}},"dsc":{"name":"meta.Document-Structuring-Comment.postscript","contentName":"string.unquoted.DSC.postscript","begin":"(?x) ^ (%%)\n( BeginBinary\n| BeginCustomColor\n| BeginData\n| BeginDefaults\n| BeginDocument\n| BeginEmulation\n| BeginExitServer\n| BeginFeature\n| BeginFile\n| BeginFont\n| BeginObject\n| BeginPageSetup\n| BeginPaperSize\n| BeginPreview\n| BeginProcSet\n| BeginProcessColor\n| BeginProlog\n| BeginResource\n| BeginSetup\n| BoundingBox\n| CMYKCustomColor\n| ChangeFont\n| Copyright\n| CreationDate\n| Creator\n| DocumentCustomColors\n| DocumentData\n| DocumentFonts\n| DocumentMedia\n| DocumentNeededFiles\n| DocumentNeededFonts\n| DocumentNeededProcSets\n| DocumentNeededResources\n| DocumentPaperColors\n| DocumentPaperForms\n| DocumentPaperSizes\n| DocumentPaperWeights\n| DocumentPrinterRequired\n| DocumentProcSets\n| DocumentProcessColors\n| DocumentSuppliedFiles\n| DocumentSuppliedFonts\n| DocumentSuppliedProcSets\n| DocumentSuppliedResources\n| EOF\n| Emulation\n| EndBinary\n| EndComments\n| EndCustomColor\n| EndData\n| EndDefaults\n| EndDocument\n| EndEmulation\n| EndExitServer\n| EndFeature\n| EndFile\n| EndFont\n| EndObject\n| EndPageSetup\n| EndPaperSize\n| EndPreview\n| EndProcSet\n| EndProcessColor\n| EndProlog\n| EndResource\n| EndSetup\n| ExecuteFile\n| Extensions\n| Feature\n| For\n| IncludeDocument\n| IncludeFeature\n| IncludeFile\n| IncludeFont\n| IncludeProcSet\n| IncludeResource\n| LanguageLevel\n| OperatorIntervention\n| OperatorMessage\n| Orientation\n| PageBoundingBox\n| PageCustomColors\n| PageFiles\n| PageFonts\n| PageMedia\n| PageOrder\n| PageOrientation\n| PageProcessColors\n| PageRequirements\n| PageResources\n| PageTrailer\n| Pages\n| Page\n| PaperColor\n| PaperForm\n| PaperSize\n| PaperWeight\n| ProofMode\n| RGBCustomColor\n| Requirements\n| Routing\n| Title\n| Trailer\n| VMlocation\n| VMusage\n| Version\n| \\+\n| \\?BeginFeatureQuery\n| \\?BeginFileQuery\n| \\?BeginFontListQuery\n| \\?BeginFontQuery\n| \\?BeginPrinterQuery\n| \\?BeginProcSetQuery\n| \\?BeginQuery\n| \\?BeginResourceListQuery\n| \\?BeginResourceQuery\n| \\?BeginVMStatus\n| \\?EndFeatureQuery\n| \\?EndFileQuery\n| \\?EndFontListQuery\n| \\?EndFontQuery\n| \\?EndPrinterQuery\n| \\?EndProcSetQuery\n| \\?EndQuery\n| \\?EndResourceListQuery\n| \\?EndResourceQuery\n| \\?EndVMStatus\n) (:)? [^\\S\\r\\n]*","end":"(?=$|\\r|\\f)","beginCaptures":{"0":{"name":"keyword.other.DSC.postscript"},"1":{"name":"punctuation.definition.keyword.DSC.postscript"},"3":{"name":"keyword.operator.assignment.key-value.colon.postscript"}}},"embedded":{"patterns":[{"contentName":"string.unquoted.heredoc.postscript","begin":"(?\u003c![^/\\s{}()\u003c\u003e\\[\\]%])\\b(currentfile)\\s+((?=\\S)[^{}%]+?)\\s+(readline)(?!\\s*})\\b(?![^/\\s{}()\u003c\u003e\\[\\]%])(?:$\\s*)?","end":"(?!\\G)$","beginCaptures":{"1":{"name":"keyword.operator.postscript"},"2":{"patterns":[{"include":"#main"}]},"3":{"name":"keyword.operator.postscript"}}},{"name":"meta.encrypted-source.base85.postscript","contentName":"string.other.base85.postscript","begin":"(?\u003c![^/\\s{}()\u003c\u003e\\[\\]%])\\b(currentfile)\\s*((/)ASCII85Decode)\\s+(filter)\\b(?![^/\\s{}()\u003c\u003e\\[\\]%])([^}\u003e\\]%]*?(?:exec|image|readstring)\\s*)$\\s*+","end":"~\u003e|(?=cleartomark|closefile)","beginCaptures":{"1":{"name":"keyword.operator.postscript"},"2":{"name":"variable.other.literal.postscript"},"3":{"name":"punctuation.definition.name.postscript"},"4":{"name":"keyword.operator.postscript"},"5":{"patterns":[{"include":"#main"}]}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.postscript"}}},{"name":"meta.encrypted-source.eexec.postscript","begin":"(?\u003c![^/\\s{}()\u003c\u003e\\[\\]%])\\b(currentfile)\\s+(eexec)(?:$|(?=.*[\\0-\\x08\\x14-\\x31\\x7F\\x80-\\x9F])(?=.{0,3}?[^A-Fa-f0-9]|\\b[A-Fa-f0-9]))","end":"(cleartomark|closefile)\\b(?![^/\\s{}()\u003c\u003e\\[\\]%])|(?\u003c=\\G)(?=[^\\s0-9A-Fa-f])","patterns":[{"begin":"\\G(?=\\s*$)","end":"(?=\\s*\\S)"},{"begin":"(?:\\G|(?\u003c=\\n|^))\\s*(?=\\S)","end":"(?!\\G)","patterns":[{"name":"string.other.raw.binary.postscript","contentName":"sublimelinter.gutter-mark","begin":"\\G(?!cleartomark|closefile)(?=.{0,3}?[^A-Fa-f0-9])","end":"(?=\\s*(?:cleartomark|closefile))"},{"name":"string.other.hexadecimal.postscript","begin":"\\G(?!cleartomark|closefile)(?=\\s{0,3}?(?:[A-Fa-f0-9]))","end":"(?=\\s*[^A-Fa-f0-9\\s]|cleartomark|closefile)"}]}],"beginCaptures":{"1":{"name":"keyword.operator.postscript"},"2":{"name":"keyword.operator.postscript"}},"endCaptures":{"1":{"name":"keyword.operator.postscript"}}}]},"embeddedRow":{"patterns":[{"name":"string.other.base85.postscript","match":"^[!-uz]{0,78}(~\u003e)","captures":{"1":{"name":"punctuation.definition.string.end.postscript"}}},{"name":"string.other.base85.postscript","begin":"(?x) ^\n(?= [^%\\[]*? \\]\n| [^%(]*? \\)\n| [^%\u003c]*? \u003e\n| .*? \u003c(?!~|\u003c) [A-Fa-f0-9]* [^~\u003eA-Fa-f0-9]\n) [!-uz]{60,80} [^\\S\\r\\n]* $","end":"^[!-uz]{0,78}(~\u003e)","endCaptures":{"0":{"name":"punctuation.definition.string.end.postscript"}}}]},"extensions":{"patterns":[{"name":"keyword.operator.distiller.postscript","match":"(?\u003c![^/\\s{}()\u003c\u003e\\[\\]%])\\b((?:current|set)distillerparams)\\b(?![^/\\s{}()\u003c\u003e\\[\\]%])"},{"name":"keyword.operator.ghostscript.postscript","match":"(?x) (?\u003c![^/\\s{}()\u003c\u003e\\[\\]%]) (?:\\b|(?=\\.))\n( \\.activatepathcontrol\n| \\.addcontrolpath\n| \\.begintransparencygroup\n| \\.begintransparencymaskgroup\n| \\.bind\n| \\.bindnow\n| \\.currentalphaisshape\n| \\.currentblendmode\n| \\.currentfillconstantalpha\n| \\.currentopacityalpha\n| \\.currentoverprintmode\n| \\.currentpathcontrolstate\n| \\.currentshapealpha\n| \\.currentstrokeconstantalpha\n| \\.currenttextknockout\n| \\.dicttomark\n| \\.endtransparencygroup\n| \\.endtransparencymask\n| \\.fileposition\n| \\.genordered\n| \\.knownget\n| \\.locksafe\n| \\.max\n| \\.min\n| \\.PDFClose\n| \\.PDFDrawAnnots\n| \\.PDFDrawPage\n| \\.PDFFile\n| \\.PDFInfo\n| \\.PDFInit\n| \\.PDFMetadata\n| \\.PDFPageInfo\n| \\.PDFPageInfoExt\n| \\.PDFStream\n| \\.popdf14devicefilter\n| \\.pushpdf14devicefilter\n| \\.setalphaisshape\n| \\.setblendmode\n| \\.setdebug\n| \\.setfillconstantalpha\n| \\.setopacityalpha\n| \\.setoverprintmode\n| \\.setsafe\n| \\.setshapealpha\n| \\.setstrokeconstantalpha\n| \\.settextknockout\n| \\.shellarguments\n| \\.tempfile\n| %Type1BuildChar\n| %Type1BuildGlyph\n| arccos\n| arcsin\n| copydevice\n| copyscanlines\n| currentdevice\n| dopdfpages\n| finddevice\n| findlibfile\n| findprotodevice\n| getdeviceprops\n| getenv\n| makeimagedevice\n| pdfclose\n| pdfgetpage\n| pdfopen\n| pdfshowpage\n| pdfshowpage_finish\n| pdfshowpage_init\n| pdfshowpage_setpage\n| putdeviceprops\n| runpdf\n| runpdfbegin\n| runpdfend\n| runpdfpagerange\n| setdevice\n) \\b (?![^/\\s{}()\u003c\u003e\\[\\]%])"}]},"hex":{"name":"string.other.hexadecimal.postscript","begin":"\u003c","end":"\u003e","patterns":[{"name":"invalid.illegal.hexadecimal.char.postscript","match":"[^\u003e0-9A-Fa-f\\s]+"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.postscript"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.postscript"}}},"main":{"patterns":[{"include":"#string"},{"include":"#comment"},{"include":"#dictionary"},{"include":"#array"},{"include":"#procedure"},{"include":"#base85"},{"include":"#hex"},{"include":"#radix"},{"include":"#number"},{"include":"#embedded"},{"include":"#operators"},{"include":"#extensions"},{"include":"#compatibility"},{"include":"#embeddedRow"},{"include":"#names"}]},"names":{"patterns":[{"name":"variable.other.constant.immediately-evaluated.postscript","match":"(//)[^()\u003c\u003e\\[\\]{}/%\\s]*","captures":{"1":{"name":"punctuation.definition.name.postscript"}}},{"name":"variable.other.constant.literal.postscript","match":"(/)[^()\u003c\u003e\\[\\]{}/%\\s]*","captures":{"1":{"name":"punctuation.definition.name.postscript"}}},{"name":"variable.other.executable.postscript","match":"[^()\u003c\u003e\\[\\]{}/%\\s]+"}]},"number":{"name":"constant.numeric.postscript","match":"[-+]?(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:[Ee][-+]?\\d+)?(?=$|[\\s\\[\\]{}(/%\u003c])"},"operators":{"patterns":[{"name":"keyword.operator.level-3.postscript","match":"(?x) (?\u003c![^/\\s{}()\u003c\u003e\\[\\]%]) \\b\n( GetHalftoneName\n| GetPageDeviceName\n| GetSubstituteCRD\n| StartData\n| StartData\n| addglyph\n| beginbfchar\n| beginbfrange\n| begincidchar\n| begincidrange\n| begincmap\n| begincodespacerange\n| beginnotdefchar\n| beginnotdefrange\n| beginrearrangedfont\n| beginusematrix\n| cliprestore\n| clipsave\n| composefont\n| currentsmoothness\n| currenttrapparams\n| endbfchar\n| endbfrange\n| endcidchar\n| endcidrange\n| endcmap\n| endcodespacerange\n| endnotdefchar\n| endnotdefrange\n| endrearrangedfont\n| endusematrix\n| findcolorrendering\n| removeall\n| removeglyphs\n| setsmoothness\n| settrapparams\n| settrapzone\n| shfill\n| usecmap\n| usefont\n) \\b (?![^/\\s{}()\u003c\u003e\\[\\]%])"},{"name":"keyword.operator.level-2.postscript","match":"(?x) (?\u003c![^/\\s{}()\u003c\u003e\\[\\]%]) \\b\n( GlobalFontDirectory\n| ISOLatin1Encoding\n| SharedFontDirectory\n| UserObjects\n| arct\n| colorimage\n| configurationerror\n| cshow\n| currentblackgeneration\n| currentcacheparams\n| currentcmykcolor\n| currentcolorrendering\n| currentcolorscreen\n| currentcolorspace\n| currentcolortransfer\n| currentcolor\n| currentdevparams\n| currentglobal\n| currentgstate\n| currenthalftone\n| currentobjectformat\n| currentoverprint\n| currentpacking\n| currentpagedevice\n| currentshared\n| currentstrokeadjust\n| currentsystemparams\n| currentundercolorremoval\n| currentuserparams\n| defineresource\n| defineuserobject\n| deletefile\n| execform\n| execuserobject\n| filenameforall\n| fileposition\n| filter\n| findencoding\n| findresource\n| gcheck\n| globaldict\n| glyphshow\n| gstate\n| ineofill\n| infill\n| instroke\n| inueofill\n| inufill\n| inustroke\n| languagelevel\n| makepattern\n| packedarray\n| printobject\n| product\n| realtime\n| rectclip\n| rectfill\n| rectstroke\n| renamefile\n| resourceforall\n| resourcestatus\n| revision\n| rootfont\n| scheck\n| selectfont\n| serialnumber\n| setbbox\n| setblackgeneration\n| setcachedevice2\n| setcacheparams\n| setcmykcolor\n| setcolorrendering\n| setcolorscreen\n| setcolorspace\n| setcolortransfer\n| setcolor\n| setdevparams\n| setfileposition\n| setglobal\n| setgstate\n| sethalftone\n| setobjectformat\n| setoverprint\n| setpacking\n| setpagedevice\n| setpattern\n| setshared\n| setstrokeadjust\n| setsystemparams\n| setucacheparams\n| setundercolorremoval\n| setuserparams\n| setvmthreshold\n| shareddict\n| startjob\n| uappend\n| ucachestatus\n| ucache\n| ueofill\n| ufill\n| undefinedresource\n| undefinefont\n| undefineresource\n| undefineuserobject\n| undef\n| upath\n| ustrokepath\n| ustroke\n| vmreclaim\n| writeobject\n| xshow\n| xyshow\n| yshow\n) \\b (?![^/\\s{}()\u003c\u003e\\[\\]%])"},{"name":"keyword.operator.level-1.postscript","match":"(?x) (?\u003c![^/\\s{}()\u003c\u003e\\[\\]%]) \\b\n( FontDirectory\n| StandardEncoding\n| VMerror\n| abs\n| add\n| aload\n| anchorsearch\n| and\n| arcn\n| arcto\n| arc\n| array\n| ashow\n| astore\n| atan\n| awidthshow\n| begin\n| bind\n| bitshift\n| bytesavailable\n| cachestatus\n| ceiling\n| charpath\n| cleardictstack\n| cleartomark\n| clear\n| clippath\n| clip\n| closefile\n| closepath\n| colorimage\n| concatmatrix\n| concat\n| condition\n| copypage\n| copy\n| cos\n| countdictstack\n| countexecstack\n| counttomark\n| count\n| currentcontext\n| currentdash\n| currentdict\n| currentfile\n| currentflat\n| currentfont\n| currentgray\n| currenthalftonephase\n| currenthsbcolor\n| currentlinecap\n| currentlinejoin\n| currentlinewidth\n| currentmatrix\n| currentmiterlimit\n| currentpoint\n| currentrgbcolor\n| currentscreen\n| currenttransfer\n| curveto\n| cvi\n| cvlit\n| cvn\n| cvrs\n| cvr\n| cvs\n| cvx\n| defaultmatrix\n| definefont\n| defineusername\n| def\n| detach\n| deviceinfo\n| dictfull\n| dictstackoverflow\n| dictstackunderflow\n| dictstack\n| dict\n| div\n| dtransform\n| dup\n| echo\n| eexec\n| end\n| eoclip\n| eofill\n| eoviewclip\n| eq\n| erasepage\n| errordict\n| exch\n| execstackoverflow\n| execstack\n| executeonly\n| executive\n| exec\n| exitserver\n| exit\n| exp\n| false\n| file\n| fill\n| findfont\n| flattenpath\n| floor\n| flushfile\n| flush\n| forall\n| fork\n| for\n| getinterval\n| get\n| ge\n| grestoreall\n| grestore\n| gsave\n| gt\n| handleerror\n| identmatrix\n| idiv\n| idtransform\n| ifelse\n| if\n| imagemask\n| image\n| index\n| initclip\n| initgraphics\n| initmatrix\n| initviewclip\n| internaldict\n| interrupt\n| invalidaccess\n| invalidcontext\n| invalidexit\n| invalidfileaccess\n| invalidfont\n| invalidid\n| invalidrestore\n| invertmatrix\n| ioerror\n| itransform\n| known\n| kshow\n| length\n| le\n| limitcheck\n| lineto\n| ln\n| load\n| lock\n| log\n| loop\n| lt\n| makefont\n| mark\n| matrix\n| maxlength\n| mod\n| monitor\n| moveto\n| mul\n| neg\n| newpath\n| ne\n| noaccess\n| nocurrentpoint\n| notify\n| not\n| nulldevice\n| null\n| or\n| pathbbox\n| pathforall\n| pdfmark\n| pop\n| print\n| prompt\n| pstack\n| putinterval\n| put\n| quit\n| rand\n| rangecheck\n| rcheck\n| rcurveto\n| readhexstring\n| readline\n| readonly\n| readstring\n| read\n| rectviewclip\n| repeat\n| resetfile\n| restore\n| reversepath\n| rlineto\n| rmoveto\n| roll\n| rotate\n| round\n| rrand\n| run\n| save\n| scalefont\n| scale\n| search\n| serverdict\n| setcachedevice\n| setcachelimit\n| setcharwidth\n| setdash\n| setflat\n| setfont\n| setgray\n| sethalftonephase\n| sethsbcolor\n| setlinecap\n| setlinejoin\n| setlinewidth\n| setmatrix\n| setmiterlimit\n| setrgbcolor\n| setscreen\n| settransfer\n| showpage\n| show\n| sin\n| sqrt\n| srand\n| stackoverflow\n| stackunderflow\n| stack\n| start\n| statusdict\n| status\n| stopped\n| stop\n| store\n| stringwidth\n| string\n| strokepath\n| stroke\n| sub\n| syntaxerror\n| systemdict\n| timeout\n| token\n| transform\n| translate\n| true\n| truncate\n| typecheck\n| type\n| undefinedfilename\n| undefinedresult\n| undefined\n| unmatchedmark\n| unregistered\n| userdict\n| usertime\n| version\n| viewclippath\n| viewclip\n| vmstatus\n| wait\n| wcheck\n| where\n| widthshow\n| writehexstring\n| writestring\n| write\n| wtranslation\n| xcheck\n| xor\n| yield\n) \\b (?![^/\\s{}()\u003c\u003e\\[\\]%])\n|\n# Stuff that starts with a non-word character\n(?\u003c=^|[/\\s{}()\u003c\u003e\\[\\]%])\n(=?=|\\$error)\n(?=$|[/\\s{}()\u003c\u003e\\[\\]%])"}]},"procedure":{"name":"meta.procedure.postscript","begin":"{","end":"}","patterns":[{"include":"#main"}],"beginCaptures":{"0":{"name":"punctuation.definition.procedure.begin.postscript"}},"endCaptures":{"0":{"name":"punctuation.definition.procedure.end.postscript"}}},"radix":{"name":"constant.numeric.radix.postscript","match":"[0-3]?[0-9]#[0-9a-zA-Z]+"},"specialFiles":{"patterns":[{"name":"constant.language.device-name.$2-device.postscript","match":"\\G(%)([-\\w]+)(?=%|\\)|$)(%)?","captures":{"1":{"name":"punctuation.definition.device-name.begin.postscript"},"3":{"name":"punctuation.definition.device-name.end.postscript"}}},{"name":"constant.language.special-file.stdio.$2.postscript","match":"\\G(%)(stderr|stdin|stdout)(?=\\)|$)","captures":{"1":{"name":"punctuation.definition.special-file.begin.postscript"},"3":{"name":"punctuation.definition.special-file.end.postscript"}}},{"name":"constant.language.special-file.interactive.$2.postscript","match":"\\G(%)(lineedit|statementedit)(?=\\)|$)","captures":{"1":{"name":"punctuation.definition.special-file.begin.postscript"},"3":{"name":"punctuation.definition.special-file.end.postscript"}}}]},"string":{"name":"string.other.postscript","begin":"\\(","end":"\\)","patterns":[{"include":"#stringInnards"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.postscript"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.postscript"}}},"stringInnards":{"patterns":[{"include":"#specialFiles"},{"name":"constant.numeric.octal.postscript","match":"\\\\[0-7]{1,3}"},{"name":"constant.character.escape.postscript","match":"\\\\(\\\\|[bfnrt()]|[0-7]{1,3}|\\r?\\n)"},{"name":"invalid.illegal.unknown-escape.postscript.ignored","match":"\\\\"},{"begin":"\\(","end":"\\)","patterns":[{"include":"#stringInnards"}]}]}},"injections":{"L:source.postscript meta.ai-prefs.postscript - (comment | string | source.embedded | text.embedded)":{"patterns":[{"name":"meta.obfuscated-setting.ai-prefs.postscript","contentName":"meta.array.postscript","begin":"^\\s*(/(?:\\\\.|[^()\u003c\u003e\\[\\]{}/%\\s])*) ((\\[) (?!0\\b)(\\d+)(?:$|\\r))","end":"^\\s*(\\])|\\G(?!$)|(?!\\G)^(?!\\s*(?:\\]|[A-Fa-f0-9]+$))","patterns":[{"name":"string.other.hexadecimal.postscript","match":"[A-Fa-f0-9]+"}],"beginCaptures":{"1":{"patterns":[{"include":"$self"}]},"2":{"name":"meta.array.postscript"},"3":{"name":"punctuation.definition.array.begin.postscript"},"4":{"name":"constant.numeric.postscript"}},"endCaptures":{"0":{"name":"meta.array.postscript"},"1":{"name":"punctuation.definition.array.end.postscript"}}},{"name":"variable.other.constant.literal.postscript","match":"(/)((?:\\\\.|[^()\u003c\u003e\\[\\]{}/%\\s])*)","captures":{"1":{"name":"punctuation.definition.name.postscript"},"2":{"patterns":[{"name":"constant.character.escape.postscript","match":"(\\\\).","captures":{"1":{"name":"punctuation.definition.escape.backslash.postscript"}}}]}}},{"name":"constant.numeric.integer.long.postscript","match":"[0-9]+L"}]},"L:source.postscript meta.document.pdf - (meta.encrypted-source | source.embedded | text.embedded)":{"patterns":[{"name":"meta.encrypted-source.stream.pdf","begin":"(?:^|(?\u003c=\u003e\u003e)\\s*)(?=stream$)","end":"endstream|(?=endobj\\b)","patterns":[{"begin":"\\G(stream)\\s*$\\s*","end":"(?=endstream|(?=endobj\\b))","patterns":[{"contentName":"text.embedded.xml","begin":"(\u003c\\?xpacket(?=\\s)[^\u003e]+\\?\u003e)(?=$|\u003cx:xmpmeta)","end":"(\u003c\\?xpacket(?=\\s)[^\u003e]*end\\b[^\u003e]*\\?\u003e)|(?=\\s*(?:endstream|endobj\\b))","patterns":[{"include":"text.xml"}],"beginCaptures":{"1":{"name":"text.embedded.xml","patterns":[{"include":"text.xml"}]}},"endCaptures":{"1":{"name":"text.embedded.xml","patterns":[{"include":"text.xml"}]}}},{"name":"string.other.base85.pdf","begin":"(?!endstream)[!-uz]{50,80}\\s*$","end":"~\u003e|(?=\\s*(?:endstream|endobj\\b))","endCaptures":{"0":{"name":"punctuation.definition.string.end.pdf"}}},{"name":"string.other.raw.binary.pdf","contentName":"sublimelinter.gutter-mark","begin":"(?!endstream|[!-uz]{50,80}\\s*$)(?:(?\u003c=[\\n\\r]|\\G|^))(?=.)","end":"(?=\\s*(?:endstream|endobj\\b))"}],"beginCaptures":{"1":{"name":"keyword.control.stream.begin.pdf"}}}],"endCaptures":{"0":{"name":"keyword.control.stream.end.pdf"}}},{"match":"(?\u003c![^/\\s{}()\u003c\u003e\\[\\]%])\\b(obj)\\s*(?=\u003c\u003c|$)|(?\u003c=^|\\n|\u003e\u003e)(endobj)","captures":{"1":{"name":"keyword.control.object.begin.pdf"},"2":{"name":"keyword.control.object.end.pdf"}}},{"name":"keyword.control.$1.pdf","match":"(?\u003c![^/\\s{}()\u003c\u003e\\[\\]%])\\b(trailer|startxref)(?![^/\\s{}()\u003c\u003e\\[\\]%])"}]},"L:source.postscript meta.procedure.postscript - (comment | string | text.embedded)":{"patterns":[{"match":"\\s*(?\u003c=^|\\G|[\\[{\\s])\\b(currentfile)\\b(?=[\\[{\\s])","captures":{"1":{"name":"keyword.operator.postscript"}}}]}}}
1
+ {"name":"PostScript","scopeName":"source.postscript","patterns":[{"name":"meta.document.pdf","begin":"\\A(?=%PDF)","end":"(?=A)B","patterns":[{"include":"#main"}]},{"name":"meta.ai-prefs.postscript","begin":"\\A(?=/(?:(?:Menus|collection1|precision) {|textImportantVisualLinesSnapping \\d)(?:\\r|$))","end":"(?=A)B","patterns":[{"include":"#main"}]},{"include":"#main"}],"repository":{"array":{"name":"meta.array.postscript","begin":"\\[","end":"\\]","patterns":[{"include":"#main"}],"beginCaptures":{"0":{"name":"punctuation.definition.array.begin.postscript"}},"endCaptures":{"0":{"name":"punctuation.definition.array.end.postscript"}}},"base85":{"name":"string.other.base85.postscript","begin":"\u003c~","end":"~\u003e","patterns":[{"name":"invalid.illegal.base85.char.postscript","match":"(?:[^!-uz\\s]|~(?!\u003e))++"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.postscript"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.postscript"}}},"comment":{"patterns":[{"name":"punctuation.whitespace.comment.leading.postscript","match":"^[ \\t]+(?=%)"},{"include":"#dsc"},{"name":"comment.line.percentage.postscript","begin":"%","end":"(?=$|\\r|\\f)","beginCaptures":{"0":{"name":"punctuation.definition.comment.postscript"}}}]},"compatibility":{"name":"keyword.operator.level-1.compatibility.postscript","match":"(?x) (?\u003c![^/\\s{}()\u003c\u003e\\[\\]%]) (?:\\b|(?=\\.))\n( 11x17tray\n| 11x17\n| a3tray\n| a3\n| a4small\n| a4tray\n| a4\n| accuratescreens\n| appletalktype\n| b5tray\n| b5\n| buildtime\n| byteorder\n| checkpassword\n| checkscreen\n| defaulttimeouts\n| devdismount\n| devforall\n| devformat\n| devmount\n| devstatus\n| diskonline\n| diskstatus\n| doprinterrors\n| dostartpage\n| dosysstart\n| duplexmode\n| emulate\n| firstside\n| hardwareiomode\n| initializedisk\n| jobname\n| jobtimeout\n| ledgertray\n| ledger\n| legaltray\n| legal\n| lettersmall\n| lettertray\n| letter\n| manualfeedtimeout\n| manualfeed\n| margins\n| mirrorprint\n| newsheet\n| note\n| pagecount\n| pagemargin\n| pageparams\n| pagestackorder\n| printername\n| processcolors\n| ramsize\n| realformat\n| resolution\n| sccbatch\n| sccinteractive\n| setaccuratescreens\n| setdefaulttimeouts\n| setdoprinterrors\n| setdostartpage\n| setdosysstart\n| setduplexmode\n| sethardwareiomode\n| setjobtimeout\n| setmargins\n| setmirrorprint\n| setpagemargin\n| setpageparams\n| setpagestackorder\n| setpage\n| setprintername\n| setresolution\n| setsccbatch\n| setsccinteractive\n| setsoftwareiomode\n| settumble\n| setuserdiskpercent\n| softwareiomode\n| tumble\n| userdiskpercent\n| waittimeout\n) \\b (?![^/\\s{}()\u003c\u003e\\[\\]%])"},"dictionary":{"name":"meta.dictionary.postscript","begin":"\u003c\u003c","end":"\u003e\u003e","patterns":[{"include":"#main"}],"beginCaptures":{"0":{"name":"punctuation.definition.dictionary.begin.postscript"}},"endCaptures":{"0":{"name":"punctuation.definition.dictionary.end.postscript"}}},"dsc":{"name":"meta.Document-Structuring-Comment.postscript","contentName":"string.unquoted.DSC.postscript","begin":"(?x) ^ (%%)\n( BeginBinary\n| BeginCustomColor\n| BeginData\n| BeginDefaults\n| BeginDocument\n| BeginEmulation\n| BeginExitServer\n| BeginFeature\n| BeginFile\n| BeginFont\n| BeginObject\n| BeginPageSetup\n| BeginPaperSize\n| BeginPreview\n| BeginProcSet\n| BeginProcessColor\n| BeginProlog\n| BeginResource\n| BeginSetup\n| BoundingBox\n| CMYKCustomColor\n| ChangeFont\n| Copyright\n| CreationDate\n| Creator\n| DocumentCustomColors\n| DocumentData\n| DocumentFonts\n| DocumentMedia\n| DocumentNeededFiles\n| DocumentNeededFonts\n| DocumentNeededProcSets\n| DocumentNeededResources\n| DocumentPaperColors\n| DocumentPaperForms\n| DocumentPaperSizes\n| DocumentPaperWeights\n| DocumentPrinterRequired\n| DocumentProcSets\n| DocumentProcessColors\n| DocumentSuppliedFiles\n| DocumentSuppliedFonts\n| DocumentSuppliedProcSets\n| DocumentSuppliedResources\n| EOF\n| Emulation\n| EndBinary\n| EndComments\n| EndCustomColor\n| EndData\n| EndDefaults\n| EndDocument\n| EndEmulation\n| EndExitServer\n| EndFeature\n| EndFile\n| EndFont\n| EndObject\n| EndPageSetup\n| EndPaperSize\n| EndPreview\n| EndProcSet\n| EndProcessColor\n| EndProlog\n| EndResource\n| EndSetup\n| ExecuteFile\n| Extensions\n| Feature\n| For\n| IncludeDocument\n| IncludeFeature\n| IncludeFile\n| IncludeFont\n| IncludeProcSet\n| IncludeResource\n| LanguageLevel\n| OperatorIntervention\n| OperatorMessage\n| Orientation\n| PageBoundingBox\n| PageCustomColors\n| PageFiles\n| PageFonts\n| PageMedia\n| PageOrder\n| PageOrientation\n| PageProcessColors\n| PageRequirements\n| PageResources\n| PageTrailer\n| Pages\n| Page\n| PaperColor\n| PaperForm\n| PaperSize\n| PaperWeight\n| ProofMode\n| RGBCustomColor\n| Requirements\n| Routing\n| Title\n| Trailer\n| VMlocation\n| VMusage\n| Version\n| \\+\n| \\?BeginFeatureQuery\n| \\?BeginFileQuery\n| \\?BeginFontListQuery\n| \\?BeginFontQuery\n| \\?BeginPrinterQuery\n| \\?BeginProcSetQuery\n| \\?BeginQuery\n| \\?BeginResourceListQuery\n| \\?BeginResourceQuery\n| \\?BeginVMStatus\n| \\?EndFeatureQuery\n| \\?EndFileQuery\n| \\?EndFontListQuery\n| \\?EndFontQuery\n| \\?EndPrinterQuery\n| \\?EndProcSetQuery\n| \\?EndQuery\n| \\?EndResourceListQuery\n| \\?EndResourceQuery\n| \\?EndVMStatus\n) (:)? [^\\S\\r\\n]*","end":"(?=$|\\r|\\f)","beginCaptures":{"0":{"name":"keyword.other.DSC.postscript"},"1":{"name":"punctuation.definition.keyword.DSC.postscript"},"3":{"name":"keyword.operator.assignment.key-value.colon.postscript"}}},"embedded":{"patterns":[{"contentName":"string.unquoted.heredoc.postscript","begin":"(?\u003c![^/\\s{}()\u003c\u003e\\[\\]%])\\b(currentfile)\\s+((?=\\S)[^{}%]+?)\\s+(readline)(?!\\s*})\\b(?![^/\\s{}()\u003c\u003e\\[\\]%])(?:$\\s*)?","end":"(?!\\G)$","beginCaptures":{"1":{"name":"keyword.operator.postscript"},"2":{"patterns":[{"include":"#main"}]},"3":{"name":"keyword.operator.postscript"}}},{"name":"meta.encrypted-source.base85.postscript","contentName":"string.other.base85.postscript","begin":"(?\u003c![^/\\s{}()\u003c\u003e\\[\\]%])\\b(currentfile)\\s*((/)ASCII85Decode)\\s+(filter)\\b(?![^/\\s{}()\u003c\u003e\\[\\]%])([^}\u003e\\]%]*?(?:exec|image|readstring)\\s*)$\\s*+","end":"~\u003e|(?=cleartomark|closefile)","beginCaptures":{"1":{"name":"keyword.operator.postscript"},"2":{"name":"variable.other.literal.postscript"},"3":{"name":"punctuation.definition.name.postscript"},"4":{"name":"keyword.operator.postscript"},"5":{"patterns":[{"include":"#main"}]}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.postscript"}}},{"name":"meta.encrypted-source.eexec.postscript","begin":"(?\u003c![^/\\s{}()\u003c\u003e\\[\\]%])\\b(currentfile)\\s+(eexec)(?:$|(?=.*[\\0-\\x08\\x14-\\x31\\x7F\\x80-\\x9F])(?=.{0,3}?[^A-Fa-f0-9]|\\b[A-Fa-f0-9]))","end":"(cleartomark|closefile)\\b(?![^/\\s{}()\u003c\u003e\\[\\]%])|(?\u003c=\\G)(?=[^\\s0-9A-Fa-f])","patterns":[{"begin":"\\G(?=\\s*$)","end":"(?=\\s*\\S)"},{"begin":"(?:\\G|(?\u003c=\\n|^))\\s*(?=\\S)","end":"(?!\\G)","patterns":[{"name":"string.other.raw.binary.postscript","contentName":"sublimelinter.gutter-mark","begin":"\\G(?!cleartomark|closefile)(?=.{0,3}?[^A-Fa-f0-9])","end":"(?=\\s*(?:cleartomark|closefile))"},{"name":"string.other.hexadecimal.postscript","begin":"\\G(?!cleartomark|closefile)(?=\\s{0,3}?(?:[A-Fa-f0-9]))","end":"(?=\\s*[^A-Fa-f0-9\\s]|cleartomark|closefile)"}]}],"beginCaptures":{"1":{"name":"keyword.operator.postscript"},"2":{"name":"keyword.operator.postscript"}},"endCaptures":{"1":{"name":"keyword.operator.postscript"}}}]},"embeddedRow":{"patterns":[{"name":"string.other.base85.postscript","match":"^[!-uz]{0,78}(~\u003e)","captures":{"1":{"name":"punctuation.definition.string.end.postscript"}}},{"name":"string.other.base85.postscript","begin":"(?x) ^\n(?= [^%\\[]*? \\]\n| [^%(]*? \\)\n| [^%\u003c]*? \u003e\n| .*? \u003c(?!~|\u003c) [A-Fa-f0-9]* [^~\u003eA-Fa-f0-9]\n) [!-uz]{60,80} [^\\S\\r\\n]* $","end":"^[!-uz]{0,78}(~\u003e)","endCaptures":{"0":{"name":"punctuation.definition.string.end.postscript"}}}]},"extensions":{"patterns":[{"name":"keyword.operator.distiller.postscript","match":"(?\u003c![^/\\s{}()\u003c\u003e\\[\\]%])\\b((?:current|set)distillerparams)\\b(?![^/\\s{}()\u003c\u003e\\[\\]%])"},{"name":"keyword.operator.ghostscript.postscript","match":"(?x) (?\u003c![^/\\s{}()\u003c\u003e\\[\\]%]) (?:\\b|(?=\\.))\n( \\.activatepathcontrol\n| \\.addcontrolpath\n| \\.begintransparencygroup\n| \\.begintransparencymaskgroup\n| \\.bind\n| \\.bindnow\n| \\.currentalphaisshape\n| \\.currentblendmode\n| \\.currentfillconstantalpha\n| \\.currentopacityalpha\n| \\.currentoverprintmode\n| \\.currentpathcontrolstate\n| \\.currentshapealpha\n| \\.currentstrokeconstantalpha\n| \\.currenttextknockout\n| \\.dicttomark\n| \\.endtransparencygroup\n| \\.endtransparencymask\n| \\.fileposition\n| \\.genordered\n| \\.knownget\n| \\.locksafe\n| \\.max\n| \\.min\n| \\.PDFClose\n| \\.PDFDrawAnnots\n| \\.PDFDrawPage\n| \\.PDFFile\n| \\.PDFInfo\n| \\.PDFInit\n| \\.PDFMetadata\n| \\.PDFPageInfo\n| \\.PDFPageInfoExt\n| \\.PDFStream\n| \\.popdf14devicefilter\n| \\.pushpdf14devicefilter\n| \\.setalphaisshape\n| \\.setblendmode\n| \\.setdebug\n| \\.setfillconstantalpha\n| \\.setopacityalpha\n| \\.setoverprintmode\n| \\.setsafe\n| \\.setshapealpha\n| \\.setstrokeconstantalpha\n| \\.settextknockout\n| \\.shellarguments\n| \\.tempfile\n| %Type1BuildChar\n| %Type1BuildGlyph\n| arccos\n| arcsin\n| copydevice\n| copyscanlines\n| currentdevice\n| dopdfpages\n| finddevice\n| findlibfile\n| findprotodevice\n| getdeviceprops\n| getenv\n| makeimagedevice\n| pdfclose\n| pdfgetpage\n| pdfopen\n| pdfshowpage\n| pdfshowpage_finish\n| pdfshowpage_init\n| pdfshowpage_setpage\n| putdeviceprops\n| runpdf\n| runpdfbegin\n| runpdfend\n| runpdfpagerange\n| setdevice\n) \\b (?![^/\\s{}()\u003c\u003e\\[\\]%])"}]},"hex":{"name":"string.other.hexadecimal.postscript","begin":"\u003c","end":"\u003e","patterns":[{"name":"invalid.illegal.hexadecimal.char.postscript","match":"[^\u003e0-9A-Fa-f\\s]+"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.postscript"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.postscript"}}},"main":{"patterns":[{"include":"#string"},{"include":"#comment"},{"include":"#dictionary"},{"include":"#array"},{"include":"#procedure"},{"include":"#base85"},{"include":"#hex"},{"include":"#radix"},{"include":"#number"},{"include":"#embedded"},{"include":"#operators"},{"include":"#extensions"},{"include":"#compatibility"},{"include":"#embeddedRow"},{"include":"#names"}]},"names":{"patterns":[{"name":"variable.other.constant.immediately-evaluated.postscript","match":"(//)[^()\u003c\u003e\\[\\]{}/%\\s]*","captures":{"1":{"name":"punctuation.definition.name.postscript"}}},{"name":"variable.other.constant.literal.postscript","match":"(/)[^()\u003c\u003e\\[\\]{}/%\\s]*","captures":{"1":{"name":"punctuation.definition.name.postscript"}}},{"name":"variable.other.executable.postscript","match":"[^()\u003c\u003e\\[\\]{}/%\\s]+"}]},"number":{"name":"constant.numeric.postscript","match":"[-+]?(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:[Ee][-+]?\\d+)?(?=$|[\\s\\[\\]{}(/%\u003c])"},"operators":{"patterns":[{"name":"keyword.operator.level-3.postscript","match":"(?x) (?\u003c![^/\\s{}()\u003c\u003e\\[\\]%]) \\b\n( GetHalftoneName\n| GetPageDeviceName\n| GetSubstituteCRD\n| StartData\n| StartData\n| addglyph\n| beginbfchar\n| beginbfrange\n| begincidchar\n| begincidrange\n| begincmap\n| begincodespacerange\n| beginnotdefchar\n| beginnotdefrange\n| beginrearrangedfont\n| beginusematrix\n| cliprestore\n| clipsave\n| composefont\n| currentsmoothness\n| currenttrapparams\n| endbfchar\n| endbfrange\n| endcidchar\n| endcidrange\n| endcmap\n| endcodespacerange\n| endnotdefchar\n| endnotdefrange\n| endrearrangedfont\n| endusematrix\n| findcolorrendering\n| removeall\n| removeglyphs\n| setsmoothness\n| settrapparams\n| settrapzone\n| shfill\n| usecmap\n| usefont\n) \\b (?![^/\\s{}()\u003c\u003e\\[\\]%])"},{"name":"keyword.operator.level-2.postscript","match":"(?x) (?\u003c![^/\\s{}()\u003c\u003e\\[\\]%]) \\b\n( GlobalFontDirectory\n| ISOLatin1Encoding\n| SharedFontDirectory\n| UserObjects\n| arct\n| colorimage\n| configurationerror\n| cshow\n| currentblackgeneration\n| currentcacheparams\n| currentcmykcolor\n| currentcolorrendering\n| currentcolorscreen\n| currentcolorspace\n| currentcolortransfer\n| currentcolor\n| currentdevparams\n| currentglobal\n| currentgstate\n| currenthalftone\n| currentobjectformat\n| currentoverprint\n| currentpacking\n| currentpagedevice\n| currentshared\n| currentstrokeadjust\n| currentsystemparams\n| currentundercolorremoval\n| currentuserparams\n| defineresource\n| defineuserobject\n| deletefile\n| execform\n| execuserobject\n| filenameforall\n| fileposition\n| filter\n| findencoding\n| findresource\n| gcheck\n| globaldict\n| glyphshow\n| gstate\n| ineofill\n| infill\n| instroke\n| inueofill\n| inufill\n| inustroke\n| languagelevel\n| makepattern\n| packedarray\n| printobject\n| product\n| realtime\n| rectclip\n| rectfill\n| rectstroke\n| renamefile\n| resourceforall\n| resourcestatus\n| revision\n| rootfont\n| scheck\n| selectfont\n| serialnumber\n| setbbox\n| setblackgeneration\n| setcachedevice2\n| setcacheparams\n| setcmykcolor\n| setcolorrendering\n| setcolorscreen\n| setcolorspace\n| setcolortransfer\n| setcolor\n| setdevparams\n| setfileposition\n| setglobal\n| setgstate\n| sethalftone\n| setobjectformat\n| setoverprint\n| setpacking\n| setpagedevice\n| setpattern\n| setshared\n| setstrokeadjust\n| setsystemparams\n| setucacheparams\n| setundercolorremoval\n| setuserparams\n| setvmthreshold\n| shareddict\n| startjob\n| uappend\n| ucachestatus\n| ucache\n| ueofill\n| ufill\n| undefinedresource\n| undefinefont\n| undefineresource\n| undefineuserobject\n| undef\n| upath\n| ustrokepath\n| ustroke\n| vmreclaim\n| writeobject\n| xshow\n| xyshow\n| yshow\n) \\b (?![^/\\s{}()\u003c\u003e\\[\\]%])"},{"name":"keyword.operator.level-1.postscript","match":"(?x) (?\u003c![^/\\s{}()\u003c\u003e\\[\\]%]) \\b\n( FontDirectory\n| StandardEncoding\n| VMerror\n| abs\n| add\n| aload\n| anchorsearch\n| and\n| arcn\n| arcto\n| arc\n| array\n| ashow\n| astore\n| atan\n| awidthshow\n| begin\n| bind\n| bitshift\n| bytesavailable\n| cachestatus\n| ceiling\n| charpath\n| cleardictstack\n| cleartomark\n| clear\n| clippath\n| clip\n| closefile\n| closepath\n| colorimage\n| concatmatrix\n| concat\n| condition\n| copypage\n| copy\n| cos\n| countdictstack\n| countexecstack\n| counttomark\n| count\n| currentcontext\n| currentdash\n| currentdict\n| currentfile\n| currentflat\n| currentfont\n| currentgray\n| currenthalftonephase\n| currenthsbcolor\n| currentlinecap\n| currentlinejoin\n| currentlinewidth\n| currentmatrix\n| currentmiterlimit\n| currentpoint\n| currentrgbcolor\n| currentscreen\n| currenttransfer\n| curveto\n| cvi\n| cvlit\n| cvn\n| cvrs\n| cvr\n| cvs\n| cvx\n| defaultmatrix\n| definefont\n| defineusername\n| def\n| detach\n| deviceinfo\n| dictfull\n| dictstackoverflow\n| dictstackunderflow\n| dictstack\n| dict\n| div\n| dtransform\n| dup\n| echo\n| eexec\n| end\n| eoclip\n| eofill\n| eoviewclip\n| eq\n| erasepage\n| errordict\n| exch\n| execstackoverflow\n| execstack\n| executeonly\n| executive\n| exec\n| exitserver\n| exit\n| exp\n| false\n| file\n| fill\n| findfont\n| flattenpath\n| floor\n| flushfile\n| flush\n| forall\n| fork\n| for\n| getinterval\n| get\n| ge\n| grestoreall\n| grestore\n| gsave\n| gt\n| handleerror\n| identmatrix\n| idiv\n| idtransform\n| ifelse\n| if\n| imagemask\n| image\n| index\n| initclip\n| initgraphics\n| initmatrix\n| initviewclip\n| internaldict\n| interrupt\n| invalidaccess\n| invalidcontext\n| invalidexit\n| invalidfileaccess\n| invalidfont\n| invalidid\n| invalidrestore\n| invertmatrix\n| ioerror\n| itransform\n| known\n| kshow\n| length\n| le\n| limitcheck\n| lineto\n| ln\n| load\n| lock\n| log\n| loop\n| lt\n| makefont\n| mark\n| matrix\n| maxlength\n| mod\n| monitor\n| moveto\n| mul\n| neg\n| newpath\n| ne\n| noaccess\n| nocurrentpoint\n| notify\n| not\n| nulldevice\n| null\n| or\n| pathbbox\n| pathforall\n| pdfmark\n| pop\n| print\n| prompt\n| pstack\n| putinterval\n| put\n| quit\n| rand\n| rangecheck\n| rcheck\n| rcurveto\n| readhexstring\n| readline\n| readonly\n| readstring\n| read\n| rectviewclip\n| repeat\n| resetfile\n| restore\n| reversepath\n| rlineto\n| rmoveto\n| roll\n| rotate\n| round\n| rrand\n| run\n| save\n| scalefont\n| scale\n| search\n| serverdict\n| setcachedevice\n| setcachelimit\n| setcharwidth\n| setdash\n| setflat\n| setfont\n| setgray\n| sethalftonephase\n| sethsbcolor\n| setlinecap\n| setlinejoin\n| setlinewidth\n| setmatrix\n| setmiterlimit\n| setrgbcolor\n| setscreen\n| settransfer\n| showpage\n| show\n| sin\n| sqrt\n| srand\n| stackoverflow\n| stackunderflow\n| stack\n| start\n| statusdict\n| status\n| stopped\n| stop\n| store\n| stringwidth\n| string\n| strokepath\n| stroke\n| sub\n| syntaxerror\n| systemdict\n| timeout\n| token\n| transform\n| translate\n| true\n| truncate\n| typecheck\n| type\n| undefinedfilename\n| undefinedresult\n| undefined\n| unmatchedmark\n| unregistered\n| userdict\n| usertime\n| version\n| viewclippath\n| viewclip\n| vmstatus\n| wait\n| wcheck\n| where\n| widthshow\n| writehexstring\n| writestring\n| write\n| wtranslation\n| xcheck\n| xor\n| yield\n) \\b (?![^/\\s{}()\u003c\u003e\\[\\]%])\n|\n# Stuff that starts with a non-word character\n(?\u003c=^|[/\\s{}()\u003c\u003e\\[\\]%])\n(=?=|\\$error)\n(?=$|[/\\s{}()\u003c\u003e\\[\\]%])"},{"name":"keyword.operator.level-1.obsolete.postscript","match":"(?\u003c![^/\\s{}()\u003c\u003e\\[\\]%])\\b(banddevice|framedevice|renderbands)\\b(?![^/\\s{}()\u003c\u003e\\[\\]%])"}]},"procedure":{"name":"meta.procedure.postscript","begin":"{","end":"}","patterns":[{"include":"#main"}],"beginCaptures":{"0":{"name":"punctuation.definition.procedure.begin.postscript"}},"endCaptures":{"0":{"name":"punctuation.definition.procedure.end.postscript"}}},"radix":{"name":"constant.numeric.radix.postscript","match":"[0-3]?[0-9]#[0-9a-zA-Z]+"},"specialFiles":{"patterns":[{"name":"constant.language.device-name.$2-device.postscript","match":"\\G(%)([-\\w]+)(?=%|\\)|$)(%)?","captures":{"1":{"name":"punctuation.definition.device-name.begin.postscript"},"3":{"name":"punctuation.definition.device-name.end.postscript"}}},{"name":"constant.language.special-file.stdio.$2.postscript","match":"\\G(%)(stderr|stdin|stdout)(?=\\)|$)","captures":{"1":{"name":"punctuation.definition.special-file.begin.postscript"},"3":{"name":"punctuation.definition.special-file.end.postscript"}}},{"name":"constant.language.special-file.interactive.$2.postscript","match":"\\G(%)(lineedit|statementedit)(?=\\)|$)","captures":{"1":{"name":"punctuation.definition.special-file.begin.postscript"},"3":{"name":"punctuation.definition.special-file.end.postscript"}}}]},"string":{"name":"string.other.postscript","begin":"\\(","end":"\\)","patterns":[{"include":"#stringInnards"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.postscript"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.postscript"}}},"stringInnards":{"patterns":[{"include":"#specialFiles"},{"name":"constant.numeric.octal.postscript","match":"\\\\[0-7]{1,3}"},{"name":"constant.character.escape.postscript","match":"\\\\(\\\\|[bfnrt()]|[0-7]{1,3}|\\r?\\n)"},{"name":"invalid.illegal.unknown-escape.postscript.ignored","match":"\\\\"},{"begin":"\\(","end":"\\)","patterns":[{"include":"#stringInnards"}]}]}},"injections":{"L:source.postscript meta.ai-prefs.postscript - (comment | string | source.embedded | text.embedded)":{"patterns":[{"name":"meta.obfuscated-setting.ai-prefs.postscript","contentName":"meta.array.postscript","begin":"^\\s*(/(?:\\\\.|[^()\u003c\u003e\\[\\]{}/%\\s])*) ((\\[) (?!0\\b)(\\d+)(?:$|\\r))","end":"^\\s*(\\])|\\G(?!$)|(?!\\G)^(?!\\s*(?:\\]|[A-Fa-f0-9]+$))","patterns":[{"name":"string.other.hexadecimal.postscript","match":"[A-Fa-f0-9]+"}],"beginCaptures":{"1":{"patterns":[{"include":"$self"}]},"2":{"name":"meta.array.postscript"},"3":{"name":"punctuation.definition.array.begin.postscript"},"4":{"name":"constant.numeric.postscript"}},"endCaptures":{"0":{"name":"meta.array.postscript"},"1":{"name":"punctuation.definition.array.end.postscript"}}},{"name":"variable.other.constant.literal.postscript","match":"(/)((?:\\\\.|[^()\u003c\u003e\\[\\]{}/%\\s])*)","captures":{"1":{"name":"punctuation.definition.name.postscript"},"2":{"patterns":[{"name":"constant.character.escape.postscript","match":"(\\\\).","captures":{"1":{"name":"punctuation.definition.escape.backslash.postscript"}}}]}}},{"name":"constant.numeric.integer.long.postscript","match":"[0-9]+L"}]},"L:source.postscript meta.document.pdf - (meta.encrypted-source | source.embedded | text.embedded)":{"patterns":[{"name":"meta.encrypted-source.stream.pdf","begin":"(?:^|(?\u003c=\u003e\u003e)\\s*)(?=stream$)","end":"endstream|(?=endobj\\b)","patterns":[{"begin":"\\G(stream)\\s*$\\s*","end":"(?=endstream|(?=endobj\\b))","patterns":[{"contentName":"text.embedded.xml","begin":"(\u003c\\?xpacket(?=\\s)[^\u003e]+\\?\u003e)(?=$|\u003cx:xmpmeta)","end":"(\u003c\\?xpacket(?=\\s)[^\u003e]*end\\b[^\u003e]*\\?\u003e)|(?=\\s*(?:endstream|endobj\\b))","patterns":[{"include":"text.xml"}],"beginCaptures":{"1":{"name":"text.embedded.xml","patterns":[{"include":"text.xml"}]}},"endCaptures":{"1":{"name":"text.embedded.xml","patterns":[{"include":"text.xml"}]}}},{"name":"string.other.base85.pdf","begin":"(?!endstream)[!-uz]{50,80}\\s*$","end":"~\u003e|(?=\\s*(?:endstream|endobj\\b))","endCaptures":{"0":{"name":"punctuation.definition.string.end.pdf"}}},{"name":"string.other.raw.binary.pdf","contentName":"sublimelinter.gutter-mark","begin":"(?!endstream|[!-uz]{50,80}\\s*$)(?:(?\u003c=[\\n\\r]|\\G|^))(?=.)","end":"(?=\\s*(?:endstream|endobj\\b))"}],"beginCaptures":{"1":{"name":"keyword.control.stream.begin.pdf"}}}],"endCaptures":{"0":{"name":"keyword.control.stream.end.pdf"}}},{"match":"(?\u003c![^/\\s{}()\u003c\u003e\\[\\]%])\\b(obj)\\s*(?=\u003c\u003c|$)|(?\u003c=^|\\n|\u003e\u003e)(endobj)","captures":{"1":{"name":"keyword.control.object.begin.pdf"},"2":{"name":"keyword.control.object.end.pdf"}}},{"name":"keyword.control.$1.pdf","match":"(?\u003c![^/\\s{}()\u003c\u003e\\[\\]%])\\b(trailer|startxref)(?![^/\\s{}()\u003c\u003e\\[\\]%])"}]},"L:source.postscript meta.procedure.postscript - (comment | string | text.embedded)":{"patterns":[{"match":"\\s*(?\u003c=^|\\G|[\\[{\\s])\\b(currentfile)\\b(?=[\\[{\\s])","captures":{"1":{"name":"keyword.operator.postscript"}}}]}}}
@@ -1 +1 @@
1
- {"name":"Protocol Buffer 3","scopeName":"source.proto","patterns":[{"include":"#comments"},{"include":"#syntax"},{"include":"#package"},{"include":"#import"},{"include":"#optionStmt"},{"include":"#message"},{"include":"#enum"},{"include":"#service"}],"repository":{"comments":{"patterns":[{"name":"comment.block.proto","begin":"/\\*","end":"\\*/"},{"name":"comment.line.double-slash.proto","begin":"//","end":"$\\n?"}]},"constants":{"name":"constant.language.proto","match":"\\b(true|false|max|[A-Z_]+)\\b"},"enum":{"begin":"(enum)(\\s+)([A-Za-z][A-Za-z0-9_]*)(\\s*)(\\{)?","end":"\\}","patterns":[{"include":"#reserved"},{"include":"#optionStmt"},{"include":"#comments"},{"begin":"([A-Za-z][A-Za-z0-9_]*)\\s*(=)\\s*(0[xX][0-9a-fA-F]+|[0-9]+)","end":"(;)","patterns":[{"include":"#fieldOptions"}],"beginCaptures":{"1":{"name":"variable.other.proto"},"2":{"name":"keyword.operator.assignment.proto"},"3":{"name":"constant.numeric.proto"}},"endCaptures":{"1":{"name":"punctuation.terminator.proto"}}}],"beginCaptures":{"1":{"name":"keyword.other.proto"},"3":{"name":"entity.name.class.proto"}}},"field":{"begin":"\\s*(optional|repeated|required)?\\s*\\b([\\w.]+)\\s+(\\w+)\\s*(=)\\s*(0[xX][0-9a-fA-F]+|[0-9]+)","end":"(;)","patterns":[{"include":"#fieldOptions"}],"beginCaptures":{"1":{"name":"storage.modifier.proto"},"2":{"name":"storage.type.proto"},"3":{"name":"variable.other.proto"},"4":{"name":"keyword.operator.assignment.proto"},"5":{"name":"constant.numeric.proto"}},"endCaptures":{"1":{"name":"punctuation.terminator.proto"}}},"fieldOptions":{"begin":"\\[","end":"\\]","patterns":[{"include":"#constants"},{"include":"#number"},{"include":"#string"},{"include":"#subMsgOption"},{"include":"#optionName"}]},"ident":{"name":"entity.name.class.proto","match":"[A-Za-z][A-Za-z0-9_]*"},"import":{"match":"\\s*(import)\\s+(weak|public)?\\s*(\"[^\"]+\")\\s*(;)","captures":{"1":{"name":"keyword.other.proto"},"2":{"name":"keyword.other.proto"},"3":{"name":"string.quoted.double.proto.import"},"4":{"name":"punctuation.terminator.proto"}}},"kv":{"begin":"(\\w+)\\s*(:)","end":"(;)|,|(?=[}/_a-zA-Z])","patterns":[{"include":"#constants"},{"include":"#number"},{"include":"#string"},{"include":"#subMsgOption"}],"beginCaptures":{"1":{"name":"keyword.other.proto"},"2":{"name":"punctuation.separator.key-value.proto"}},"endCaptures":{"1":{"name":"punctuation.terminator.proto"}}},"mapfield":{"begin":"\\s*(map)\\s*(\u003c)\\s*([\\w.]+)\\s*,\\s*([\\w.]+)\\s*(\u003e)\\s+(\\w+)\\s*(=)\\s*(\\d+)","end":"(;)","patterns":[{"include":"#fieldOptions"}],"beginCaptures":{"1":{"name":"storage.type.proto"},"2":{"name":"punctuation.definition.typeparameters.begin.proto"},"3":{"name":"storage.type.proto"},"4":{"name":"storage.type.proto"},"5":{"name":"punctuation.definition.typeparameters.end.proto"},"6":{"name":"variable.other.proto"},"7":{"name":"keyword.operator.assignment.proto"},"8":{"name":"constant.numeric.proto"}},"endCaptures":{"1":{"name":"punctuation.terminator.proto"}}},"message":{"begin":"(message|extend)(\\s+)([A-Za-z_][A-Za-z0-9_.]*)(\\s*)(\\{)?","end":"\\}","patterns":[{"include":"#reserved"},{"include":"$self"},{"include":"#enum"},{"include":"#optionStmt"},{"include":"#comments"},{"include":"#oneof"},{"include":"#field"},{"include":"#mapfield"}],"beginCaptures":{"1":{"name":"keyword.other.proto"},"3":{"name":"entity.name.class.message.proto"}}},"method":{"begin":"(rpc)\\s+([A-Za-z][A-Za-z0-9_]*)","end":"\\}|(;)","patterns":[{"include":"#comments"},{"include":"#optionStmt"},{"include":"#rpcKeywords"},{"include":"#ident"}],"beginCaptures":{"1":{"name":"keyword.other.proto"},"2":{"name":"entity.name.function"}},"endCaptures":{"1":{"name":"punctuation.terminator.proto"}}},"number":{"name":"constant.numeric.proto","match":"\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)\\b"},"oneof":{"begin":"(oneof)\\s+([A-Za-z][A-Za-z0-9_]*)\\s*\\{?","end":"\\}","patterns":[{"include":"#optionStmt"},{"include":"#comments"},{"include":"#field"}],"beginCaptures":{"1":{"name":"keyword.other.proto"},"2":{"name":"variable.other.proto"}}},"optionName":{"match":"(\\w+|\\(\\w+(\\.\\w+)*\\))(\\.\\w+)*","captures":{"1":{"name":"support.other.proto"},"2":{"name":"support.other.proto"},"3":{"name":"support.other.proto"}}},"optionStmt":{"begin":"(option)\\s+(\\w+|\\(\\w+(\\.\\w+)*\\))(\\.\\w+)*\\s*(=)","end":"(;)","patterns":[{"include":"#constants"},{"include":"#number"},{"include":"#string"},{"include":"#subMsgOption"}],"beginCaptures":{"1":{"name":"keyword.other.proto"},"2":{"name":"support.other.proto"},"3":{"name":"support.other.proto"},"4":{"name":"support.other.proto"},"5":{"name":"keyword.operator.assignment.proto"}},"endCaptures":{"1":{"name":"punctuation.terminator.proto"}}},"package":{"match":"\\s*(package)\\s+([\\w.]+)\\s*(;)","captures":{"1":{"name":"keyword.other.proto"},"2":{"name":"string.unquoted.proto.package"},"3":{"name":"punctuation.terminator.proto"}}},"reserved":{"begin":"(reserved)\\s+","end":"(;)","patterns":[{"match":"(\\d+)(\\s+(to)\\s+(\\d+))?","captures":{"1":{"name":"constant.numeric.proto"},"3":{"name":"keyword.other.proto"},"4":{"name":"constant.numeric.proto"}}},{"include":"#string"}],"beginCaptures":{"1":{"name":"keyword.other.proto"}},"endCaptures":{"1":{"name":"punctuation.terminator.proto"}}},"rpcKeywords":{"name":"keyword.other.proto","match":"\\b(stream|returns)\\b"},"service":{"begin":"(service)\\s+([A-Za-z][A-Za-z0-9_.]*)\\s*\\{?","end":"\\}","patterns":[{"include":"#comments"},{"include":"#optionStmt"},{"include":"#method"}],"beginCaptures":{"1":{"name":"keyword.other.proto"},"2":{"name":"entity.name.class.message.proto"}}},"storagetypes":{"name":"storage.type.proto","match":"\\b(double|float|int32|int64|uint32|uint64|sint32|sint64|fixed32|fixed64|sfixed32|sfixed64|bool|string|bytes)\\b"},"string":{"name":"string.quoted.double.proto","match":"('([^']|\\')*')|(\"([^\"]|\\\")*\")"},"subMsgOption":{"begin":"\\{","end":"\\}","patterns":[{"include":"#kv"},{"include":"#comments"}]},"syntax":{"match":"\\s*(syntax)\\s*(=)\\s*(\"proto[23]\")\\s*(;)","captures":{"1":{"name":"keyword.other.proto"},"2":{"name":"keyword.operator.assignment.proto"},"3":{"name":"string.quoted.double.proto.syntax"},"4":{"name":"punctuation.terminator.proto"}}}}}
1
+ {"name":"Protocol Buffer 3","scopeName":"source.proto","patterns":[{"include":"#comments"},{"include":"#syntax"},{"include":"#package"},{"include":"#import"},{"include":"#optionStmt"},{"include":"#message"},{"include":"#enum"},{"include":"#service"}],"repository":{"comments":{"patterns":[{"name":"comment.block.proto","begin":"/\\*","end":"\\*/"},{"name":"comment.line.double-slash.proto","begin":"//","end":"$\\n?"}]},"constants":{"name":"constant.language.proto","match":"\\b(true|false|max|[A-Z_]+)\\b"},"enum":{"begin":"(enum)(\\s+)([A-Za-z][A-Za-z0-9_]*)(\\s*)(\\{)?","end":"\\}","patterns":[{"include":"#reserved"},{"include":"#optionStmt"},{"include":"#comments"},{"begin":"([A-Za-z][A-Za-z0-9_]*)\\s*(=)\\s*(-?0[xX][0-9a-fA-F]+|-?[0-9]+)","end":"(;)","patterns":[{"include":"#fieldOptions"}],"beginCaptures":{"1":{"name":"variable.other.proto"},"2":{"name":"keyword.operator.assignment.proto"},"3":{"name":"constant.numeric.proto"}},"endCaptures":{"1":{"name":"punctuation.terminator.proto"}}}],"beginCaptures":{"1":{"name":"keyword.other.proto"},"3":{"name":"entity.name.class.proto"}}},"field":{"begin":"\\s*(optional|repeated|required)?\\s*(\\.?[\\w.]+)\\s+(\\w+)\\s*(=)\\s*(0[xX][0-9a-fA-F]+|[0-9]+)","end":"(;)","patterns":[{"include":"#fieldOptions"}],"beginCaptures":{"1":{"name":"storage.modifier.proto"},"2":{"name":"storage.type.proto"},"3":{"name":"variable.other.proto"},"4":{"name":"keyword.operator.assignment.proto"},"5":{"name":"constant.numeric.proto"}},"endCaptures":{"1":{"name":"punctuation.terminator.proto"}}},"fieldOptions":{"begin":"\\[","end":"\\]","patterns":[{"include":"#constants"},{"include":"#number"},{"include":"#string"},{"include":"#subMsgOption"},{"include":"#optionName"}]},"ident":{"name":"entity.name.class.proto","match":"\\.?[A-Za-z][A-Za-z0-9_.]*"},"import":{"match":"\\s*(import)\\s+(weak|public)?\\s*(\"[^\"]+\")\\s*(;)","captures":{"1":{"name":"keyword.other.proto"},"2":{"name":"keyword.other.proto"},"3":{"name":"string.quoted.double.proto.import"},"4":{"name":"punctuation.terminator.proto"}}},"kv":{"begin":"(\\w+)\\s*(:)","end":"(;)|,|(?=[}/_a-zA-Z])","patterns":[{"include":"#constants"},{"include":"#number"},{"include":"#string"},{"include":"#subMsgOption"}],"beginCaptures":{"1":{"name":"keyword.other.proto"},"2":{"name":"punctuation.separator.key-value.proto"}},"endCaptures":{"1":{"name":"punctuation.terminator.proto"}}},"mapfield":{"begin":"\\s*(map)\\s*(\u003c)\\s*(\\.?[\\w.]+)\\s*,\\s*(\\.?[\\w.]+)\\s*(\u003e)\\s+(\\w+)\\s*(=)\\s*(\\d+)","end":"(;)","patterns":[{"include":"#fieldOptions"}],"beginCaptures":{"1":{"name":"storage.type.proto"},"2":{"name":"punctuation.definition.typeparameters.begin.proto"},"3":{"name":"storage.type.proto"},"4":{"name":"storage.type.proto"},"5":{"name":"punctuation.definition.typeparameters.end.proto"},"6":{"name":"variable.other.proto"},"7":{"name":"keyword.operator.assignment.proto"},"8":{"name":"constant.numeric.proto"}},"endCaptures":{"1":{"name":"punctuation.terminator.proto"}}},"message":{"begin":"(message|extend)(\\s+)([A-Za-z_][A-Za-z0-9_.]*)(\\s*)(\\{)?","end":"\\}","patterns":[{"include":"#reserved"},{"include":"$self"},{"include":"#enum"},{"include":"#optionStmt"},{"include":"#comments"},{"include":"#oneof"},{"include":"#field"},{"include":"#mapfield"}],"beginCaptures":{"1":{"name":"keyword.other.proto"},"3":{"name":"entity.name.class.message.proto"}}},"method":{"begin":"(rpc)\\s+([A-Za-z][A-Za-z0-9_]*)","end":"\\}|(;)","patterns":[{"include":"#comments"},{"include":"#optionStmt"},{"include":"#rpcKeywords"},{"include":"#ident"}],"beginCaptures":{"1":{"name":"keyword.other.proto"},"2":{"name":"entity.name.function"}},"endCaptures":{"1":{"name":"punctuation.terminator.proto"}}},"number":{"name":"constant.numeric.proto","match":"\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)\\b"},"oneof":{"begin":"(oneof)\\s+([A-Za-z][A-Za-z0-9_]*)\\s*\\{?","end":"\\}","patterns":[{"include":"#optionStmt"},{"include":"#comments"},{"include":"#field"}],"beginCaptures":{"1":{"name":"keyword.other.proto"},"2":{"name":"variable.other.proto"}}},"optionName":{"match":"(\\w+|\\(\\w+(\\.\\w+)*\\))(\\.\\w+)*","captures":{"1":{"name":"support.other.proto"},"2":{"name":"support.other.proto"},"3":{"name":"support.other.proto"}}},"optionStmt":{"begin":"(option)\\s+(\\w+|\\(\\w+(\\.\\w+)*\\))(\\.\\w+)*\\s*(=)","end":"(;)","patterns":[{"include":"#constants"},{"include":"#number"},{"include":"#string"},{"include":"#subMsgOption"}],"beginCaptures":{"1":{"name":"keyword.other.proto"},"2":{"name":"support.other.proto"},"3":{"name":"support.other.proto"},"4":{"name":"support.other.proto"},"5":{"name":"keyword.operator.assignment.proto"}},"endCaptures":{"1":{"name":"punctuation.terminator.proto"}}},"package":{"match":"\\s*(package)\\s+([\\w.]+)\\s*(;)","captures":{"1":{"name":"keyword.other.proto"},"2":{"name":"string.unquoted.proto.package"},"3":{"name":"punctuation.terminator.proto"}}},"reserved":{"begin":"(reserved)\\s+","end":"(;)","patterns":[{"match":"(\\d+)(\\s+(to)\\s+(\\d+))?","captures":{"1":{"name":"constant.numeric.proto"},"3":{"name":"keyword.other.proto"},"4":{"name":"constant.numeric.proto"}}},{"include":"#string"}],"beginCaptures":{"1":{"name":"keyword.other.proto"}},"endCaptures":{"1":{"name":"punctuation.terminator.proto"}}},"rpcKeywords":{"name":"keyword.other.proto","match":"\\b(stream|returns)\\b"},"service":{"begin":"(service)\\s+([A-Za-z][A-Za-z0-9_.]*)\\s*\\{?","end":"\\}","patterns":[{"include":"#comments"},{"include":"#optionStmt"},{"include":"#method"}],"beginCaptures":{"1":{"name":"keyword.other.proto"},"2":{"name":"entity.name.class.message.proto"}}},"storagetypes":{"name":"storage.type.proto","match":"\\b(double|float|int32|int64|uint32|uint64|sint32|sint64|fixed32|fixed64|sfixed32|sfixed64|bool|string|bytes)\\b"},"string":{"name":"string.quoted.double.proto","match":"([\"'])(?:\\\\.|[^\\\\])*?\\1"},"subMsgOption":{"begin":"\\{","end":"\\}","patterns":[{"include":"#kv"},{"include":"#comments"}]},"syntax":{"match":"\\s*(syntax)\\s*(=)\\s*(\"proto[23]\")\\s*(;)","captures":{"1":{"name":"keyword.other.proto"},"2":{"name":"keyword.operator.assignment.proto"},"3":{"name":"string.quoted.double.proto.syntax"},"4":{"name":"punctuation.terminator.proto"}}}}}
@@ -0,0 +1 @@
1
+ {"name":"Public Suffix List","scopeName":"source.psl","patterns":[{"name":"meta.section.${4:/downcase}-domains.psl","begin":"^(//) +(===)(BEGIN +([A-Z]+) +DOMAINS)(===)(?=\\s*$)","end":"^(//) +(===)(END +\\4 +DOMAINS)(===)(?=\\s*$)|(?=^// +===(?:BEGIN|END) +[A-Z]+ +DOMAINS===\\s*$)","patterns":[{"include":"#main"}],"beginCaptures":{"0":{"name":"comment.line.double-slash.psl"},"1":{"name":"punctuation.definition.comment.psl"},"2":{"name":"keyword.operator.directive.marker.begin.psl"},"3":{"name":"keyword.control.section.begin.psl"},"5":{"name":"keyword.operator.directive.marker.end.psl"}},"endCaptures":{"0":{"name":"comment.line.double-slash.psl"},"1":{"name":"punctuation.definition.comment.psl"},"2":{"name":"keyword.operator.directive.marker.begin.psl"},"3":{"name":"keyword.control.section.end.psl"},"4":{"name":"keyword.operator.directive.marker.end.psl"}}},{"include":"#main"}],"repository":{"comments":{"name":"comment.line.double-slash.psl","begin":"^//[ \\t]*","end":"(?=[ \\t]*$)","patterns":[{"contentName":"support.constant.${2:/downcase}.psl","begin":"\\G((VERSION|COMMIT)(:)) +(?=\\S)","end":"(?=\\s*$)","beginCaptures":{"1":{"name":"storage.type.${2:/downcase}.psl"},"3":{"name":"punctuation.definition.metadata.tag.psl"}}}],"beginCaptures":{"0":{"name":"punctuation.definition.comment.psl"}}},"main":{"patterns":[{"include":"#comments"},{"include":"#rule"},{"include":"#trailingBlanks"}]},"rule":{"name":"meta.rule.psl","begin":"^(!)?(?=\\S)(?!//)","end":"(?=\\s*$)","patterns":[{"name":"entity.name.domain.label.psl","match":"\\G(\\*\\.)?(?!\\.)((?:\\.?[^\\s.]+)+)(?=$|\\s)","captures":{"1":{"patterns":[{"include":"etc#globSimple"},{"include":"etc#dot"}]},"2":{"patterns":[{"include":"etc#dot"}]}}},{"contentName":"comment.line.ignored.psl","begin":"[ \\t]+(?:((//))|(?=\\S))","end":"(?=\\s*$)","beginCaptures":{"1":{"name":"comment.line.double-slash.psl"},"2":{"name":"punctuation.definition.comment.psl"}}}],"beginCaptures":{"1":{"name":"keyword.operator.logical.not.negation.psl"}}},"trailingBlanks":{"name":"invalid.illegal.whitespace.trailing.psl","match":"[ \\t]+$"}}}
@@ -1 +1 @@
1
- {"name":"Jade (Python)","scopeName":"source.pyjade","patterns":[{"name":"comment.other.doctype.jade","match":"^(!!!|doctype)(\\s*[a-zA-Z0-9-_]+)?"},{"name":"comment.unbuffered.block.jade","begin":"^(\\s*)//-","end":"^(?!(\\1\\s)|\\s*$)"},{"name":"comment.buffered.block.jade","begin":"\u003c!--","end":"--\\s*\u003e","patterns":[{"name":"invalid.illegal.comment.comment.block.jade","match":"--"}]},{"name":"string.comment.buffered.block.jade","begin":"^(\\s*)//","end":"^(?!(\\1\\s)|\\s*$)","patterns":[{"name":"string.comment.buffered.block.jade","match":"^\\s*(//)(?!-)","captures":{"1":{"name":"invalid.illegal.comment.comment.block.jade"}}}]},{"name":"javascript.embedded.jade","begin":"^(\\s*)-$","end":"^(?!(\\1\\s)|\\s*$)","patterns":[{"include":"source.python"}]},{"name":"source.script.jade","begin":"^(\\s*)(script)(?=[.#(\\s])((?![^\\n]*type=)|(?=[^\\n]*(text|application)/javascript))","end":"^(?!(\\1\\s)|\\s*$)","patterns":[{"name":"stuff.tag.script.jade","begin":"\\G(?=\\()","end":"$","patterns":[{"include":"#tag_attributes"}]},{"name":"stuff.tag.script.jade","begin":"\\G(?=[.#])","end":"$","patterns":[{"include":"#complete_tag"}]},{"include":"source.python"}],"beginCaptures":{"2":{"name":"entity.name.tag.script.jade"}}},{"name":"source.style.jade","begin":"^(\\s*)(style)(?=[.#(\\s])","end":"^(?!(\\1\\s)|\\s*$)","patterns":[{"name":"stuff.tag.style.jade","begin":"\\G(?=\\()","end":"$","patterns":[{"include":"#tag_attributes"}]},{"name":"stuff.tag.style.jade","begin":"\\G(?=[.#])","end":"$","patterns":[{"include":"#complete_tag"}]},{"include":"source.css"}],"beginCaptures":{"2":{"name":"entity.name.tag.script.jade"}}},{"name":"text.markdown.filter.jade","begin":"^(\\s*):(markdown)(?=\\(|$)$","end":"^(?!(\\1\\s)|\\s*$)","patterns":[{"include":"#filter_args"},{"include":"source.gfm"}],"beginCaptures":{"2":{"name":"constant.language.name.markdown.filter.jade"}}},{"name":"source.sass.filter.jade","begin":"^(\\s*):(sass)(?=\\(|$)$","end":"^(?!(\\1\\s)|\\s*$)","patterns":[{"include":"#filter_args"},{"include":"source.sass"}],"beginCaptures":{"2":{"name":"constant.language.name.sass.filter.jade"}}},{"name":"source.less.filter.jade","begin":"^(\\s*):(less)(?=\\(|$)$","end":"^(?!(\\1\\s)|\\s*$)","patterns":[{"include":"#filter_args"},{"include":"source.css.less"}],"beginCaptures":{"2":{"name":"constant.language.name.less.filter.jade"}}},{"name":"source.stylus.filter.jade","begin":"^(\\s*):(stylus)(?=\\(|$)$","end":"^(?!(\\1\\s)|\\s*$)","patterns":[{"include":"#filter_args"},{"include":"source.stylus"}],"beginCaptures":{"2":{"name":"constant.language.name.stylus.filter.jade"}}},{"name":"source.coffeescript.filter.jade","begin":"^(\\s*):(coffee(-?script)?)(?=\\(|$)","end":"^(?!(\\1\\s)|\\s*$)","patterns":[{"include":"#filter_args"},{"include":"source.coffee"}],"beginCaptures":{"2":{"name":"constant.language.name.coffeescript.filter.jade"}}},{"name":"text.generic.filter.jade","begin":"^(\\s*)((:(?=.))|(:$))","end":"^(?!(\\1\\s)|\\s*$)","patterns":[{"name":"name.generic.filter.jade","begin":"\\G(?\u003c=:)(?=.)","end":"$","patterns":[{"name":"invalid.illegal.name.generic.filter.jade","match":"\\G\\("},{"name":"constant.language.name.generic.filter.jade","match":"\\w"},{"include":"#filter_args"},{"name":"invalid.illegal.name.generic.filter.jade","match":"\\W"}]}],"beginCaptures":{"4":{"name":"invalid.illegal.empty.generic.filter.jade"}}},{"name":"text.block.dot.tag.jade","begin":"^(\\s*)(?=[\\w.#].*?\\.$)(?=(?:(?:(?:(?:(?:#[\\w-]+)|(?:\\.[\\w-]+))|(?:(?:[#!]\\{[^}]*\\})|(?:\\w(?:(?:[\\w:-]+[\\w-])|(?:[\\w-]*)))))(?:(?:#[\\w-]+)|(?:\\.[\\w-]+)|(?:\\((?:[^()\\'\\\"]*(?:(?:\\'(?:[^\\']|(?:(?\u003c!\\\\)\\\\\\'))*\\')|(?:\\\"(?:[^\\\"]|(?:(?\u003c!\\\\)\\\\\\\"))*\\\")))*[^()]*\\))*)*)(?:(?:(?::\\s+)|(?\u003c=\\)))(?:(?:(?:(?:#[\\w-]+)|(?:\\.[\\w-]+))|(?:(?:[#!]\\{[^}]*\\})|(?:\\w(?:(?:[\\w:-]+[\\w-])|(?:[\\w-]*)))))(?:(?:#[\\w-]+)|(?:\\.[\\w-]+)|(?:\\((?:[^()\\'\\\"]*(?:(?:\\'(?:[^\\']|(?:(?\u003c!\\\\)\\\\\\'))*\\')|(?:\\\"(?:[^\\\"]|(?:(?\u003c!\\\\)\\\\\\\"))*\\\")))*[^()]*\\))*)*))*)\\.$)(?:(?:(#[\\w-]+)|(\\.[\\w-]+))|((?:[#!]\\{[^}]*\\})|(?:\\w(?:(?:[\\w:-]+[\\w-])|(?:[\\w-]*)))))","end":"^(?!(\\1\\s)|\\s*$)","patterns":[{"include":"#tag_attributes"},{"include":"#complete_tag"},{"name":"text.block.jade","begin":"^(?=.)","end":"$","patterns":[{"include":"#inline_jade"},{"include":"#embedded_html"},{"include":"#html_entity"},{"include":"#interpolated_value"},{"include":"#interpolated_error"}]}],"beginCaptures":{"2":{"name":"constant.id.tag.jade"},"3":{"name":"constant.language.js"},"4":{"name":"entity.name.tag.jade"}}},{"name":"tag.jade","begin":"^\\s*","end":"$","patterns":[{"include":"#inline_jade"},{"include":"#blocks_and_includes"},{"include":"#unbuffered_code"},{"include":"#mixins"},{"include":"#flow_control"},{"include":"#case_conds"},{"name":"text.block.pipe.jade","begin":"\\|","end":"$","patterns":[{"include":"#inline_jade"},{"include":"#embedded_html"},{"include":"#html_entity"},{"include":"#interpolated_value"},{"include":"#interpolated_error"}]},{"include":"#printed_expression"},{"name":"text.jade","begin":"\\G(?=(#[^\\{\\w-])|[^\\w.#])","end":"$","patterns":[{"begin":"\u003c/?(?=[!#])","end":"\u003e|$","patterns":[{"include":"#inline_jade"},{"include":"#interpolated_value"},{"include":"#interpolated_error"}]},{"include":"#inline_jade"},{"include":"#embedded_html"},{"include":"#html_entity"},{"include":"#interpolated_value"},{"include":"#interpolated_error"}]},{"include":"#complete_tag"}]}],"repository":{"blocks_and_includes":{"name":"meta.first-class.jade","match":"(extends|include|yield|append|prepend|block( (append|prepend))?)\\s+(.*)$","captures":{"1":{"name":"storage.type.import.include.jade"},"4":{"name":"variable.control.import.include.jade"}}},"brackets_js":{"name":"js.value.attribute.tag.jade","begin":"\\[","end":"\\]","patterns":[{"include":"#brackets_js"},{"include":"source.python"}]},"case_conds":{"name":"meta.control.flow.jade","begin":"(default|when)((\\s+|(?=:))|$)","end":"$","patterns":[{"name":"js.embedded.control.flow.jade","begin":"\\G(?!:)","end":"(?=:\\s+)|$","patterns":[{"include":"#case_when_paren"},{"include":"source.python"}]},{"name":"tag.case.control.flow.jade","begin":":\\s+","end":"$","patterns":[{"include":"#complete_tag"}]}],"captures":{"1":{"name":"storage.type.function.jade"}}},"case_when_paren":{"name":"js.when.control.flow.jade","begin":"\\(","end":"\\)","patterns":[{"include":"#case_when_paren"},{"name":"invalid.illegal.name.tag.jade","match":":"},{"include":"source.python"}]},"complete_tag":{"name":"complete_tag.jade","begin":"(?=[\\w.#])|(:\\s*)","end":"(\\.?$)|(?=:.)","patterns":[{"include":"#blocks_and_includes"},{"include":"#unbuffered_code"},{"include":"#mixins"},{"include":"#flow_control"},{"name":"invalid.illegal.name.tag.jade","match":"(?\u003c=:)\\w.*$"},{"include":"#tag_name"},{"include":"#tag_id"},{"include":"#tag_classes"},{"include":"#tag_attributes"},{"include":"#tag_mixin_attributes"},{"match":"((\\.)\\s+$)|((:)\\s*$)","captures":{"2":{"name":"invalid.illegal.end.tag.jade"},"4":{"name":"invalid.illegal.end.tag.jade"}}},{"include":"#printed_expression"},{"include":"#tag_text"}]},"embedded_html":{"name":"html","begin":"(?=\u003c[^\u003e]*\u003e)","end":"$|(?=\u003e)","patterns":[{"include":"text.html.basic"},{"include":"#interpolated_value"},{"include":"#interpolated_error"}]},"filter_args":{"name":"args.filter.jade","begin":"\\G(\\()","end":"(\\))(.*?$)","patterns":[{"name":"attributes.tag.jade","contentName":"string.value.args.filter.jade","begin":"([^\\s(),=]+)(=?)","end":"((?=\\))|,|$)","patterns":[{"include":"#filter_args_paren"}],"beginCaptures":{"1":{"name":"entity.other.attribute-name.tag.jade"},"2":{"name":"punctuation.separator.key-value.jade"}}}],"captures":{"1":{"name":"meta.args.filter.jade"},"2":{"name":"invalid.illegal.extra.args.filter.jade"}}},"filter_args_paren":{"begin":"\\(","end":"\\)|$","patterns":[{"include":"#filter_args_paren"}]},"flow_control":{"name":"meta.control.flow.jade","begin":"(for|if|else if|else|each|until|while|unless|case)(\\s+|$)","end":"$","patterns":[{"name":"js.embedded.control.flow.jade","end":"$","patterns":[{"include":"source.python"}]}],"captures":{"1":{"name":"storage.type.function.jade"}}},"html_entity":{"patterns":[{"name":"constant.character.entity.html.text.jade","match":"(\u0026)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)"},{"name":"invalid.illegal.html_entity.text.jade","match":"[\u003c\u003e\u0026]"}]},"inline_jade":{"name":"inline.jade","begin":"(?\u003c!\\\\)(#\\[)","end":"(\\])","patterns":[{"include":"#inline_jade"},{"include":"#mixins"},{"name":"tag.inline.jade","begin":"(?\u003c!\\])(?=[\\w.#])|(:\\s*)","end":"(?=\\]|(:.)|=|\\s)","patterns":[{"include":"#tag_name"},{"include":"#tag_id"},{"include":"#tag_classes"},{"include":"#tag_attributes"},{"include":"#tag_mixin_attributes"},{"include":"#inline_jade"},{"name":"invalid.illegal.tag.jade","match":"\\["}]},{"include":"#unbuffered_code"},{"include":"#printed_expression"},{"name":"invalid.illegal.tag.jade","match":"\\["},{"include":"#inline_jade_text"}],"captures":{"1":{"name":"entity.name.function.jade"},"2":{"name":"entity.name.function.jade"}}},"inline_jade_text":{"name":"text.jade","end":"(?=\\])","patterns":[{"begin":"\\[","end":"\\]","patterns":[{"include":"#inline_jade_text"}]},{"include":"#inline_jade"},{"include":"#embedded_html"},{"include":"#html_entity"},{"include":"#interpolated_value"},{"include":"#interpolated_error"}]},"interpolated_error":{"name":"invalid.illegal.tag.jade","match":"(?\u003c!\\\\)[#!]\\{(?=[^}]*$)"},"interpolated_value":{"name":"string.interpolated.jade","begin":"(?\u003c!\\\\)[#!]\\{(?=.*?\\})","end":"\\}","patterns":[{"name":"invalid.illegal.tag.jade","match":"{"},{"include":"source.python"}]},"mixins":{"name":"meta.mixin.jade","begin":"(((mixin\\s+)|\\+)([\\w-]+))\\s*","end":"(?=\\])|$","patterns":[{"name":"args.mixin.jade","end":"(?=\\])|$","patterns":[{"include":"#tag_attribute_value_paren"},{"include":"#tag_attribute_value_brackets"},{"include":"#tag_attribute_value_braces"},{"include":"#complete_tag"}]}],"beginCaptures":{"2":{"name":"storage.type.function.jade"},"4":{"name":"entity.name.function.jade"}}},"printed_expression":{"begin":"(!?\\=)\\s*","end":"(?=\\])|$","patterns":[{"include":"#brackets_js"},{"include":"source.python"}],"captures":{"1":{"name":"constant"}}},"string":{"name":"string.quoted.jade","begin":"(['\"])","end":"(?\u003c!\\\\)\\1","patterns":[{"name":"constant.character.quoted.jade","match":"\\\\((x[0-9a-fA-F]{2})|(u[0-9]{4})|.)"},{"include":"#interpolated_value"},{"include":"#interpolated_error"}]},"tag_attribute_value_braces":{"name":"js.value.attribute.tag.jade","begin":"\\{","end":"\\}","patterns":[{"include":"#tag_attribute_value_paren"},{"include":"#tag_attribute_value_brackets"},{"include":"#tag_attribute_value_braces"},{"include":"#string"},{"include":"source.python"}]},"tag_attribute_value_brackets":{"name":"js.value.attribute.tag.jade","begin":"\\[","end":"\\]","patterns":[{"include":"#tag_attribute_value_paren"},{"include":"#tag_attribute_value_brackets"},{"include":"#tag_attribute_value_braces"},{"include":"#string"},{"include":"source.python"}]},"tag_attribute_value_paren":{"name":"js.value.attribute.tag.jade","begin":"\\(","end":"\\)","patterns":[{"include":"#tag_attribute_value_paren"},{"include":"#tag_attribute_value_brackets"},{"include":"#tag_attribute_value_braces"},{"include":"#string"},{"include":"source.python"}]},"tag_attributes":{"name":"attributes.tag.jade","begin":"(\\()","end":"(\\))","patterns":[{"name":"attributes.tag.jade","match":"([^\\s(),=/]+)\\s*((?=\\))|,|\\s+|$)(?!\\!?\\=)","captures":{"1":{"name":"entity.other.attribute-name.tag.jade"}}},{"name":"attributes.tag.jade","begin":"([^\\s(),=/]*[^\\s(),=!/])\\s*(!?\\=)","end":"(,|$|(?=\\)|((?\u003c![+/*|\u0026=:^~!?\u003c\u003e%-])\\s+[^+/*|\u0026=:^~!?\u003c\u003e%-])))","patterns":[{"include":"#tag_attribute_value_paren"},{"include":"#tag_attribute_value_brackets"},{"include":"#tag_attribute_value_braces"},{"include":"#string"},{"include":"source.python"}],"beginCaptures":{"1":{"name":"entity.other.attribute-name.tag.jade"},"2":{"name":"punctuation.separator.key-value.jade"}}}],"captures":{"1":{"name":"constant.name.attribute.tag.jade"}}},"tag_classes":{"name":"constant.language.js","match":"\\.([^\\w-])?[\\w-]*","captures":{"1":{"name":"invalid.illegal.tag.jade"}}},"tag_id":{"name":"constant.id.tag.jade","match":"#[\\w-]+"},"tag_mixin_attributes":{"name":"attributes.tag.jade","begin":"(\u0026attributes\\()","end":"(\\))","patterns":[{"name":"storage.type.keyword.jade","match":"attributes(?=\\))"},{"include":"source.python"}],"captures":{"1":{"name":"entity.name.function.jade"}}},"tag_name":{"name":"entity.name.tag.jade","begin":"([#!]\\{(?=.*?\\}))|(\\w(([\\w:-]+[\\w-])|([\\w-]*)))","end":"(\\G(?\u003c!\\5[^\\w-]))|\\}|$","patterns":[{"name":"entity.name.tag.jade","begin":"\\G(?\u003c=\\{)","end":"(?=\\})","patterns":[{"name":"invalid.illegal.tag.jade","match":"{"},{"include":"source.python"}]}]},"tag_text":{"name":"text.jade","begin":"(?=.)","end":"$","patterns":[{"include":"#inline_jade"},{"include":"#embedded_html"},{"include":"#html_entity"},{"include":"#interpolated_value"},{"include":"#interpolated_error"}]},"unbuffered_code":{"name":"javascript.embedded.jade","begin":"(-|(([a-zA-Z0-9_]+)\\s+=))","end":"(?=\\])|$","patterns":[{"include":"#brackets_js"},{"include":"source.python"}],"beginCaptures":{"3":{"name":"variable.parameter.javascript.embedded.jade"}}}}}
1
+ {"name":"Jade (Python)","scopeName":"source.pyjade","patterns":[{"name":"comment.other.doctype.jade","match":"^(!!!|doctype)(\\s*[a-zA-Z0-9-_]+)?"},{"name":"comment.unbuffered.block.jade","begin":"^(\\s*)//-","end":"^(?!(\\1\\s)|\\s*$)"},{"name":"comment.buffered.block.jade","begin":"\u003c!--","end":"--\\s*\u003e","patterns":[{"name":"invalid.illegal.comment.comment.block.jade","match":"--"}]},{"name":"string.comment.buffered.block.jade","begin":"^(\\s*)//","end":"^(?!(\\1\\s)|\\s*$)","patterns":[{"name":"string.comment.buffered.block.jade","match":"^\\s*(//)(?!-)","captures":{"1":{"name":"invalid.illegal.comment.comment.block.jade"}}}]},{"name":"javascript.embedded.jade","begin":"^(\\s*)-$","end":"^(?!(\\1\\s)|\\s*$)","patterns":[{"include":"source.python"}]},{"name":"source.script.jade","begin":"^(\\s*)(script)(?=[.#(\\s])((?![^\\n]*type=)|(?=[^\\n]*(text|application)/javascript))","end":"^(?!(\\1\\s)|\\s*$)","patterns":[{"name":"stuff.tag.script.jade","begin":"\\G(?=\\()","end":"$","patterns":[{"include":"#tag_attributes"}]},{"name":"stuff.tag.script.jade","begin":"\\G(?=[.#])","end":"$","patterns":[{"include":"#complete_tag"}]},{"include":"source.python"}],"beginCaptures":{"2":{"name":"entity.name.tag.script.jade"}}},{"name":"source.style.jade","begin":"^(\\s*)(style)(?=[.#(\\s])","end":"^(?!(\\1\\s)|\\s*$)","patterns":[{"name":"stuff.tag.style.jade","begin":"\\G(?=\\()","end":"$","patterns":[{"include":"#tag_attributes"}]},{"name":"stuff.tag.style.jade","begin":"\\G(?=[.#])","end":"$","patterns":[{"include":"#complete_tag"}]},{"include":"source.css"}],"beginCaptures":{"2":{"name":"entity.name.tag.script.jade"}}},{"name":"text.markdown.filter.jade","begin":"^(\\s*):(markdown)(?=\\(|$)$","end":"^(?!(\\1\\s)|\\s*$)","patterns":[{"include":"#filter_args"},{"include":"text.md"}],"beginCaptures":{"2":{"name":"constant.language.name.markdown.filter.jade"}}},{"name":"source.sass.filter.jade","begin":"^(\\s*):(sass)(?=\\(|$)$","end":"^(?!(\\1\\s)|\\s*$)","patterns":[{"include":"#filter_args"},{"include":"source.sass"}],"beginCaptures":{"2":{"name":"constant.language.name.sass.filter.jade"}}},{"name":"source.less.filter.jade","begin":"^(\\s*):(less)(?=\\(|$)$","end":"^(?!(\\1\\s)|\\s*$)","patterns":[{"include":"#filter_args"},{"include":"source.css.less"}],"beginCaptures":{"2":{"name":"constant.language.name.less.filter.jade"}}},{"name":"source.stylus.filter.jade","begin":"^(\\s*):(stylus)(?=\\(|$)$","end":"^(?!(\\1\\s)|\\s*$)","patterns":[{"include":"#filter_args"},{"include":"source.stylus"}],"beginCaptures":{"2":{"name":"constant.language.name.stylus.filter.jade"}}},{"name":"source.coffeescript.filter.jade","begin":"^(\\s*):(coffee(-?script)?)(?=\\(|$)","end":"^(?!(\\1\\s)|\\s*$)","patterns":[{"include":"#filter_args"},{"include":"source.coffee"}],"beginCaptures":{"2":{"name":"constant.language.name.coffeescript.filter.jade"}}},{"name":"text.generic.filter.jade","begin":"^(\\s*)((:(?=.))|(:$))","end":"^(?!(\\1\\s)|\\s*$)","patterns":[{"name":"name.generic.filter.jade","begin":"\\G(?\u003c=:)(?=.)","end":"$","patterns":[{"name":"invalid.illegal.name.generic.filter.jade","match":"\\G\\("},{"name":"constant.language.name.generic.filter.jade","match":"\\w"},{"include":"#filter_args"},{"name":"invalid.illegal.name.generic.filter.jade","match":"\\W"}]}],"beginCaptures":{"4":{"name":"invalid.illegal.empty.generic.filter.jade"}}},{"name":"text.block.dot.tag.jade","begin":"^(\\s*)(?=[\\w.#].*?\\.$)(?=(?:(?:(?:(?:(?:#[\\w-]+)|(?:\\.[\\w-]+))|(?:(?:[#!]\\{[^}]*\\})|(?:\\w(?:(?:[\\w:-]+[\\w-])|(?:[\\w-]*)))))(?:(?:#[\\w-]+)|(?:\\.[\\w-]+)|(?:\\((?:[^()\\'\\\"]*(?:(?:\\'(?:[^\\']|(?:(?\u003c!\\\\)\\\\\\'))*\\')|(?:\\\"(?:[^\\\"]|(?:(?\u003c!\\\\)\\\\\\\"))*\\\")))*[^()]*\\))*)*)(?:(?:(?::\\s+)|(?\u003c=\\)))(?:(?:(?:(?:#[\\w-]+)|(?:\\.[\\w-]+))|(?:(?:[#!]\\{[^}]*\\})|(?:\\w(?:(?:[\\w:-]+[\\w-])|(?:[\\w-]*)))))(?:(?:#[\\w-]+)|(?:\\.[\\w-]+)|(?:\\((?:[^()\\'\\\"]*(?:(?:\\'(?:[^\\']|(?:(?\u003c!\\\\)\\\\\\'))*\\')|(?:\\\"(?:[^\\\"]|(?:(?\u003c!\\\\)\\\\\\\"))*\\\")))*[^()]*\\))*)*))*)\\.$)(?:(?:(#[\\w-]+)|(\\.[\\w-]+))|((?:[#!]\\{[^}]*\\})|(?:\\w(?:(?:[\\w:-]+[\\w-])|(?:[\\w-]*)))))","end":"^(?!(\\1\\s)|\\s*$)","patterns":[{"include":"#tag_attributes"},{"include":"#complete_tag"},{"name":"text.block.jade","begin":"^(?=.)","end":"$","patterns":[{"include":"#inline_jade"},{"include":"#embedded_html"},{"include":"#html_entity"},{"include":"#interpolated_value"},{"include":"#interpolated_error"}]}],"beginCaptures":{"2":{"name":"constant.id.tag.jade"},"3":{"name":"constant.language.js"},"4":{"name":"entity.name.tag.jade"}}},{"name":"tag.jade","begin":"^\\s*","end":"$","patterns":[{"include":"#inline_jade"},{"include":"#blocks_and_includes"},{"include":"#unbuffered_code"},{"include":"#mixins"},{"include":"#flow_control"},{"include":"#case_conds"},{"name":"text.block.pipe.jade","begin":"\\|","end":"$","patterns":[{"include":"#inline_jade"},{"include":"#embedded_html"},{"include":"#html_entity"},{"include":"#interpolated_value"},{"include":"#interpolated_error"}]},{"include":"#printed_expression"},{"name":"text.jade","begin":"\\G(?=(#[^\\{\\w-])|[^\\w.#])","end":"$","patterns":[{"begin":"\u003c/?(?=[!#])","end":"\u003e|$","patterns":[{"include":"#inline_jade"},{"include":"#interpolated_value"},{"include":"#interpolated_error"}]},{"include":"#inline_jade"},{"include":"#embedded_html"},{"include":"#html_entity"},{"include":"#interpolated_value"},{"include":"#interpolated_error"}]},{"include":"#complete_tag"}]}],"repository":{"blocks_and_includes":{"name":"meta.first-class.jade","match":"(extends|include|yield|append|prepend|block( (append|prepend))?)\\s+(.*)$","captures":{"1":{"name":"storage.type.import.include.jade"},"4":{"name":"variable.control.import.include.jade"}}},"brackets_js":{"name":"js.value.attribute.tag.jade","begin":"\\[","end":"\\]","patterns":[{"include":"#brackets_js"},{"include":"source.python"}]},"case_conds":{"name":"meta.control.flow.jade","begin":"(default|when)((\\s+|(?=:))|$)","end":"$","patterns":[{"name":"js.embedded.control.flow.jade","begin":"\\G(?!:)","end":"(?=:\\s+)|$","patterns":[{"include":"#case_when_paren"},{"include":"source.python"}]},{"name":"tag.case.control.flow.jade","begin":":\\s+","end":"$","patterns":[{"include":"#complete_tag"}]}],"captures":{"1":{"name":"storage.type.function.jade"}}},"case_when_paren":{"name":"js.when.control.flow.jade","begin":"\\(","end":"\\)","patterns":[{"include":"#case_when_paren"},{"name":"invalid.illegal.name.tag.jade","match":":"},{"include":"source.python"}]},"complete_tag":{"name":"complete_tag.jade","begin":"(?=[\\w.#])|(:\\s*)","end":"(\\.?$)|(?=:.)","patterns":[{"include":"#blocks_and_includes"},{"include":"#unbuffered_code"},{"include":"#mixins"},{"include":"#flow_control"},{"name":"invalid.illegal.name.tag.jade","match":"(?\u003c=:)\\w.*$"},{"include":"#tag_name"},{"include":"#tag_id"},{"include":"#tag_classes"},{"include":"#tag_attributes"},{"include":"#tag_mixin_attributes"},{"match":"((\\.)\\s+$)|((:)\\s*$)","captures":{"2":{"name":"invalid.illegal.end.tag.jade"},"4":{"name":"invalid.illegal.end.tag.jade"}}},{"include":"#printed_expression"},{"include":"#tag_text"}]},"embedded_html":{"name":"html","begin":"(?=\u003c[^\u003e]*\u003e)","end":"$|(?=\u003e)","patterns":[{"include":"text.html.basic"},{"include":"#interpolated_value"},{"include":"#interpolated_error"}]},"filter_args":{"name":"args.filter.jade","begin":"\\G(\\()","end":"(\\))(.*?$)","patterns":[{"name":"attributes.tag.jade","contentName":"string.value.args.filter.jade","begin":"([^\\s(),=]+)(=?)","end":"((?=\\))|,|$)","patterns":[{"include":"#filter_args_paren"}],"beginCaptures":{"1":{"name":"entity.other.attribute-name.tag.jade"},"2":{"name":"punctuation.separator.key-value.jade"}}}],"captures":{"1":{"name":"meta.args.filter.jade"},"2":{"name":"invalid.illegal.extra.args.filter.jade"}}},"filter_args_paren":{"begin":"\\(","end":"\\)|$","patterns":[{"include":"#filter_args_paren"}]},"flow_control":{"name":"meta.control.flow.jade","begin":"(for|if|else if|else|each|until|while|unless|case)(\\s+|$)","end":"$","patterns":[{"name":"js.embedded.control.flow.jade","end":"$","patterns":[{"include":"source.python"}]}],"captures":{"1":{"name":"storage.type.function.jade"}}},"html_entity":{"patterns":[{"name":"constant.character.entity.html.text.jade","match":"(\u0026)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)"},{"name":"invalid.illegal.html_entity.text.jade","match":"[\u003c\u003e\u0026]"}]},"inline_jade":{"name":"inline.jade","begin":"(?\u003c!\\\\)(#\\[)","end":"(\\])","patterns":[{"include":"#inline_jade"},{"include":"#mixins"},{"name":"tag.inline.jade","begin":"(?\u003c!\\])(?=[\\w.#])|(:\\s*)","end":"(?=\\]|(:.)|=|\\s)","patterns":[{"include":"#tag_name"},{"include":"#tag_id"},{"include":"#tag_classes"},{"include":"#tag_attributes"},{"include":"#tag_mixin_attributes"},{"include":"#inline_jade"},{"name":"invalid.illegal.tag.jade","match":"\\["}]},{"include":"#unbuffered_code"},{"include":"#printed_expression"},{"name":"invalid.illegal.tag.jade","match":"\\["},{"include":"#inline_jade_text"}],"captures":{"1":{"name":"entity.name.function.jade"},"2":{"name":"entity.name.function.jade"}}},"inline_jade_text":{"name":"text.jade","end":"(?=\\])","patterns":[{"begin":"\\[","end":"\\]","patterns":[{"include":"#inline_jade_text"}]},{"include":"#inline_jade"},{"include":"#embedded_html"},{"include":"#html_entity"},{"include":"#interpolated_value"},{"include":"#interpolated_error"}]},"interpolated_error":{"name":"invalid.illegal.tag.jade","match":"(?\u003c!\\\\)[#!]\\{(?=[^}]*$)"},"interpolated_value":{"name":"string.interpolated.jade","begin":"(?\u003c!\\\\)[#!]\\{(?=.*?\\})","end":"\\}","patterns":[{"name":"invalid.illegal.tag.jade","match":"{"},{"include":"source.python"}]},"mixins":{"name":"meta.mixin.jade","begin":"(((mixin\\s+)|\\+)([\\w-]+))\\s*","end":"(?=\\])|$","patterns":[{"name":"args.mixin.jade","end":"(?=\\])|$","patterns":[{"include":"#tag_attribute_value_paren"},{"include":"#tag_attribute_value_brackets"},{"include":"#tag_attribute_value_braces"},{"include":"#complete_tag"}]}],"beginCaptures":{"2":{"name":"storage.type.function.jade"},"4":{"name":"entity.name.function.jade"}}},"printed_expression":{"begin":"(!?\\=)\\s*","end":"(?=\\])|$","patterns":[{"include":"#brackets_js"},{"include":"source.python"}],"captures":{"1":{"name":"constant"}}},"string":{"name":"string.quoted.jade","begin":"(['\"])","end":"(?\u003c!\\\\)\\1","patterns":[{"name":"constant.character.quoted.jade","match":"\\\\((x[0-9a-fA-F]{2})|(u[0-9]{4})|.)"},{"include":"#interpolated_value"},{"include":"#interpolated_error"}]},"tag_attribute_value_braces":{"name":"js.value.attribute.tag.jade","begin":"\\{","end":"\\}","patterns":[{"include":"#tag_attribute_value_paren"},{"include":"#tag_attribute_value_brackets"},{"include":"#tag_attribute_value_braces"},{"include":"#string"},{"include":"source.python"}]},"tag_attribute_value_brackets":{"name":"js.value.attribute.tag.jade","begin":"\\[","end":"\\]","patterns":[{"include":"#tag_attribute_value_paren"},{"include":"#tag_attribute_value_brackets"},{"include":"#tag_attribute_value_braces"},{"include":"#string"},{"include":"source.python"}]},"tag_attribute_value_paren":{"name":"js.value.attribute.tag.jade","begin":"\\(","end":"\\)","patterns":[{"include":"#tag_attribute_value_paren"},{"include":"#tag_attribute_value_brackets"},{"include":"#tag_attribute_value_braces"},{"include":"#string"},{"include":"source.python"}]},"tag_attributes":{"name":"attributes.tag.jade","begin":"(\\()","end":"(\\))","patterns":[{"name":"attributes.tag.jade","match":"([^\\s(),=/]+)\\s*((?=\\))|,|\\s+|$)(?!\\!?\\=)","captures":{"1":{"name":"entity.other.attribute-name.tag.jade"}}},{"name":"attributes.tag.jade","begin":"([^\\s(),=/]*[^\\s(),=!/])\\s*(!?\\=)","end":"(,|$|(?=\\)|((?\u003c![+/*|\u0026=:^~!?\u003c\u003e%-])\\s+[^+/*|\u0026=:^~!?\u003c\u003e%-])))","patterns":[{"include":"#tag_attribute_value_paren"},{"include":"#tag_attribute_value_brackets"},{"include":"#tag_attribute_value_braces"},{"include":"#string"},{"include":"source.python"}],"beginCaptures":{"1":{"name":"entity.other.attribute-name.tag.jade"},"2":{"name":"punctuation.separator.key-value.jade"}}}],"captures":{"1":{"name":"constant.name.attribute.tag.jade"}}},"tag_classes":{"name":"constant.language.js","match":"\\.([^\\w-])?[\\w-]*","captures":{"1":{"name":"invalid.illegal.tag.jade"}}},"tag_id":{"name":"constant.id.tag.jade","match":"#[\\w-]+"},"tag_mixin_attributes":{"name":"attributes.tag.jade","begin":"(\u0026attributes\\()","end":"(\\))","patterns":[{"name":"storage.type.keyword.jade","match":"attributes(?=\\))"},{"include":"source.python"}],"captures":{"1":{"name":"entity.name.function.jade"}}},"tag_name":{"name":"entity.name.tag.jade","begin":"([#!]\\{(?=.*?\\}))|(\\w(([\\w:-]+[\\w-])|([\\w-]*)))","end":"(\\G(?\u003c!\\5[^\\w-]))|\\}|$","patterns":[{"name":"entity.name.tag.jade","begin":"\\G(?\u003c=\\{)","end":"(?=\\})","patterns":[{"name":"invalid.illegal.tag.jade","match":"{"},{"include":"source.python"}]}]},"tag_text":{"name":"text.jade","begin":"(?=.)","end":"$","patterns":[{"include":"#inline_jade"},{"include":"#embedded_html"},{"include":"#html_entity"},{"include":"#interpolated_value"},{"include":"#interpolated_error"}]},"unbuffered_code":{"name":"javascript.embedded.jade","begin":"(-|(([a-zA-Z0-9_]+)\\s+=))","end":"(?=\\])|$","patterns":[{"include":"#brackets_js"},{"include":"source.python"}],"beginCaptures":{"3":{"name":"variable.parameter.javascript.embedded.jade"}}}}}
@@ -0,0 +1 @@
1
+ {"name":"QuakeC","scopeName":"source.quakec","patterns":[{"include":"#comment"},{"include":"#directive"},{"include":"#command"},{"include":"#toplevel-declaration"}],"repository":{"block-comment":{"name":"comment.block.quakec","begin":"/\\*","end":"\\*/"},"builtin-literal":{"name":"constant.other.builtin.quakec","match":"#[0-9]+\\b"},"code-block":{"begin":"{","end":"}","patterns":[{"include":"#comment"},{"include":"#directive"},{"include":"#statement"}]},"command":{"name":"keyword.other.command.quakec","match":"\\$(cd|origin|base|skin|frame|scale)\\b"},"comment":{"patterns":[{"include":"#block-comment"},{"include":"#line-comment"}]},"ctl-keyword":{"name":"keyword.control.quakec","match":"\\b(if|else|while|do|for|break|continue|goto|return|switch|case|default)\\b"},"directive":{"patterns":[{"name":"meta.preprocessor","begin":"^\\s*#\\s*(if|ifdef|ifndef|elif|endif|else|define|undef|pragma|include|append|error|message)\\b","end":"([^\\\\]|^)\r?\n"}]},"expression":{"patterns":[{"include":"#literal"},{"include":"#operator"},{"include":"#code-block"}]},"line-comment":{"name":"comment.line.double-slash.quakec","begin":"//","end":"$"},"literal":{"patterns":[{"include":"#raw-string"},{"include":"#string-literal"},{"include":"#vector-literal"},{"include":"#builtin-literal"},{"include":"#number-literal"}]},"modifier":{"name":"storage.modifier.quakec","match":"\\b(local|const|static|__wrap)\\b"},"number-literal":{"patterns":[{"name":"constant.numeric.quakec","match":"\\b0x[0-9a-fA-F]+\\b"},{"name":"constant.numeric.quakec","match":"-?\\b[0-9]+\\.[0-9]+([eE]-?[0-9]+)?\\b"},{"name":"constant.numeric.quakec","match":"-?\\b[0-9]+(\\.|i)?"}]},"operator":{"patterns":[{"name":"keyword.operator.symbole.quakec","match":"(\u003e\u003e=|\u003c\u003c=|\u0026\u0026=|\\|\\|=)"},{"name":"keyword.operator.symbole.quakec","match":"(\u003e\u003c|\u003e=|\u003c=|==|!=|\u0026\u0026|\\|\\|~=|\u0026=|\\|=|\\^=|\\*=|/=|\\+=|-=|\\+\\+|--)"},{"name":"keyword.operator.symbole.quakec","match":"(\\.|!|~|\u0026|\\||\\^|\\*|%|/|\\+|-|\u003e|\u003c|=|\\?|:)"},{"name":"keyword.operator.new.quakec","match":"\\bnew\\b"}]},"primitive":{"name":"storage.type.quakec","match":"\\b(float|int|string|vector|entity|void|__variant)\\b"},"raw-string":{"name":"string.quoted.double","begin":"R\"(\\S*)\\(","end":"\\)\\1\""},"statement":{"patterns":[{"include":"#modifier"},{"include":"#type"},{"include":"#ctl-keyword"},{"patterns":[{"name":"support.function","match":"\\bprior\\b"}]},{"include":"#expression"}]},"string-literal":{"name":"string.quoted.double.quakec","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.quakec","match":"\\\\([\\\\\"'nrts0-9\\(=\\)\u003c\\-\u003e]|x[0-9a-fA-F][0-9a-fA-F])"}]},"toplevel-declaration":{"patterns":[{"include":"#type-declaration-keyword"},{"include":"#type"},{"include":"#modifier"},{"include":"#code-block"},{"include":"#expression"}]},"type":{"patterns":[{"include":"#primitive"}]},"type-declaration-keyword":{"name":"storage.type.quakec","match":"\\b(struct|class|enum|union|typedef)\\b"},"vector-literal":{"name":"string.quoted.single.quakec","begin":"'","end":"'"}}}
@@ -0,0 +1 @@
1
+ {"name":"RAScript","scopeName":"source.rascript","patterns":[{"include":"#statements"}],"repository":{"booleans":{"patterns":[{"name":"constant.language.boolean.rascript","match":"\\b(true|false)\\b"}]},"class-definitions":{"patterns":[{"match":"(\\bclass\\b)[\\t ]*(([a-zA-Z_][\\w]*)|(.+))","captures":{"1":{"name":"keyword.class.rascript"},"3":{"name":"entity.name.class.rascript"},"4":{"name":"invalid.illegal.identifier.rascript"}}}]},"comments":{"patterns":[{"name":"comment.block.rascript","begin":"/\\*","end":"\\*/","captures":{"0":{"name":"punctuation.definition.comment.block.rascript"}}},{"name":"comment.line.double-slash.rascript","begin":"//","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment.single.rascript"}}}]},"controls":{"patterns":[{"name":"keyword.control.rascript","match":"\\b(if|else|for|in|return)\\b"}]},"function-definitions":{"patterns":[{"begin":"(\\bfunction\\b)[\\t ]*(([a-zA-Z_][\\w]*)|(.+))\\(","end":"\\)","patterns":[{"name":"invalid.illegal.identifier.rascript","match":"(?:[\\w]+\\s+[\\w]+)"},{"name":"invalid.illegal.identifier.rascript","match":"(?:[^\\s\\,!]*[\\%\\!\\@\\#\\$\\%\\^\\\u0026\\*\\-\\=\\+\\[\\]\\{\\}\\;\\:\\'\"\\.\\\u003c\\\u003e\\/\\?]+[^\\s\\,]*)"},{"name":"variable.parameter.rascript","match":"(?:[a-zA-Z_][\\w]*)"},{"name":"invalid.illegal.identifier.rascript","match":"(?:\\w+)"}],"beginCaptures":{"1":{"name":"keyword.function.rascript"},"3":{"name":"entity.name.function.rascript"},"4":{"name":"invalid.illegal.identifier.rascript"}}}]},"function-names":{"patterns":[{"match":"(([0-9][\\w+]*)|(\\w+))\\(","captures":{"2":{"name":"invalid.illegal.identifier.rascript"},"3":{"name":"entity.name.function.rascript"}}}]},"header":{"patterns":[{"name":"comment.line.double-slash.rascript","match":"^//\\s*(#ID)\\s*=\\s*(\\d+)$","captures":{"1":{"name":"keyword.other.id.rascript"},"2":{"name":"constant.numeric.id.rascript"}}},{"name":"comment.line.double-slash.rascript","match":"^//\\s*(#MinimumVersion)\\s*=\\s*(\\d+(\\.\\d)?)$","captures":{"1":{"name":"keyword.other.version.rascript"},"2":{"name":"constant.numeric.version.rascript"}}}]},"numbers":{"patterns":[{"name":"constant.numeric.decimal.rascript","match":"\\b[0-9]+\\b"},{"name":"constant.numeric.hexadecimal.rascript","match":"(?i)\\$\\b[[:xdigit:]]+\\b|\\b0x[[:xdigit:]]+\\b"}]},"statements":{"patterns":[{"include":"#controls"},{"include":"#booleans"},{"include":"#strings"},{"include":"#numbers"},{"include":"#class-definitions"},{"include":"#function-definitions"},{"include":"#function-names"},{"include":"#header"},{"include":"#comments"},{"include":"#variable-language-this"},{"include":"#variable-assignment"},{"include":"#variable-other"}]},"strings":{"patterns":[{"name":"string.quoted.double.rascript","match":"(?:\".*?\")"}]},"variable-assignment":{"patterns":[{"match":"([a-zA-Z_][\\w]*)[\\t ]*=","captures":{"1":{"name":"variable.other.assignment.rascript"}}}]},"variable-language-this":{"patterns":[{"name":"variable.language.this.rascript","match":"\\b(this)\\b"}]},"variable-other":{"patterns":[{"match":"([a-zA-Z_][\\w]*)","captures":{"1":{"name":"variable.other.rascript"}}}]}}}
@@ -1 +1 @@
1
- {"name":"Record Jar","scopeName":"source.record-jar","patterns":[{"include":"#main"}],"repository":{"escape":{"patterns":[{"begin":"\\\\$\\s*","end":"(?\u003c=[^\\s#%\"'])(?!\\G)","beginCaptures":{"0":{"name":"constant.character.escape.newline.record-jar"}}},{"name":"constant.character.escape.backslash.record-jar","match":"\\\\."}]},"field":{"name":"meta.field.record-jar","begin":"(?:\\G|^)(\\s*)((?!%%|#)\\S.*?)\\s*(:)\\s*","end":"(?!\\G)^(?!\\1\\s)(?=\\S)","patterns":[{"name":"constant.other.date.record-jar","match":"\\G([0-9]{4})(-)(0[0-9]|1[0-2])(-)([0-2][0-9]|3[01])(?=\\s|$)","captures":{"1":{"name":"constant.numeric.integer.year.record-jar"},"2":{"patterns":[{"include":"etc#dash"}]},"3":{"name":"constant.numeric.integer.month.record-jar"},"4":{"patterns":[{"include":"etc#dash"}]},"5":{"name":"constant.numeric.integer.day.record-jar"}}},{"name":"meta.list.record-jar","begin":"\\G\\s*(?=\"|')","end":"(?=^)(?! |\\t)","patterns":[{"include":"#string"},{"include":"etc#comma"},{"include":"#lineContinuation"}]},{"contentName":"string.unquoted.record-jar","begin":"\\G\\s*(?=[^\"'#%\\s])","end":"(?=^)(?! |\\t)","patterns":[{"include":"#escape"}]},{"include":"#comment"}],"beginCaptures":{"1":{"name":"punctuation.whitespace.leading.field.record-jar"},"2":{"name":"variable.assignment.field-name.record-jar"},"3":{"patterns":[{"include":"etc#kolon"}]}}},"main":{"patterns":[{"include":"#record"},{"include":"etc#commentHash"}]},"record":{"name":"meta.record.record-jar","begin":"\\A|(?:^|\\G)(%%)(?:\\s*(\\S.*?))?[ \\t]*$","end":"(?=^%%)(?!\\G)","patterns":[{"include":"#field"},{"include":"etc#commentHash"}],"beginCaptures":{"1":{"name":"meta.separator.record-jar"},"2":{"name":"comment.line.ignored.record-jar"}}},"string":{"patterns":[{"name":"string.quoted.double.record-jar","begin":"\"","end":"\"|(?=\\s*(?\u003c!\\\\)$)","patterns":[{"include":"#escape"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.record-jar"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.record-jar"}}},{"name":"string.quoted.single.record-jar","begin":"'","end":"'(?=\\s*(?\u003c!\\\\)$)","patterns":[{"include":"#escape"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.record-jar"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.record-jar"}}}]}}}
1
+ {"name":"Record Jar","scopeName":"source.record-jar","patterns":[{"include":"#main"}],"repository":{"escape":{"patterns":[{"begin":"\\\\$\\s*","end":"(?\u003c=[^\\s#%\"'])(?!\\G)","beginCaptures":{"0":{"name":"constant.character.escape.newline.record-jar"}}},{"name":"constant.character.escape.backslash.record-jar","match":"\\\\."}]},"field":{"name":"meta.field.record-jar","begin":"(?:\\G|^)(\\s*)((?!%%|#)\\S.*?)\\s*(:)\\s*","end":"(?!\\G)^(?!\\1\\s)(?=\\S)","patterns":[{"name":"constant.other.date.record-jar","match":"\\G([0-9]{4})(-)(0[0-9]|1[0-2])(-)([0-2][0-9]|3[01])(?=\\s|$)","captures":{"1":{"name":"constant.numeric.integer.year.record-jar"},"2":{"patterns":[{"include":"etc#dash"}]},"3":{"name":"constant.numeric.integer.month.record-jar"},"4":{"patterns":[{"include":"etc#dash"}]},"5":{"name":"constant.numeric.integer.day.record-jar"}}},{"name":"meta.list.record-jar","begin":"\\G\\s*(?=\"|')","end":"(?=^)(?! |\\t)","patterns":[{"include":"#string"},{"include":"etc#comma"},{"include":"#escape"}]},{"contentName":"string.unquoted.record-jar","begin":"\\G\\s*(?=[^\"'#%\\s])","end":"(?=^)(?! |\\t)","patterns":[{"include":"#escape"}]},{"include":"etc#commentHash"}],"beginCaptures":{"1":{"name":"punctuation.whitespace.leading.field.record-jar"},"2":{"name":"variable.assignment.field-name.record-jar"},"3":{"patterns":[{"include":"etc#kolon"}]}}},"main":{"patterns":[{"include":"#record"},{"include":"etc#commentHash"}]},"record":{"name":"meta.record.record-jar","begin":"\\A|(?:^|\\G)(%%)(?:\\s*(\\S.*?))?[ \\t]*$","end":"(?=^%%)(?!\\G)","patterns":[{"include":"#field"},{"include":"etc#commentHash"}],"beginCaptures":{"1":{"name":"meta.separator.record-jar"},"2":{"name":"comment.line.ignored.record-jar"}}},"string":{"patterns":[{"name":"string.quoted.double.record-jar","begin":"\"","end":"\"|(?=\\s*(?\u003c!\\\\)$)","patterns":[{"include":"#escape"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.record-jar"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.record-jar"}}},{"name":"string.quoted.single.record-jar","begin":"'","end":"'(?=\\s*(?\u003c!\\\\)$)","patterns":[{"include":"#escape"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.record-jar"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.record-jar"}}}]}}}