github-linguist 9.2.0 → 9.3.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 (96) hide show
  1. checksums.yaml +4 -4
  2. data/bin/github-linguist +23 -4
  3. data/grammars/injection.interpolated-ruby.json +1 -0
  4. data/grammars/injections.etc.json +1 -1
  5. data/grammars/inline.edgeql.json +1 -1
  6. data/grammars/markdown.move.codeblock.json +1 -1
  7. data/grammars/source.abl.json +1 -1
  8. data/grammars/source.ash.json +1 -0
  9. data/grammars/source.ats.json +1 -1
  10. data/grammars/source.bru.json +1 -0
  11. data/grammars/source.c++.json +1 -1
  12. data/grammars/source.c.json +1 -1
  13. data/grammars/source.c.linker.json +1 -1
  14. data/grammars/source.c3.json +1 -0
  15. data/grammars/source.cmake.json +1 -1
  16. data/grammars/source.cmakecache.json +1 -1
  17. data/grammars/source.cobol.json +1 -1
  18. data/grammars/source.cooklang.json +1 -0
  19. data/grammars/source.cs.json +1 -1
  20. data/grammars/source.curlrc.json +1 -1
  21. data/grammars/source.dotenv.json +1 -1
  22. data/grammars/source.edgeql.json +1 -1
  23. data/grammars/source.erlang.json +1 -1
  24. data/grammars/source.flix.json +1 -0
  25. data/grammars/source.fsharp.json +1 -1
  26. data/grammars/source.gdscript.json +1 -1
  27. data/grammars/source.gitignore.json +1 -1
  28. data/grammars/source.harbour.json +1 -1
  29. data/grammars/source.httpspec.json +1 -1
  30. data/grammars/source.hx.json +1 -1
  31. data/grammars/source.ilecobol.json +1 -1
  32. data/grammars/source.inputrc.json +1 -1
  33. data/grammars/source.jai.json +1 -1
  34. data/grammars/source.jq.json +1 -1
  35. data/grammars/source.json.comments.json +1 -1
  36. data/grammars/source.julia.json +1 -1
  37. data/grammars/source.lean4.json +1 -1
  38. data/grammars/source.luau.json +1 -1
  39. data/grammars/source.mermaid.flowchart.json +1 -1
  40. data/grammars/source.mermaid.gantt.json +1 -1
  41. data/grammars/source.mermaid.json +1 -1
  42. data/grammars/source.mermaid.pie-chart.json +1 -1
  43. data/grammars/source.mermaid.quad-chart.json +1 -0
  44. data/grammars/source.mermaid.sankey.json +1 -0
  45. data/grammars/source.mermaid.timeline.json +1 -0
  46. data/grammars/source.mermaid.user-journey.json +1 -1
  47. data/grammars/source.mermaid.zenuml.json +1 -0
  48. data/grammars/source.moonbit.json +1 -1
  49. data/grammars/source.move.json +1 -1
  50. data/grammars/source.nginx.json +1 -1
  51. data/grammars/source.nickel.json +1 -0
  52. data/grammars/source.nim.json +1 -1
  53. data/grammars/source.nr.json +1 -1
  54. data/grammars/source.nushell.json +1 -1
  55. data/grammars/source.odin-ehr.json +1 -1
  56. data/grammars/source.openqasm.json +1 -1
  57. data/grammars/source.postscript.json +1 -1
  58. data/grammars/source.psl.json +1 -0
  59. data/grammars/source.quakec.json +1 -0
  60. data/grammars/source.rascal.json +1 -1
  61. data/grammars/source.record-jar.json +1 -1
  62. data/grammars/source.rosmsg.json +1 -0
  63. data/grammars/source.sieve.json +1 -1
  64. data/grammars/source.slang.json +1 -1
  65. data/grammars/source.slint.json +1 -1
  66. data/grammars/source.stan.json +1 -1
  67. data/grammars/source.swift.json +1 -1
  68. data/grammars/source.templ.json +1 -1
  69. data/grammars/source.vba.json +1 -1
  70. data/grammars/source.vcl.json +1 -0
  71. data/grammars/source.vento.json +1 -1
  72. data/grammars/source.vhdl.json +1 -1
  73. data/grammars/source.vue.json +1 -1
  74. data/grammars/source.wdl.json +1 -1
  75. data/grammars/source.wesl.json +1 -0
  76. data/grammars/source.wgsl.json +1 -1
  77. data/grammars/source.wit.json +1 -1
  78. data/grammars/text.codeowners.json +1 -1
  79. data/grammars/text.html.jte.json +1 -1
  80. data/grammars/text.jira.json +1 -0
  81. data/grammars/text.marko.json +1 -1
  82. data/grammars/text.slim.json +1 -1
  83. data/grammars/text.srt.json +1 -1
  84. data/grammars/text.xml.svg.json +1 -1
  85. data/grammars/version +1 -1
  86. data/lib/linguist/VERSION +1 -1
  87. data/lib/linguist/generated.rb +5 -5
  88. data/lib/linguist/generic.yml +2 -0
  89. data/lib/linguist/heuristics.yml +39 -8
  90. data/lib/linguist/instrumenter.rb +19 -0
  91. data/lib/linguist/languages.json +1 -1
  92. data/lib/linguist/languages.yml +184 -92
  93. data/lib/linguist/samples.json +1 -1
  94. data/lib/linguist.rb +1 -0
  95. metadata +20 -3
  96. data/grammars/source.varnish.vcl.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\\-]+|\"[\\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 +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"}}}]}}}
@@ -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]+$"}}}
@@ -0,0 +1 @@
1
+ {"name":"QuakeC","scopeName":"source.quakec","patterns":[{"include":"#anywhere"},{"include":"#command"},{"include":"#top-level-declaration"}],"repository":{"anywhere":{"patterns":[{"include":"#block-comment"},{"include":"#line-comment"},{"include":"#directive"}]},"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":"#anywhere"},{"include":"#declaration"},{"include":"#ctl-keyword"},{"include":"#label"},{"include":"#code-block"}]},"command":{"patterns":[{"name":"keyword.other.command.quakec","match":"\\$(cd|origin|base|skin|frame|scale)\\b"}]},"ctl-keyword":{"patterns":[{"name":"keyword.control.quakec","match":"\\b(if|else|while|do|for|break|continue|goto|return|switch|case|default|prior)\\b"}]},"declaration":{"patterns":[{"include":"#modifier"},{"include":"#type"},{"include":"#expression"}]},"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":"#anywhere"},{"include":"#literal"},{"include":"#operator"}]},"field":{"patterns":[{"name":"storage.type.quakec","match":"\\.(float|int|string|vector|entity|void)\\b"}]},"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":{"patterns":[{"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.quakec","match":"(\u003e\u003e=|\u003c\u003c=|\u0026\u0026=|\\|\\|=)"},{"name":"keyword.operator.quakec","match":"(\u003e\u003c|\u003e=|\u003c=|==|!=|\u0026\u0026|\\|\\|~=|\u0026=|\\|=|\\^=|\\*=|/=|\\+=|-=|\\+\\+|--)"},{"name":"keyword.operator.quakec","match":"(\\.|!|~|\u0026|\\||\\^|\\*|%|/|\\+|-|\u003e|\u003c|=|\\?|:)"},{"name":"keyword.operator.new.quakec","match":"\\bnew\\b"}]},"parm-list":{"begin":"\\(","end":"\\)","patterns":[{"include":"#anywhere"},{"include":"#type"},{"include":"#expression"}],"beginCaptures":{"0":{"name":"parm-list.open.quakec"}},"endCaptures":{"0":{"name":"parm-list.close.quakec"}}},"primitive":{"patterns":[{"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"},"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])"}]},"top-level-declaration":{"patterns":[{"include":"#declaration"},{"include":"#type-declaration"},{"include":"#parm-list"},{"include":"#code-block"}]},"type":{"patterns":[{"include":"#field"},{"include":"#primitive"}]},"type-declaration":{"patterns":[{"name":"storage.type.quakec","match":"\\b(struct|class|enum|union|typedef)\\b"}]},"vector-literal":{"name":"string.quoted.single.quakec","begin":"'","end":"'"}}}
@@ -1 +1 @@
1
- {"name":"Rascal","scopeName":"source.rascal","patterns":[{"include":"#top_level"}],"repository":{"annotation":{"patterns":[{"name":"comment.block.annotation.rascal","begin":"(@[^ {]+)({)","end":"(})","beginCaptures":{"1":{"name":"storage.type.annotation.block.rascal"},"2":{"name":"punctuation.annotation-argument.begin.rascal"}},"endCaptures":{"1":{"name":"punctuation.annotation-argument.end.rascal"}}},{"name":"meta.annotation.inline.rascal","match":"(@[A-Za-z_0-9]+)","captures":{"1":{"name":"storage.type.annotation.inline.rascal"}}}]},"char_set":{"patterns":[{"name":"punctuation.other.lexicalcharset.rascal","begin":"\\[","end":"\\]","patterns":[{"include":"#string_escape"}]}]},"comment":{"patterns":[{"name":"comment.line.double-slash.rascal","match":"//.*$\\n?"},{"name":"comment.block.rascal","begin":"/\\*","end":"\\*/"}]},"regex":{"patterns":[{"name":"string.regexp.rascal","begin":"/(?!/|\\*)","end":"/([dims]*)","patterns":[{"include":"#regex_escape"},{"include":"#string_interpolation"}],"endCaptures":{"1":{"name":"storage.modifier.regex.rascal"}}}]},"regex_escape":{"patterns":[{"name":"constant.character.escape.regex.rascal","match":"\\\\(/|\u003c|\u003e|\\\\)"}]},"string":{"patterns":[{"name":"string.quoted.single.rascal","begin":"'","end":"'","patterns":[{"include":"#string_escape"}]},{"name":"string.quoted.double.rascal","begin":"\"","end":"\"","patterns":[{"include":"#string_escape"},{"include":"#string_interpolation"}]},{"name":"string.interpolated.rascal","begin":"`","end":"`","patterns":[{"include":"#string_interpolation"},{"include":"#syntax_escape"}]}]},"string_escape":{"patterns":[{"name":"constant.character.escape.ordinary.rascal","match":"\\\\(\\\"|\\'|\u003c|\u003e|\\\\|[bnfrt])"},{"name":"constant.character.escape.unicode.rascal","match":"\\\\(u[0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f] |U(0[0-9 A-F a-f]|10)[0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f] |a[0-7][0-9A-Fa-f] )"}]},"string_interpolation":{"patterns":[{"name":"support.interpolated-string.rascal","begin":"(\u003c)","end":"(\u003e)","patterns":[{"include":"#top_level"}],"beginCaptures":{"1":{"name":"punctuation.interpolation.begin.rascal"}},"endCaptures":{"2":{"name":"punctuation.interpolation.end.rascal"}}}]},"syntax_escape":{"patterns":[{"name":"constant.character.escape.syntax.rascal","match":"\\\\(\\\\|\u003c|\u003e|`)"}]},"top_level":{"patterns":[{"name":"punctuation.other.syntactic.rascal","begin":"(lexical|syntax)\\s+([a-zA-Z][A-Za-z_0-9]*)","end":";","patterns":[{"include":"#char_set"},{"include":"#string"},{"include":"#comment"},{"include":"#regex"},{"include":"#annotation"}],"captures":{"1":{"name":"keyword.control.rascal"},"2":{"name":"entity.name.type.rascal"}}},{"name":"constant.numeric.decimal.rascal","match":"(?\u003c![A-Za-z_])(0(?![0-9a-z_A-Z])|[1-9][0-9]*(?![0-9a-z_A-Z]))"},{"name":"constant.numeric.hex.rascal","match":"(?\u003c![A-Za-z_])0[Xx][0-9A-Fa-f]+(?![0-9a-z_A-Z])"},{"name":"constant.numeric.octal.rascal","match":"(?\u003c![A-Za-z_])0[0-7]+(?![0-9a-z_A-Z])"},{"name":"string.other.datetime.rascal","begin":"\\\\$","end":"\\\\$"},{"name":"constant.numeric.real.rascal","match":"(?\u003c![A-Za-z_]) ([0-9]+[dDfF] |[0-9]+[eE][+\\-]?[0-9]+[dDfF]? |[0-9]+\\.(?!\\.)[0-9]*[dDfF]? |[0-9]+\\.[0-9]*[eE][+\\-]?[0-9]+[dDfF]? |\\.(?!\\.)[0-9]+[dDfF]? |\\.(?!\\.)[0-9]+[eE][+\\-]?[0-9]+[dDfF]? )"},{"name":"constant.language.bool.rascal","match":"\\b(true|false)\\b"},{"name":"constant.numeric.rational.rascal","match":"(?\u003c![A-Za-z_])([0-9][0-9]*r|[1-9][0-9]*r[0-9][0-9]*(?![0-9a-z_A-Z]))"},{"name":"keyword.control.rascal","match":"\\b(syntax|keyword|lexical|break|continue|finally|private|fail|filter|if|tag|extend|append|non-assoc|assoc|test|anno|layout|data|join|it|bracket|in|import|all|solve|try|catch|notin|else|insert|switch|return|case|while|throws|visit|for|assert|default|map|alias|any|module|mod|public|one|throw|start)\\b"},{"name":"support.type.basic.rascal","match":"\\b(value|loc|node|num|type|bag|int|rat|rel|lrel|real|tuple|str|bool|void|datetime|set|map|list)\\b"},{"include":"#string"},{"include":"#regex"},{"include":"#annotation"},{"include":"#comment"},{"name":"variable.other.ordinary.rascal","match":"\\b[a-zA-Z][A-Za-z_0-9]*\\b"},{"name":"variable.other.escaped-keyword.rascal","match":"\\\\(syntax|keyword|lexical|break|continue|finally|private|fail|filter|if|tag|extend|append|non-assoc|assoc|test|anno|layout|data|join|it|bracket|in|import|all|solve|try|catch|notin|else|insert|switch|return|case|while|throws|visit|for|assert|default|map|alias|any|module|mod|public|one|throw|start|value|loc|node|num|type|bag|int|rat|rel|lrel|real|tuple|str|bool|void|datetime|set|map|list)"},{"name":"string.other.url.rascal","match":"\\|([0-9a-z_A-Z.\\-_~:/?#\\[\\]@!$\u0026'()*+,;=`])+\\|","captures":{"1":{"name":"markup.underline.link.rascal"}}}]}}}
1
+ {"name":"Rascal","scopeName":"source.rascal","patterns":[{"include":"#top_level"}],"repository":{"annotation":{"patterns":[{"name":"comment.block.annotation.rascal","begin":"(@[^ {]+)({)","end":"(})","beginCaptures":{"1":{"name":"storage.type.annotation.block.rascal"},"2":{"name":"punctuation.annotation-argument.begin.rascal"}},"endCaptures":{"1":{"name":"punctuation.annotation-argument.end.rascal"}}},{"name":"meta.annotation.inline.rascal","match":"(@[A-Za-z_0-9]+)","captures":{"1":{"name":"storage.type.annotation.inline.rascal"}}}]},"char_set":{"patterns":[{"name":"punctuation.other.lexicalcharset.rascal","begin":"\\[","end":"\\]","patterns":[{"include":"#string_escape"}]}]},"comment":{"patterns":[{"name":"comment.line.double-slash.rascal","match":"//.*$\\n?"},{"name":"comment.block.rascal","begin":"/\\*","end":"\\*/"}]},"regex":{"patterns":[{"name":"string.regexp.rascal","end":"/([dims]*)","patterns":[{"include":"#regex_escape"},{"include":"#string_interpolation"}],"endCaptures":{"1":{"name":"storage.modifier.regex.rascal"}}}]},"regex_escape":{"patterns":[{"name":"constant.character.escape.regex.rascal","match":"\\\\(/|\u003c|\u003e|\\\\)"}]},"string":{"patterns":[{"name":"string.quoted.single.rascal","begin":"'","end":"'","patterns":[{"include":"#string_escape"}]},{"name":"string.quoted.double.rascal","begin":"\"","end":"\"","patterns":[{"include":"#string_escape"},{"include":"#string_interpolation"}]},{"name":"string.interpolated.rascal","begin":"`","end":"`","patterns":[{"include":"#string_interpolation"},{"include":"#syntax_escape"}]}]},"string_escape":{"patterns":[{"name":"constant.character.escape.ordinary.rascal","match":"\\\\(\\\"|\\'|\u003c|\u003e|\\\\|[bnfrt])"},{"name":"constant.character.escape.unicode.rascal","match":"\\\\(u[0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f] |U(0[0-9 A-F a-f]|10)[0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f][0-9A-Fa-f] |a[0-7][0-9A-Fa-f] )"}]},"string_interpolation":{"patterns":[{"name":"support.interpolated-string.rascal","begin":"(\u003c)","end":"(\u003e)","patterns":[{"include":"#top_level"}],"beginCaptures":{"1":{"name":"punctuation.interpolation.begin.rascal"}},"endCaptures":{"2":{"name":"punctuation.interpolation.end.rascal"}}}]},"syntax_escape":{"patterns":[{"name":"constant.character.escape.syntax.rascal","match":"\\\\(\\\\|\u003c|\u003e|`)"}]},"top_level":{"patterns":[{"name":"punctuation.other.syntactic.rascal","begin":"(lexical|syntax)\\s+([a-zA-Z][A-Za-z_0-9]*)","end":";","patterns":[{"include":"#char_set"},{"include":"#string"},{"include":"#comment"},{"include":"#regex"},{"include":"#annotation"}],"captures":{"1":{"name":"keyword.control.rascal"},"2":{"name":"entity.name.type.rascal"}}},{"name":"constant.numeric.decimal.rascal","match":"(?\u003c![A-Za-z_])(0(?![0-9a-z_A-Z])|[1-9][0-9]*(?![0-9a-z_A-Z]))"},{"name":"constant.numeric.hex.rascal","match":"(?\u003c![A-Za-z_])0[Xx][0-9A-Fa-f]+(?![0-9a-z_A-Z])"},{"name":"constant.numeric.octal.rascal","match":"(?\u003c![A-Za-z_])0[0-7]+(?![0-9a-z_A-Z])"},{"name":"string.other.datetime.rascal","begin":"\\\\$","end":"\\\\$"},{"name":"constant.numeric.real.rascal","match":"(?\u003c![A-Za-z_]) ([0-9]+[dDfF] |[0-9]+[eE][+\\-]?[0-9]+[dDfF]? |[0-9]+\\.(?!\\.)[0-9]*[dDfF]? |[0-9]+\\.[0-9]*[eE][+\\-]?[0-9]+[dDfF]? |\\.(?!\\.)[0-9]+[dDfF]? |\\.(?!\\.)[0-9]+[eE][+\\-]?[0-9]+[dDfF]? )"},{"name":"constant.language.bool.rascal","match":"\\b(true|false)\\b"},{"name":"constant.numeric.rational.rascal","match":"(?\u003c![A-Za-z_])([0-9][0-9]*r|[1-9][0-9]*r[0-9][0-9]*(?![0-9a-z_A-Z]))"},{"name":"keyword.control.rascal","match":"\\b(syntax|keyword|lexical|break|continue|finally|private|fail|filter|if|tag|extend|append|non-assoc|assoc|test|anno|layout|data|join|it|bracket|in|import|all|solve|try|catch|notin|else|insert|switch|return|case|while|throws|visit|for|assert|default|map|alias|any|module|mod|public|one|throw|start)\\b"},{"name":"support.type.basic.rascal","match":"\\b(value|loc|node|num|type|bag|int|rat|rel|lrel|real|tuple|str|bool|void|datetime|set|map|list)\\b"},{"include":"#string"},{"include":"#regex"},{"include":"#annotation"},{"include":"#comment"},{"name":"variable.other.ordinary.rascal","match":"\\b[a-zA-Z][A-Za-z_0-9]*\\b"},{"name":"variable.other.escaped-keyword.rascal","match":"\\\\(syntax|keyword|lexical|break|continue|finally|private|fail|filter|if|tag|extend|append|non-assoc|assoc|test|anno|layout|data|join|it|bracket|in|import|all|solve|try|catch|notin|else|insert|switch|return|case|while|throws|visit|for|assert|default|map|alias|any|module|mod|public|one|throw|start|value|loc|node|num|type|bag|int|rat|rel|lrel|real|tuple|str|bool|void|datetime|set|map|list)"},{"name":"string.other.url.rascal","match":"\\|([0-9a-z_A-Z.\\-_~:/?#\\[\\]@!$\u0026'()*+,;=`])+\\|","captures":{"1":{"name":"markup.underline.link.rascal"}}}]}}}
@@ -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"}}}]}}}
@@ -0,0 +1 @@
1
+ {"name":"ROS Interface","scopeName":"source.rosmsg","patterns":[{"include":"#separators"},{"include":"#lines"},{"include":"#comments"}],"repository":{"attributes":{"name":"storage.modifier.attribute.rosmsg","match":"@optional\\b"},"builtin-types":{"name":"storage.type.rosmsg","match":"\\b(?:bool|byte|char|u?int(?:8|16|32|64)|float(?:32|64)|w?string|time|duration)\\b"},"comments":{"name":"comment.line.number-sign.rosmsg","match":"#.*"},"field-other":{"begin":"(?=\\b[a-zA-Z_])","end":"$|(?=#)","patterns":[{"name":"support.type.rosmsg","match":"\\G[a-zA-Z0-9_/]+","captures":{"0":{"patterns":[{"include":"#builtin-types"}]}}},{"name":"constant.numeric.integer.rosmsg","match":"\\d+"},{"begin":"(?=[a-zA-Z_])","end":"$|(?=#)","patterns":[{"include":"#field-other-after-type"}]}]},"field-other-after-type":{"patterns":[{"name":"variable.other.field.rosmsg","match":"\\G[a-zA-Z0-9_]+"},{"end":"$|(?=#)","patterns":[{"include":"#literal-other"},{"include":"#literal-other-array"}]}]},"field-string":{"begin":"(?=\\bw?string\\b)","end":"$|(?=#)","patterns":[{"match":"\\Gw?string\\b","captures":{"0":{"name":"storage.type.rosmsg"}}},{"name":"constant.numeric.integer.rosmsg","match":"\\d+"},{"begin":"(?=[a-zA-Z_])","end":"$|(?=#)","patterns":[{"include":"#field-string-after-type"}]}]},"field-string-after-type":{"patterns":[{"name":"variable.other.field.rosmsg","match":"\\G[a-zA-Z0-9_]+"},{"begin":"=|(?\u003c=\\s)","end":"$|(?=#)","patterns":[{"include":"#literal-string"}]}]},"field-string-array":{"begin":"(?=\\bw?string[\u003c=\\d]*\\[)","end":"$|(?=#)","patterns":[{"name":"support.type.rosmsg","match":"\\Gw?string\\b","captures":{"0":{"name":"storage.type.rosmsg"}}},{"name":"constant.numeric.integer.rosmsg","match":"\\d+"},{"begin":"(?=[a-zA-Z_])","end":"$|(?=#)","patterns":[{"include":"#field-string-array-after-type"}]}]},"field-string-array-after-type":{"patterns":[{"name":"variable.other.field.rosmsg","match":"\\G[a-zA-Z0-9_]+"},{"name":"meta.default-value.rosmsg","begin":"(?\u003c=\\s)","end":"$|(?=#)","patterns":[{"include":"#literal-string-array"}]}]},"lines":{"patterns":[{"include":"#attributes"},{"include":"#field-string-array"},{"include":"#field-string"},{"include":"#field-other"}]},"literal-other":{"patterns":[{"name":"constant.numeric.float.rosmsg","match":"[-+]?(?:(?:\\d+(?:_\\d+)*)?\\.\\d+(?:_\\d+)*|\\d+(?:_\\d+)*\\.)(?:[eE][-+]?\\d+(?:_\\d+)*)?"},{"name":"constant.numeric.integer.rosmsg","match":"[-+]?\\d+(?:_\\d+)*"},{"name":"constant.language.boolean.rosmsg","match":"(?i)\\b(?:true|false)\\b"}]},"literal-other-array":{"patterns":[{"name":"meta.array.rosmsg","begin":"\\[","end":"\\]|$|(?=#)","patterns":[{"include":"#literal-other"}]}]},"literal-string":{"patterns":[{"include":"#literal-string-quoted"},{"include":"#literal-string-unquoted"}]},"literal-string-array":{"patterns":[{"name":"meta.array.rosmsg","begin":"\\[","end":"\\]|$|(?=#)","patterns":[{"include":"#literal-string-quoted"},{"include":"#literal-string-unquoted-in-array"}]}]},"literal-string-escape":{"patterns":[{"name":"constant.character.escape.rosmsg","match":"\\\\[0-7]{3}|\\\\x[0-9a-fA-F]{2}|\\\\u[0-9a-fA-F]{4}|\\\\U[0-9a-fA-F]{8}|\\\\."}]},"literal-string-quoted":{"patterns":[{"name":"string.quoted.double.rosmsg","begin":"\"","end":"\"|$","patterns":[{"include":"#literal-string-escape"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.rosmsg"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.rosmsg"}}},{"name":"string.quoted.single.rosmsg","begin":"'","end":"'|$","patterns":[{"include":"#literal-string-escape"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.rosmsg"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.rosmsg"}}}]},"literal-string-unquoted":{"name":"string.unquoted.rosmsg","begin":"(?=[^\\s\"'])","end":"(?=\\s*(?:#|$))","patterns":[{"include":"#literal-string-escape"}]},"literal-string-unquoted-in-array":{"name":"string.unquoted.rosmsg","begin":"(?=[^\\s\"',\\]])","end":"(?=\\s*(?:$|[,\\]]))","patterns":[{"include":"#literal-string-escape"}]},"separators":{"patterns":[{"name":"meta.separator.rosmsg","match":"^---\\s*$\\n?"},{"name":"meta.separator.rosmsg","match":"^={3,}\\s*$\\n?"},{"name":"meta.separator.rosmsg","match":"^MSG:\\s+([a-zA-Z0-9_/]+)\\s*$\\n?","captures":{"1":{"name":"entity.name.type.class.rosmsg"}}}]}}}
@@ -1 +1 @@
1
- {"name":"Sieve","scopeName":"source.sieve","patterns":[{"include":"#main"}],"repository":{"action":{"name":"meta.action.sieve","begin":"\\b(?!\\d)\\w+","end":"(?=\\s*(?:$|\\]|\\)|[};,]))","patterns":[{"include":"#arguments"}],"beginCaptures":{"0":{"name":"keyword.operator.action.sieve"}}},"arguments":{"patterns":[{"include":"#taggedArgument"},{"include":"#comparator"},{"include":"#stringBlock"},{"include":"#testList"},{"include":"#stringList"},{"include":"#strings"},{"include":"#numbers"},{"include":"#comments"},{"include":"#punctuation"}]},"block":{"name":"meta.block.sieve","begin":"{","end":"}","patterns":[{"include":"#main"}],"beginCaptures":{"0":{"name":"punctuation.definition.brace.bracket.curly.begin.sieve"}},"endCaptures":{"0":{"name":"punctuation.definition.brace.bracket.curly.end.sieve"}}},"comments":{"patterns":[{"name":"comment.line.number-sign.sieve","begin":"#","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment.sieve"}}},{"name":"comment.block.bracketed.sieve","begin":"/\\*","end":"\\*/","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.sieve"}},"endCaptures":{"0":{"name":"punctuation.definition.comment.end.sieve"}}}]},"comparator":{"patterns":[{"name":"storage.modifier.comparator.${3:/downcase}.sieve","match":"(?i)(\")i(;)(octet|ascii-casemap)(\")","captures":{"1":{"name":"punctuation.definition.comparator.begin.sieve"},"2":{"name":"punctuation.separator.delimiter.semicolon.sieve"},"4":{"name":"punctuation.definition.comparator.end.sieve"}}},{"match":"(?i)(?\u003c=:comparator)\\s*((\")(?!i;(?:octet|ascii-casemap)\")[^\"]+(\"))","captures":{"1":{"name":"storage.modifier.comparator.non-standard.sieve"},"2":{"name":"punctuation.definition.comparator.begin.sieve"},"3":{"name":"punctuation.definition.comparator.end.sieve"}}}]},"conditional":{"name":"meta.conditional.${1:/downcase}.sieve","begin":"(?i)\\b(if|elsif|else)(?=[\\s{]|$)","end":"(?\u003c=\\})","patterns":[{"include":"#test"},{"include":"#comment"},{"include":"#block"}],"beginCaptures":{"1":{"name":"keyword.control.flow.${1:/downcase}.sieve"}}},"encodedCharacter":{"name":"meta.encoded-character.${2:/downcase}.sieve","match":"(?i)(\\$\\{)(hex|unicode)(:)([\\s0-9A-Fa-f]+)(})","captures":{"1":{"name":"punctuation.section.embedded.begin.sieve"},"2":{"name":"entity.name.encoding.${2:/downcase}.sieve"},"3":{"name":"punctuation.delimiter.separator.colon.sieve"},"4":{"patterns":[{"name":"constant.numeric.integer.hex.sieve","match":"[0-9A-Fa-f]+"}]},"5":{"name":"punctuation.section.embedded.end.sieve"}}},"main":{"patterns":[{"include":"#comments"},{"include":"#conditional"},{"include":"#require"},{"include":"#arguments"},{"include":"#block"},{"include":"#action"}]},"numbers":{"name":"constant.numeric.integer.int.decimal.sieve","match":"(?i)\\d+(K|M|G)?","captures":{"1":{"name":"constant.language.quantifier.${1:/downcase}b.sieve"}}},"punctuation":{"patterns":[{"name":"punctuation.separator.delimiter.sieve","match":","},{"name":"punctuation.terminator.statement.semicolon.sieve","match":";"}]},"require":{"name":"keyword.control.directive.include.require.sieve","match":"\\b(?i:require)(?=\\s|$|\\[)"},"stringBlock":{"name":"meta.multi-line.sieve","contentName":"string.unquoted.heredoc.multiline.sieve","begin":"(?i)\\b(text(:))\\s*(?:$|(#.*))","end":"^\\.$","beginCaptures":{"1":{"name":"storage.type.text.sieve"},"2":{"name":"punctuation.definition.heredoc.begin.sieve"},"3":{"patterns":[{"include":"#comments"}]}},"endCaptures":{"0":{"name":"punctuation.definition.heredoc.end.sieve"}}},"stringEscapes":{"patterns":[{"name":"constant.character.escape.backslash.sieve","match":"(\\\\)\\\\","captures":{"1":{"name":"punctuation.definition.escape.backslash.sieve"}}},{"name":"constant.character.escape.quote.sieve","match":"(\\\\)\"","captures":{"1":{"name":"punctuation.definition.escape.backslash.sieve"}}},{"name":"invalid.deprecated.unknown-escape.sieve","match":"(\\\\).","captures":{"1":{"name":"punctuation.definition.escape.backslash.sieve"}}}]},"stringList":{"name":"meta.string-list.sieve","begin":"\\[","end":"\\]","patterns":[{"include":"#main"}],"beginCaptures":{"0":{"name":"punctuation.definition.bracket.square.begin.sieve"}},"endCaptures":{"0":{"name":"punctuation.definition.bracket.square.end.sieve"}}},"strings":{"name":"string.quoted.double.sieve","begin":"\"","end":"\"","patterns":[{"include":"#encodedCharacter"},{"include":"#stringEscapes"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.sieve"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.sieve"}}},"taggedArgument":{"name":"keyword.operator.tagged-argument.sieve","match":"(:)(?!\\d)\\w+","captures":{"1":{"name":"punctuation.definition.colon.tagged-argument.sieve"}}},"test":{"name":"meta.tests.sieve","begin":"(?:\\G|^|(?\u003c=,|\\())\\s*(?i:(not)\\s+)?((?:[^\\s(){},:\\[\\]#/]|/[^*])++)","end":"(?=\\s*[{,\\)])","patterns":[{"include":"#arguments"}],"beginCaptures":{"1":{"name":"entity.name.function.test.negation.sieve"},"2":{"name":"entity.name.function.test.sieve"}}},"testList":{"name":"meta.test-list.sieve","begin":"\\(","end":"\\)","patterns":[{"include":"#test"},{"include":"#main"}],"beginCaptures":{"0":{"name":"punctuation.definition.bracket.round.begin.sieve"}},"endCaptures":{"0":{"name":"punctuation.definition.bracket.round.end.sieve"}}}}}
1
+ {"name":"Sieve","scopeName":"source.sieve","patterns":[{"include":"#main"}],"repository":{"action":{"name":"meta.action.sieve","begin":"\\b(?!\\d)\\w+","end":"(?=\\s*(?:$|\\]|\\)|[};,]))","patterns":[{"include":"#arguments"}],"beginCaptures":{"0":{"name":"keyword.operator.action.sieve"}}},"arguments":{"patterns":[{"include":"#taggedArgument"},{"include":"#comparator"},{"include":"#stringBlock"},{"include":"#testList"},{"include":"#stringList"},{"include":"#strings"},{"include":"#numbers"},{"include":"#comments"},{"include":"#punctuation"}]},"block":{"name":"meta.block.sieve","begin":"{","end":"}","patterns":[{"include":"#main"}],"beginCaptures":{"0":{"name":"punctuation.definition.brace.bracket.curly.begin.sieve"}},"endCaptures":{"0":{"name":"punctuation.definition.brace.bracket.curly.end.sieve"}}},"comments":{"patterns":[{"name":"comment.line.number-sign.sieve","begin":"#","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment.sieve"}}},{"name":"comment.block.bracketed.sieve","begin":"/\\*","end":"\\*/","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.sieve"}},"endCaptures":{"0":{"name":"punctuation.definition.comment.end.sieve"}}}]},"comparator":{"patterns":[{"name":"storage.modifier.comparator.${3:/downcase}.sieve","match":"(?i)(\")i(;)(octet|ascii-casemap)(\")","captures":{"1":{"name":"punctuation.definition.comparator.begin.sieve"},"2":{"name":"punctuation.separator.delimiter.semicolon.sieve"},"4":{"name":"punctuation.definition.comparator.end.sieve"}}},{"match":"(?i)(?\u003c=:comparator)\\s*((\")(?!i;(?:octet|ascii-casemap)\")[^\"]+(\"))","captures":{"1":{"name":"storage.modifier.comparator.non-standard.sieve"},"2":{"name":"punctuation.definition.comparator.begin.sieve"},"3":{"name":"punctuation.definition.comparator.end.sieve"}}}]},"conditional":{"name":"meta.conditional.${1:/downcase}.sieve","begin":"(?i)\\b(if|elsif|else)(?=[\\s{]|$)","end":"(?\u003c=\\})","patterns":[{"include":"#test"},{"include":"#comments"},{"include":"#block"}],"beginCaptures":{"1":{"name":"keyword.control.flow.${1:/downcase}.sieve"}}},"encodedCharacter":{"name":"meta.encoded-character.${2:/downcase}.sieve","match":"(?i)(\\$\\{)(hex|unicode)(:)([\\s0-9A-Fa-f]+)(})","captures":{"1":{"name":"punctuation.section.embedded.begin.sieve"},"2":{"name":"entity.name.encoding.${2:/downcase}.sieve"},"3":{"name":"punctuation.delimiter.separator.colon.sieve"},"4":{"patterns":[{"name":"constant.numeric.integer.hex.sieve","match":"[0-9A-Fa-f]+"}]},"5":{"name":"punctuation.section.embedded.end.sieve"}}},"main":{"patterns":[{"include":"#comments"},{"include":"#conditional"},{"include":"#require"},{"include":"#arguments"},{"include":"#block"},{"include":"#action"}]},"numbers":{"name":"constant.numeric.integer.int.decimal.sieve","match":"(?i)\\d+(K|M|G)?","captures":{"1":{"name":"constant.language.quantifier.${1:/downcase}b.sieve"}}},"punctuation":{"patterns":[{"name":"punctuation.separator.delimiter.sieve","match":","},{"name":"punctuation.terminator.statement.semicolon.sieve","match":";"}]},"require":{"name":"keyword.control.directive.include.require.sieve","match":"\\b(?i:require)(?=\\s|$|\\[)"},"stringBlock":{"name":"meta.multi-line.sieve","contentName":"string.unquoted.heredoc.multiline.sieve","begin":"(?i)\\b(text(:))\\s*(?:$|(#.*))","end":"^\\.$","beginCaptures":{"1":{"name":"storage.type.text.sieve"},"2":{"name":"punctuation.definition.heredoc.begin.sieve"},"3":{"patterns":[{"include":"#comments"}]}},"endCaptures":{"0":{"name":"punctuation.definition.heredoc.end.sieve"}}},"stringEscapes":{"patterns":[{"name":"constant.character.escape.backslash.sieve","match":"(\\\\)\\\\","captures":{"1":{"name":"punctuation.definition.escape.backslash.sieve"}}},{"name":"constant.character.escape.quote.sieve","match":"(\\\\)\"","captures":{"1":{"name":"punctuation.definition.escape.backslash.sieve"}}},{"name":"invalid.deprecated.unknown-escape.sieve","match":"(\\\\).","captures":{"1":{"name":"punctuation.definition.escape.backslash.sieve"}}}]},"stringList":{"name":"meta.string-list.sieve","begin":"\\[","end":"\\]","patterns":[{"include":"#main"}],"beginCaptures":{"0":{"name":"punctuation.definition.bracket.square.begin.sieve"}},"endCaptures":{"0":{"name":"punctuation.definition.bracket.square.end.sieve"}}},"strings":{"name":"string.quoted.double.sieve","begin":"\"","end":"\"","patterns":[{"include":"#encodedCharacter"},{"include":"#stringEscapes"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.sieve"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.sieve"}}},"taggedArgument":{"name":"keyword.operator.tagged-argument.sieve","match":"(:)(?!\\d)\\w+","captures":{"1":{"name":"punctuation.definition.colon.tagged-argument.sieve"}}},"test":{"name":"meta.tests.sieve","begin":"(?:\\G|^|(?\u003c=,|\\())\\s*(?i:(not)\\s+)?((?:[^\\s(){},:\\[\\]#/]|/[^*])++)","end":"(?=\\s*[{,\\)])","patterns":[{"include":"#arguments"}],"beginCaptures":{"1":{"name":"entity.name.function.test.negation.sieve"},"2":{"name":"entity.name.function.test.sieve"}}},"testList":{"name":"meta.test-list.sieve","begin":"\\(","end":"\\)","patterns":[{"include":"#test"},{"include":"#main"}],"beginCaptures":{"0":{"name":"punctuation.definition.bracket.round.begin.sieve"}},"endCaptures":{"0":{"name":"punctuation.definition.bracket.round.end.sieve"}}}}}