github-linguist 7.24.1 → 7.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/linguist/lex.linguist_yy.c +14 -17
- data/ext/linguist/lex.linguist_yy.h +2 -2
- data/ext/linguist/tokenizer.l +0 -1
- data/grammars/govulncheck.json +1 -0
- data/grammars/inline.graphql.scala.json +1 -0
- data/grammars/liquid.injection.json +1 -1
- data/grammars/markdown.curry.codeblock.json +1 -1
- data/grammars/markdown.talon.codeblock.json +1 -0
- data/grammars/source.abap.json +1 -1
- data/grammars/source.abl.json +1 -1
- data/grammars/source.acucobol.json +1 -1
- data/grammars/source.apex.json +1 -0
- data/grammars/source.arr.json +1 -0
- data/grammars/source.astro.json +1 -1
- data/grammars/source.basic.json +1 -1
- data/grammars/source.bicep.json +1 -1
- data/grammars/source.brs.json +1 -1
- data/grammars/source.bsl.json +1 -1
- data/grammars/source.cds.json +1 -1
- data/grammars/source.chapel.json +1 -1
- data/grammars/source.circom.json +1 -0
- data/grammars/source.clar.json +1 -1
- data/grammars/source.cobol.json +1 -1
- data/grammars/source.cs.json +1 -1
- data/grammars/source.curlrc.json +1 -1
- data/grammars/source.d2.json +1 -0
- data/grammars/source.dart.json +1 -1
- data/grammars/source.denizenscript.json +1 -1
- data/grammars/source.did.json +1 -0
- data/grammars/source.dm.json +1 -1
- data/grammars/source.editorconfig.json +1 -1
- data/grammars/source.fsharp.json +1 -1
- data/grammars/source.gdscript.json +1 -1
- data/grammars/source.generic-config.json +1 -0
- data/grammars/source.gfm.blade.json +1 -1
- data/grammars/source.gitconfig.json +1 -1
- data/grammars/source.gleam.json +1 -1
- data/grammars/source.graphql.json +1 -1
- data/grammars/source.hocon.json +1 -1
- data/grammars/source.hosts.json +1 -1
- data/grammars/source.j.json +1 -1
- data/grammars/source.jflex.json +1 -1
- data/grammars/source.kerboscript.json +1 -0
- data/grammars/source.kickstart.json +1 -0
- data/grammars/source.kotlin.json +1 -1
- data/grammars/source.lolcode.json +1 -0
- data/grammars/source.m2.json +1 -1
- data/grammars/source.matlab.json +1 -1
- data/grammars/source.mdx.json +1 -0
- data/grammars/source.mermaid.flowchart.json +1 -1
- data/grammars/source.mermaid.json +1 -1
- data/grammars/source.mermaid.mindmap.json +1 -0
- data/grammars/source.mo.json +1 -1
- data/grammars/source.move.json +1 -1
- data/grammars/source.nasal.json +1 -0
- data/grammars/source.nim.json +1 -1
- data/grammars/source.nimcfg.json +1 -1
- data/grammars/source.nushell.json +1 -0
- data/grammars/source.pact.json +1 -0
- data/grammars/source.pddl.json +1 -1
- data/grammars/source.pnlgrp.json +1 -1
- data/grammars/source.polar.json +1 -1
- data/grammars/source.postscript.json +1 -1
- data/grammars/source.prisma.json +1 -1
- data/grammars/source.rascal.json +1 -1
- data/grammars/source.rbs.json +1 -0
- data/grammars/source.rescript.json +1 -1
- data/grammars/source.rmcobol.json +1 -0
- data/grammars/source.rpgle.json +1 -1
- data/grammars/source.rust.json +1 -1
- data/grammars/source.scala.json +1 -1
- data/grammars/source.scenic.json +1 -1
- data/grammars/source.singularity.json +1 -1
- data/grammars/source.smithy.json +1 -1
- data/grammars/source.soql.json +1 -0
- data/grammars/source.sqf.json +1 -1
- data/grammars/source.stan.json +1 -1
- data/grammars/source.svelte.json +1 -1
- data/grammars/source.sway.json +1 -0
- data/grammars/source.talon.json +1 -1
- data/grammars/source.tlverilog.json +1 -0
- data/grammars/source.toc.json +1 -1
- data/grammars/source.ts.json +1 -1
- data/grammars/source.tsql.json +1 -1
- data/grammars/source.tsx.json +1 -1
- data/grammars/source.v.json +1 -1
- data/grammars/source.vba.json +1 -0
- data/grammars/source.wgsl.json +1 -0
- data/grammars/source.wit.json +1 -0
- data/grammars/source.wwb.json +1 -0
- data/grammars/source.yara.json +1 -1
- data/grammars/text.adblock.json +1 -1
- data/grammars/text.checksums.json +1 -1
- data/grammars/text.haml.json +1 -1
- data/grammars/text.html.liquid.json +1 -1
- data/grammars/text.html.markdown.d2.json +1 -0
- data/grammars/text.marko.json +1 -1
- data/grammars/text.md.json +1 -0
- data/grammars/text.pseudoxml.json +1 -0
- data/grammars/text.restructuredtext.json +1 -1
- data/grammars/text.sfd.json +1 -1
- data/grammars/text.xml.svg.json +1 -1
- data/grammars/version +1 -1
- data/lib/linguist/VERSION +1 -1
- data/lib/linguist/generated.rb +8 -0
- data/lib/linguist/generic.yml +1 -0
- data/lib/linguist/heuristics.yml +104 -47
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +272 -35
- data/lib/linguist/samples.json +1 -1
- data/lib/linguist/vendor.yml +7 -1
- metadata +36 -10
- data/grammars/source.gfm.json +0 -1
- data/grammars/source.nim.comment.json +0 -1
- data/grammars/source.nim_filter.json +0 -1
data/grammars/source.svelte.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"Svelte","scopeName":"source.svelte","patterns":[{"begin":"(\u003c)(style)\\b(?=[^\u003e]*(?:type=('text/sass'|\"text/sass\")|lang=(sass|'sass'|\"sass\")))(?![^/\u003e]*/\u003e\\s*$)","end":"(\u003c/)(style)(\u003e)","patterns":[{"include":"#tag-stuff"},{"contentName":"source.sass","begin":"(\u003e)","end":"(?=\u003c/style\u003e)","patterns":[{"include":"source.sass"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}}}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.style.html"}},"endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.style.html"},"3":{"name":"punctuation.definition.tag.end.html"}}},{"begin":"(\u003c)(style)\\b(?=[^\u003e]*(?:type=('text/scss'|\"text/scss\")|lang=(scss|'scss'|\"scss\")))(?![^/\u003e]*/\u003e\\s*$)","end":"(\u003c/)(style)(\u003e)","patterns":[{"include":"#tag-stuff"},{"contentName":"source.css.scss","begin":"(\u003e)","end":"(?=\u003c/style\u003e)","patterns":[{"include":"source.css.scss"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}}}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.style.html"}},"endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.style.html"},"3":{"name":"punctuation.definition.tag.end.html"}}},{"begin":"(\u003c)(style)\\b(?=[^\u003e]*(?:type=('text/less'|\"text/less\")|lang=(less|'less'|\"less\")))(?![^/\u003e]*/\u003e\\s*$)","end":"(\u003c/)(style)(\u003e)","patterns":[{"include":"#tag-stuff"},{"contentName":"source.css.less","begin":"(\u003e)","end":"(?=\u003c/style\u003e)","patterns":[{"include":"source.css.less"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}}}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.style.html"}},"endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.style.html"},"3":{"name":"punctuation.definition.tag.end.html"}}},{"begin":"(\u003c)(style)\\b(?=[^\u003e]*(?:type=('text/stylus'|\"text/stylus\")|lang=(stylus|'stylus'|\"stylus\")))(?![^/\u003e]*/\u003e\\s*$)","end":"(\u003c/)(style)(\u003e)","patterns":[{"include":"#tag-stuff"},{"contentName":"source.stylus","begin":"(\u003e)","end":"(?=\u003c/style\u003e)","patterns":[{"include":"source.stylus"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}}}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.style.html"}},"endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.style.html"},"3":{"name":"punctuation.definition.tag.end.html"}}},{"begin":"(\u003c)(style)\\b(?=[^\u003e]*(?:type=('text/postcss'|\"text/postcss\")|lang=(postcss|'postcss'|\"postcss\")))(?![^/\u003e]*/\u003e\\s*$)","end":"(\u003c/)(style)(\u003e)","patterns":[{"include":"#tag-stuff"},{"contentName":"source.postcss","begin":"(\u003e)","end":"(?=\u003c/style\u003e)","patterns":[{"include":"source.postcss"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}}}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.style.html"}},"endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.style.html"},"3":{"name":"punctuation.definition.tag.end.html"}}},{"begin":"(\u003c)(style)\\b(?=[^\u003e]*(?:(?:type=('text/css'|\"text/css\")|lang=(css|'css'|\"css\")))?)(?![^/\u003e]*/\u003e\\s*$)","end":"(\u003c/)(style)(\u003e)","patterns":[{"include":"#tag-stuff"},{"contentName":"source.css","begin":"(\u003e)","end":"(?=\u003c/style\u003e)","patterns":[{"include":"source.css"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}}}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.style.html"}},"endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.style.html"},"3":{"name":"punctuation.definition.tag.end.html"}}},{"begin":"(\u003c)(script)\\b(?=[^\u003e]*(?:type=('text/typescript'|\"text/typescript\")|lang=(typescript|'typescript'|\"typescript\")))(?![^/\u003e]*/\u003e\\s*$)","end":"(\u003c/)(script)(\u003e)","patterns":[{"include":"#tag-stuff"},{"contentName":"source.ts","begin":"(\u003e)","end":"(?=\u003c/script\u003e)","patterns":[{"include":"source.ts"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}}}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.script.html"}},"endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.script.html"},"3":{"name":"punctuation.definition.tag.end.html"}}},{"begin":"(\u003c)(script)\\b(?=[^\u003e]*(?:type=('text/coffee'|\"text/coffee\")|lang=(coffee|'coffee'|\"coffee\")))(?![^/\u003e]*/\u003e\\s*$)","end":"(\u003c/)(script)(\u003e)","patterns":[{"include":"#tag-stuff"},{"contentName":"source.coffee","begin":"(\u003e)","end":"(?=\u003c/script\u003e)","patterns":[{"include":"source.coffee"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}}}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.script.html"}},"endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.script.html"},"3":{"name":"punctuation.definition.tag.end.html"}}},{"begin":"(\u003c)(script)\\b(?=[^\u003e]*(?:(?:type=('text/javascript'|\"text/javascript\")|lang=(javascript|'javascript'|\"javascript\")))?)(?![^/\u003e]*/\u003e\\s*$)","end":"(\u003c/)(script)(\u003e)","patterns":[{"include":"#tag-stuff"},{"contentName":"source.js","begin":"(\u003e)","end":"(?=\u003c/script\u003e)","patterns":[{"include":"source.js"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}}}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.script.html"}},"endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.script.html"},"3":{"name":"punctuation.definition.tag.end.html"}}},{"begin":"({)\\s*(#if|:elseif|#await|@html)","end":"}","patterns":[{"include":"source.ts"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.svelte"},"2":{"name":"keyword.control.conditional"}},"endCaptures":{"0":{"name":"punctuation.definition.tag.end.svelte"}}},{"match":"({)\\s*(:then|:catch)\\s+([_$[:alpha:]][_$[:alnum:]]*)\\s*(})","captures":{"1":{"name":"punctuation.definition.tag.begin.svelte"},"2":{"name":"keyword.control.conditional"},"3":{"name":"variable"},"4":{"name":"punctuation.definition.tag.end.svelte"}}},{"begin":"({)\\s*(#each)","end":"}","patterns":[{"begin":"\\s","end":"\\s(as)\\s+","patterns":[{"include":"source.ts"}],"endCaptures":{"1":{"name":"keyword.control"}}},{"name":"variable","match":"[_$[:alpha:]][_$[:alnum:]]*\\s*"},{"patterns":[{"begin":"\\[\\s*","end":"]\\s*","patterns":[{"include":"source.js"}]},{"begin":"\\{\\s*","end":"}\\s*","patterns":[{"include":"source.js"}]}]},{"match":",\\s*([_$[:alpha:]][_$[:alnum:]]*)\\s*","captures":{"1":{"name":"variable"}}},{"begin":"\\(","end":"\\)\\s*","patterns":[{"include":"source.ts"}]}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.svelte"},"2":{"name":"keyword.control.conditional"}},"endCaptures":{"0":{"name":"punctuation.definition.tag.end.svelte"}}},{"match":"({)\\s*(:else|/if|/each|/await)\\s*(})","captures":{"1":{"name":"punctuation.definition.tag.begin.svelte"},"2":{"name":"keyword.control.conditional"},"3":{"name":"punctuation.definition.tag.end.svelte"}}},{"begin":"{","end":"}","patterns":[{"include":"source.ts"}],"beginCaptures":{"0":{"name":"punctuation.definition.tag.begin.svelte"}},"endCaptures":{"0":{"name":"punctuation.definition.tag.end.svelte"}}},{"name":"meta.tag.other.html","begin":"(\u003c/?)([a-zA-Z][a-zA-Z0-9:-]*)","end":"(/?\u003e)","patterns":[{"include":"#tag-stuff"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.other.html"}},"endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}}},{"name":"comment.block","begin":"\u003c!--","end":"--\u003e"},{"name":"punctuation.definition.tag","match":"\u003c!doctype html\u003e"}],"repository":{"entities":{"patterns":[{"name":"constant.character.entity.html","match":"(\u0026)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)","captures":{"1":{"name":"punctuation.definition.entity.html"},"3":{"name":"punctuation.definition.entity.html"}}},{"name":"invalid.illegal.bad-ampersand.html","match":"\u0026"}]},"string-double-quoted":{"name":"string.quoted.double.html","begin":"\"","end":"\"","patterns":[{"include":"#entities"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}}},"string-single-quoted":{"name":"string.quoted.single.html","begin":"'","end":"'","patterns":[{"include":"#entities"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}}},"tag-event-handlers":{"begin":"\\b(on):([a-zA-Z]+)=(\"|')","end":"\\3","patterns":[{"include":"source.ts"}],"beginCaptures":{"1":{"name":"entity.other.attribute-name.html"},"2":{"name":"entity.other.attribute-name.html"},"3":{"name":"string.quoted.double"}},"endCaptures":{"0":{"name":"string.quoted.double"}}},"tag-generic-attribute":{"name":"entity.other.attribute-name.html","match":"\\b([a-zA-Z\\-:]+)"},"tag-id-attribute":{"name":"meta.attribute-with-value.id.html","begin":"\\b(id)\\b\\s*(=)","end":"(?\u003c='|\")","patterns":[{"name":"string.quoted.double.html","contentName":"meta.toc-list.id.html","begin":"\"","end":"\"","patterns":[{"include":"#entities"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}}},{"name":"string.quoted.single.html","contentName":"meta.toc-list.id.html","begin":"'","end":"'","patterns":[{"include":"#entities"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}}}],"captures":{"1":{"name":"entity.other.attribute-name.id.html"},"2":{"name":"punctuation.separator.key-value.html"}}},"tag-moustaches":{"begin":"\\b([a-zA-Z\\-:]+)=(\"|')(?=.*{)","end":"\\2","patterns":[{"begin":"{","end":"}","patterns":[{"include":"source.ts"}],"beginCaptures":{"0":{"name":"punctuation.definition.tag.begin.svelte"}},"endCaptures":{"0":{"name":"punctuation.definition.tag.end.svelte"}}},{"name":"string.quoted.double","match":"(?!{)."}],"beginCaptures":{"1":{"name":"entity.other.attribute-name.html"},"2":{"name":"string.quoted.double"}},"endCaptures":{"0":{"name":"string.quoted.double"}}},"tag-moustaches-raw":{"begin":"\\b([a-zA-Z\\-:]+)=({)","end":"}","patterns":[{"include":"source.ts"}],"beginCaptures":{"1":{"name":"entity.other.attribute-name.html"},"2":{"name":"punctuation.definition.tag.begin.svelte"}},"endCaptures":{"0":{"name":"punctuation.definition.tag.end.svelte"}}},"tag-shorthand":{"match":"({)\\s*([_$[:alpha:]][_$[:alnum:]]*)\\s*(})","captures":{"1":{"name":"punctuation.definition.tag.begin.svelte"},"2":{"name":"variable"},"3":{"name":"punctuation.definition.tag.end.svelte"}}},"tag-stuff":{"patterns":[{"include":"#tag-event-handlers"},{"include":"#tag-moustaches"},{"include":"#tag-moustaches-raw"},{"include":"#tag-shorthand"},{"include":"#tag-id-attribute"},{"include":"#tag-generic-attribute"},{"include":"#string-double-quoted"},{"include":"#string-single-quoted"}]}}}
|
1
|
+
{"name":"Svelte","scopeName":"source.svelte","patterns":[{"begin":"(\u003c)(style)\\b(?=[^\u003e]*(?:type=('text/sass'|\"text/sass\")|lang=(sass|'sass'|\"sass\")))(?![^/\u003e]*/\u003e\\s*$)","end":"(\u003c/)(style)(\u003e)","patterns":[{"include":"#tag-stuff"},{"contentName":"source.sass","begin":"(\u003e)","end":"(?=\u003c/style\u003e)","patterns":[{"include":"source.sass"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}}}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.style.html"}},"endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.style.html"},"3":{"name":"punctuation.definition.tag.end.html"}}},{"begin":"(\u003c)(style)\\b(?=[^\u003e]*(?:type=('text/scss'|\"text/scss\")|lang=(scss|'scss'|\"scss\")))(?![^/\u003e]*/\u003e\\s*$)","end":"(\u003c/)(style)(\u003e)","patterns":[{"include":"#tag-stuff"},{"contentName":"source.css.scss","begin":"(\u003e)","end":"(?=\u003c/style\u003e)","patterns":[{"include":"source.css.scss"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}}}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.style.html"}},"endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.style.html"},"3":{"name":"punctuation.definition.tag.end.html"}}},{"begin":"(\u003c)(style)\\b(?=[^\u003e]*(?:type=('text/less'|\"text/less\")|lang=(less|'less'|\"less\")))(?![^/\u003e]*/\u003e\\s*$)","end":"(\u003c/)(style)(\u003e)","patterns":[{"include":"#tag-stuff"},{"contentName":"source.css.less","begin":"(\u003e)","end":"(?=\u003c/style\u003e)","patterns":[{"include":"source.css.less"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}}}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.style.html"}},"endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.style.html"},"3":{"name":"punctuation.definition.tag.end.html"}}},{"begin":"(\u003c)(style)\\b(?=[^\u003e]*(?:type=('text/stylus'|\"text/stylus\")|lang=(stylus|'stylus'|\"stylus\")))(?![^/\u003e]*/\u003e\\s*$)","end":"(\u003c/)(style)(\u003e)","patterns":[{"include":"#tag-stuff"},{"contentName":"source.stylus","begin":"(\u003e)","end":"(?=\u003c/style\u003e)","patterns":[{"include":"source.stylus"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}}}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.style.html"}},"endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.style.html"},"3":{"name":"punctuation.definition.tag.end.html"}}},{"begin":"(\u003c)(style)\\b(?=[^\u003e]*(?:type=('text/postcss'|\"text/postcss\")|lang=(postcss|'postcss'|\"postcss\")))(?![^/\u003e]*/\u003e\\s*$)","end":"(\u003c/)(style)(\u003e)","patterns":[{"include":"#tag-stuff"},{"contentName":"source.postcss","begin":"(\u003e)","end":"(?=\u003c/style\u003e)","patterns":[{"include":"source.postcss"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}}}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.style.html"}},"endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.style.html"},"3":{"name":"punctuation.definition.tag.end.html"}}},{"begin":"(\u003c)(style)\\b(?=[^\u003e]*(?:(?:type=('text/css'|\"text/css\")|lang=(css|'css'|\"css\")))?)(?![^/\u003e]*/\u003e\\s*$)","end":"(\u003c/)(style)(\u003e)","patterns":[{"include":"#tag-stuff"},{"contentName":"source.css","begin":"(\u003e)","end":"(?=\u003c/style\u003e)","patterns":[{"include":"source.css"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}}}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.style.html"}},"endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.style.html"},"3":{"name":"punctuation.definition.tag.end.html"}}},{"begin":"(\u003c)(script)\\b(?=[^\u003e]*(?:type=('text/typescript'|\"text/typescript\")|lang=(typescript|'typescript'|\"typescript\"|ts|'ts'|\"ts\")))(?![^/\u003e]*/\u003e\\s*$)","end":"(\u003c/)(script)(\u003e)","patterns":[{"include":"#tag-stuff"},{"contentName":"source.ts","begin":"(\u003e)","end":"(?=\u003c/script\u003e)","patterns":[{"include":"source.ts"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}}}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.script.html"}},"endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.script.html"},"3":{"name":"punctuation.definition.tag.end.html"}}},{"begin":"(\u003c)(script)\\b(?=[^\u003e]*(?:type=('text/coffee'|\"text/coffee\")|lang=(coffee|'coffee'|\"coffee\")))(?![^/\u003e]*/\u003e\\s*$)","end":"(\u003c/)(script)(\u003e)","patterns":[{"include":"#tag-stuff"},{"contentName":"source.coffee","begin":"(\u003e)","end":"(?=\u003c/script\u003e)","patterns":[{"include":"source.coffee"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}}}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.script.html"}},"endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.script.html"},"3":{"name":"punctuation.definition.tag.end.html"}}},{"begin":"(\u003c)(script)\\b(?=[^\u003e]*(?:(?:type=('text/javascript'|\"text/javascript\")|lang=(javascript|'javascript'|\"javascript\")))?)(?![^/\u003e]*/\u003e\\s*$)","end":"(\u003c/)(script)(\u003e)","patterns":[{"include":"#tag-stuff"},{"contentName":"source.js","begin":"(\u003e)","end":"(?=\u003c/script\u003e)","patterns":[{"include":"source.js"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}}}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.script.html"}},"endCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.script.html"},"3":{"name":"punctuation.definition.tag.end.html"}}},{"begin":"({)\\s*(#if|:elseif|#await|@html)","end":"}","patterns":[{"include":"source.ts"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.svelte"},"2":{"name":"keyword.control.conditional"}},"endCaptures":{"0":{"name":"punctuation.definition.tag.end.svelte"}}},{"match":"({)\\s*(:then|:catch)\\s+([_$[:alpha:]][_$[:alnum:]]*)\\s*(})","captures":{"1":{"name":"punctuation.definition.tag.begin.svelte"},"2":{"name":"keyword.control.conditional"},"3":{"name":"variable"},"4":{"name":"punctuation.definition.tag.end.svelte"}}},{"begin":"({)\\s*(#each)","end":"}","patterns":[{"begin":"\\s","end":"\\s(as)\\s+","patterns":[{"include":"source.ts"}],"endCaptures":{"1":{"name":"keyword.control"}}},{"name":"variable","match":"[_$[:alpha:]][_$[:alnum:]]*\\s*"},{"patterns":[{"begin":"\\[\\s*","end":"]\\s*","patterns":[{"include":"source.js"}]},{"begin":"\\{\\s*","end":"}\\s*","patterns":[{"include":"source.js"}]}]},{"match":",\\s*([_$[:alpha:]][_$[:alnum:]]*)\\s*","captures":{"1":{"name":"variable"}}},{"begin":"\\(","end":"\\)\\s*","patterns":[{"include":"source.ts"}]}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.svelte"},"2":{"name":"keyword.control.conditional"}},"endCaptures":{"0":{"name":"punctuation.definition.tag.end.svelte"}}},{"match":"({)\\s*(:else|/if|/each|/await)\\s*(})","captures":{"1":{"name":"punctuation.definition.tag.begin.svelte"},"2":{"name":"keyword.control.conditional"},"3":{"name":"punctuation.definition.tag.end.svelte"}}},{"begin":"{","end":"}","patterns":[{"include":"source.ts"}],"beginCaptures":{"0":{"name":"punctuation.definition.tag.begin.svelte"}},"endCaptures":{"0":{"name":"punctuation.definition.tag.end.svelte"}}},{"name":"meta.tag.other.html","begin":"(\u003c/?)([a-zA-Z][a-zA-Z0-9:-]*)","end":"(/?\u003e)","patterns":[{"include":"#tag-stuff"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.other.html"}},"endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}}},{"name":"comment.block","begin":"\u003c!--","end":"--\u003e"},{"name":"punctuation.definition.tag","match":"\u003c!doctype html\u003e"}],"repository":{"entities":{"patterns":[{"name":"constant.character.entity.html","match":"(\u0026)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)","captures":{"1":{"name":"punctuation.definition.entity.html"},"3":{"name":"punctuation.definition.entity.html"}}},{"name":"invalid.illegal.bad-ampersand.html","match":"\u0026"}]},"string-double-quoted":{"name":"string.quoted.double.html","begin":"\"","end":"\"","patterns":[{"include":"#entities"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}}},"string-single-quoted":{"name":"string.quoted.single.html","begin":"'","end":"'","patterns":[{"include":"#entities"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}}},"tag-event-handlers":{"begin":"\\b(on):([a-zA-Z]+)=(\"|')","end":"\\3","patterns":[{"include":"source.ts"}],"beginCaptures":{"1":{"name":"entity.other.attribute-name.html"},"2":{"name":"entity.other.attribute-name.html"},"3":{"name":"string.quoted.double"}},"endCaptures":{"0":{"name":"string.quoted.double"}}},"tag-generic-attribute":{"name":"entity.other.attribute-name.html","match":"\\b([a-zA-Z\\-:]+)"},"tag-id-attribute":{"name":"meta.attribute-with-value.id.html","begin":"\\b(id)\\b\\s*(=)","end":"(?\u003c='|\")","patterns":[{"name":"string.quoted.double.html","contentName":"meta.toc-list.id.html","begin":"\"","end":"\"","patterns":[{"include":"#entities"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}}},{"name":"string.quoted.single.html","contentName":"meta.toc-list.id.html","begin":"'","end":"'","patterns":[{"include":"#entities"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}}}],"captures":{"1":{"name":"entity.other.attribute-name.id.html"},"2":{"name":"punctuation.separator.key-value.html"}}},"tag-moustaches":{"begin":"\\b([a-zA-Z\\-:]+)=(\"|')(?=.*{)","end":"\\2","patterns":[{"begin":"{","end":"}","patterns":[{"include":"source.ts"}],"beginCaptures":{"0":{"name":"punctuation.definition.tag.begin.svelte"}},"endCaptures":{"0":{"name":"punctuation.definition.tag.end.svelte"}}},{"name":"string.quoted.double","match":"(?!{)."}],"beginCaptures":{"1":{"name":"entity.other.attribute-name.html"},"2":{"name":"string.quoted.double"}},"endCaptures":{"0":{"name":"string.quoted.double"}}},"tag-moustaches-raw":{"begin":"\\b([a-zA-Z\\-:]+)=({)","end":"}","patterns":[{"include":"source.ts"}],"beginCaptures":{"1":{"name":"entity.other.attribute-name.html"},"2":{"name":"punctuation.definition.tag.begin.svelte"}},"endCaptures":{"0":{"name":"punctuation.definition.tag.end.svelte"}}},"tag-shorthand":{"match":"({)\\s*([_$[:alpha:]][_$[:alnum:]]*)\\s*(})","captures":{"1":{"name":"punctuation.definition.tag.begin.svelte"},"2":{"name":"variable"},"3":{"name":"punctuation.definition.tag.end.svelte"}}},"tag-stuff":{"patterns":[{"include":"#tag-event-handlers"},{"include":"#tag-moustaches"},{"include":"#tag-moustaches-raw"},{"include":"#tag-shorthand"},{"include":"#tag-id-attribute"},{"include":"#tag-generic-attribute"},{"include":"#string-double-quoted"},{"include":"#string-single-quoted"}]}}}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"name":"Sway","scopeName":"source.sway","patterns":[{"begin":"(\u003c)(\\[)","end":"\u003e","patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#gtypes"},{"include":"#lvariables"},{"include":"#lifetimes"},{"include":"#punctuation"},{"include":"#types"}],"beginCaptures":{"1":{"name":"punctuation.brackets.angle.sway"},"2":{"name":"punctuation.brackets.square.sway"}},"endCaptures":{"0":{"name":"punctuation.brackets.angle.sway"}}},{"name":"meta.attribute.sway","begin":"(#)(\\!?)(\\[)","end":"\\]","patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#keywords"},{"include":"#lifetimes"},{"include":"#punctuation"},{"include":"#strings"},{"include":"#gtypes"},{"include":"#types"}],"beginCaptures":{"1":{"name":"punctuation.definition.attribute.sway"},"2":{"name":"keyword.operator.attribute.inner.sway"},"3":{"name":"punctuation.brackets.attribute.sway"}},"endCaptures":{"0":{"name":"punctuation.brackets.attribute.sway"}}},{"match":"(dep)\\s+((?:r#(?!crate|[Ss]elf|super))?[a-z][A-Za-z0-9_]*)","captures":{"1":{"name":"storage.type.sway"},"2":{"name":"entity.name.dependency.sway"}}},{"name":"meta.import.sway","begin":"\\b(extern)\\s+(crate)","end":";","patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#keywords"},{"include":"#punctuation"}],"beginCaptures":{"1":{"name":"storage.type.sway"},"2":{"name":"keyword.other.crate.sway"}},"endCaptures":{"0":{"name":"punctuation.semi.sway"}}},{"name":"meta.use.sway","begin":"\\b(use)\\s","end":";","patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#keywords"},{"include":"#namespaces"},{"include":"#punctuation"},{"include":"#types"},{"include":"#lvariables"}],"beginCaptures":{"1":{"name":"keyword.other.sway"}},"endCaptures":{"0":{"name":"punctuation.semi.sway"}}},{"include":"#block-comments"},{"include":"#comments"},{"include":"#lvariables"},{"include":"#constants"},{"include":"#gtypes"},{"include":"#functions"},{"include":"#types"},{"include":"#keywords"},{"include":"#lifetimes"},{"include":"#macros"},{"include":"#namespaces"},{"include":"#punctuation"},{"include":"#strings"},{"include":"#variables"}],"repository":{"block-comments":{"patterns":[{"name":"comment.block.sway","match":"/\\*\\*/"},{"name":"comment.block.documentation.sway","begin":"/\\*\\*","end":"\\*/","patterns":[{"include":"#block-comments"}]},{"name":"comment.block.sway","begin":"/\\*(?!\\*)","end":"\\*/","patterns":[{"include":"#block-comments"}]}]},"comments":{"patterns":[{"name":"comment.line.documentation.sway","match":"^\\s*///.*"},{"name":"comment.line.double-slash.sway","match":"\\s*//.*"}]},"constants":{"patterns":[{"name":"constant.other.caps.sway","match":"\\b[A-Z]{2}[A-Z0-9_]*\\b"},{"match":"\\b(const)\\s+([A-Z][A-Za-z0-9_]*)\\b","captures":{"1":{"name":"storage.type.sway"},"2":{"name":"constant.other.caps.sway"}}},{"name":"constant.numeric.decimal.sway","match":"\\b\\d[\\d_]*(\\.?)[\\d_]*(?:(E)([+-])([\\d_]+))?(f32|f64|i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\b","captures":{"1":{"name":"punctuation.separator.dot.decimal.sway"},"2":{"name":"keyword.operator.exponent.sway"},"3":{"name":"keyword.operator.exponent.sign.sway"},"4":{"name":"constant.numeric.decimal.exponent.mantissa.sway"},"5":{"name":"entity.name.type.numeric.sway"}}},{"name":"constant.numeric.hex.sway","match":"\\b0x[\\da-fA-F_]+(i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\b","captures":{"1":{"name":"entity.name.type.numeric.sway"}}},{"name":"constant.numeric.oct.sway","match":"\\b0o[0-7_]+(i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\b","captures":{"1":{"name":"entity.name.type.numeric.sway"}}},{"name":"constant.numeric.bin.sway","match":"\\b0b[01_]+(i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)?\\b","captures":{"1":{"name":"entity.name.type.numeric.sway"}}},{"name":"constant.language.bool.sway","match":"\\b(true|false)\\b"}]},"escapes":{"name":"constant.character.escape.sway","match":"(\\\\)(?:(?:(x[0-7][0-7a-fA-F])|(u(\\{)[\\da-fA-F]{4,6}(\\}))|.))","captures":{"1":{"name":"constant.character.escape.backslash.sway"},"2":{"name":"constant.character.escape.bit.sway"},"3":{"name":"constant.character.escape.unicode.sway"},"4":{"name":"constant.character.escape.unicode.punctuation.sway"},"5":{"name":"constant.character.escape.unicode.punctuation.sway"}}},"functions":{"patterns":[{"match":"\\b(pub)(\\()","captures":{"1":{"name":"keyword.other.sway"},"2":{"name":"punctuation.brackets.round.sway"}}},{"name":"meta.asm.definition.sway","begin":"\\b(asm)((\\())","end":"\\{|;","patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#keywords"},{"include":"#lvariables"},{"include":"#constants"},{"include":"#gtypes"},{"include":"#functions"},{"include":"#lifetimes"},{"include":"#macros"},{"include":"#namespaces"},{"include":"#punctuation"},{"include":"#strings"},{"include":"#types"},{"include":"#variables"}],"beginCaptures":{"1":{"name":"meta.attribute.asm.sway"},"2":{"name":"punctuation.brackets.round.sway"}},"endCaptures":{"0":{"name":"punctuation.brackets.curly.sway"}}},{"name":"meta.function.definition.sway","begin":"\\b(fn)\\s+((?:r#(?!crate|[Ss]elf|super))?[A-Za-z0-9_]+)((\\()|(\u003c))","end":"\\{|;","patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#keywords"},{"include":"#lvariables"},{"include":"#constants"},{"include":"#gtypes"},{"include":"#functions"},{"include":"#lifetimes"},{"include":"#macros"},{"include":"#namespaces"},{"include":"#punctuation"},{"include":"#strings"},{"include":"#types"},{"include":"#variables"}],"beginCaptures":{"1":{"name":"keyword.other.fn.sway"},"2":{"name":"entity.name.function.sway"},"4":{"name":"punctuation.brackets.round.sway"},"5":{"name":"punctuation.brackets.angle.sway"}},"endCaptures":{"0":{"name":"punctuation.brackets.curly.sway"}}},{"name":"meta.function.call.sway","begin":"((?:r#(?!crate|[Ss]elf|super))?[A-Za-z0-9_]+)(\\()","end":"\\)","patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#keywords"},{"include":"#lvariables"},{"include":"#constants"},{"include":"#gtypes"},{"include":"#functions"},{"include":"#lifetimes"},{"include":"#macros"},{"include":"#namespaces"},{"include":"#punctuation"},{"include":"#strings"},{"include":"#types"},{"include":"#variables"}],"beginCaptures":{"1":{"name":"entity.name.function.sway"},"2":{"name":"punctuation.brackets.round.sway"}},"endCaptures":{"0":{"name":"punctuation.brackets.round.sway"}}},{"name":"meta.function.call.sway","begin":"((?:r#(?!crate|[Ss]elf|super))?[A-Za-z0-9_]+)(?=::\u003c.*\u003e\\()","end":"\\)","patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#keywords"},{"include":"#lvariables"},{"include":"#constants"},{"include":"#gtypes"},{"include":"#functions"},{"include":"#lifetimes"},{"include":"#macros"},{"include":"#namespaces"},{"include":"#punctuation"},{"include":"#strings"},{"include":"#types"},{"include":"#variables"}],"beginCaptures":{"1":{"name":"entity.name.function.sway"}},"endCaptures":{"0":{"name":"punctuation.brackets.round.sway"}}}]},"gtypes":{"patterns":[{"name":"entity.name.type.option.sway","match":"\\b(Some|None)\\b"},{"name":"entity.name.type.result.sway","match":"\\b(Ok|Err)\\b"}]},"interpolations":{"name":"meta.interpolation.sway","match":"({)[^\"{}]*(})","captures":{"1":{"name":"punctuation.definition.interpolation.sway"},"2":{"name":"punctuation.definition.interpolation.sway"}}},"keywords":{"patterns":[{"name":"keyword.control.sway","match":"\\b(await|break|continue|do|else|for|if|loop|match|return|try|while|yield)\\b"},{"name":"keyword.other.sway storage.type.sway","match":"\\b(extern|macro|dep)\\b"},{"name":"storage.modifier.sway","match":"\\b(const)\\b"},{"name":"storage.modifier.sway","match":"\\b(let)\\b"},{"name":"keyword.declaration.type.sway storage.type.sway","match":"\\b(type)\\b"},{"name":"keyword.declaration.enum.sway storage.type.sway","match":"\\b(enum)\\b"},{"name":"keyword.declaration.trait.sway storage.type.sway","match":"\\b(trait)\\b"},{"name":"keyword.declaration.abi.sway storage.type.sway","match":"\\b(abi)\\b"},{"name":"keyword.declaration.struct.sway","match":"\\b(struct)\\b"},{"name":"storage.modifier.sway","match":"\\b(abstract|static)\\b"},{"name":"keyword.other.sway","match":"\\b(as|async|become|box|dyn|move|final|impl|in|override|priv|pub|ref|typeof|union|unsafe|unsized|use|virtual|where)\\b"},{"name":"keyword.other.fn.sway","match":"\\bfn\\b"},{"name":"meta.attribute.asm.sway","match":"\\basm\\b"},{"name":"keyword.other.crate.sway","match":"\\bcrate\\b"},{"name":"storage.modifier.mut.sway","match":"\\bmut\\b"},{"name":"keyword.operator.logical.sway","match":"(\\^|\\||\\|\\||\u0026\u0026|\u003c\u003c|\u003e\u003e|!)(?!=)"},{"name":"keyword.operator.borrow.and.sway","match":"\u0026(?![\u0026=])"},{"name":"keyword.operator.assignment.sway","match":"(\\+=|-=|\\*=|/=|%=|\\^=|\u0026=|\\|=|\u003c\u003c=|\u003e\u003e=)"},{"name":"keyword.operator.assignment.equal.sway","match":"(?\u003c![\u003c\u003e])=(?!=|\u003e)"},{"name":"keyword.operator.comparison.sway","match":"(=(=)?(?!\u003e)|!=|\u003c=|(?\u003c!=)\u003e=)"},{"name":"keyword.operator.math.sway","match":"(([+%]|(\\*(?!\\w)))(?!=))|(-(?!\u003e))|(/(?!/))"},{"match":"(?:\\b|(?:(\\))|(\\])|(\\})))[ \\t]+([\u003c\u003e])[ \\t]+(?:\\b|(?:(\\()|(\\[)|(\\{)))","captures":{"1":{"name":"punctuation.brackets.round.sway"},"2":{"name":"punctuation.brackets.square.sway"},"3":{"name":"punctuation.brackets.curly.sway"},"4":{"name":"keyword.operator.comparison.sway"},"5":{"name":"punctuation.brackets.round.sway"},"6":{"name":"punctuation.brackets.square.sway"},"7":{"name":"punctuation.brackets.curly.sway"}}},{"name":"keyword.operator.namespace.sway","match":"::"},{"match":"(\\*)(?=\\w+)","captures":{"1":{"name":"keyword.operator.dereference.sway"}}},{"name":"keyword.operator.subpattern.sway","match":"@"},{"name":"keyword.operator.access.dot.sway","match":"\\.(?!\\.)"},{"name":"keyword.operator.range.sway","match":"\\.{2}(=|\\.)?"},{"name":"keyword.operator.key-value.sway","match":":(?!:)"},{"name":"keyword.operator.arrow.skinny.sway","match":"-\u003e"},{"name":"keyword.operator.arrow.fat.sway","match":"=\u003e"},{"name":"keyword.operator.macro.dollar.sway","match":"\\$"},{"name":"keyword.operator.question.sway","match":"\\?"}]},"lifetimes":{"patterns":[{"match":"(['])([a-zA-Z_][0-9a-zA-Z_]*)(?!['])\\b","captures":{"1":{"name":"punctuation.definition.lifetime.sway"},"2":{"name":"entity.name.type.lifetime.sway"}}},{"match":"(\\\u0026)(['])([a-zA-Z_][0-9a-zA-Z_]*)(?!['])\\b","captures":{"1":{"name":"keyword.operator.borrow.sway"},"2":{"name":"punctuation.definition.lifetime.sway"},"3":{"name":"entity.name.type.lifetime.sway"}}}]},"lvariables":{"patterns":[{"name":"variable.language.self.sway","match":"\\b[Ss]elf\\b"},{"name":"variable.language.super.sway","match":"\\bsuper\\b"}]},"macros":{"patterns":[{"name":"meta.macro.sway","match":"(([a-z_][A-Za-z0-9_]*!)|([A-Z_][A-Za-z0-9_]*!))","captures":{"2":{"name":"entity.name.function.macro.sway"},"3":{"name":"entity.name.type.macro.sway"}}}]},"namespaces":{"patterns":[{"match":"(?\u003c![A-Za-z0-9_])([a-z0-9_]+)((?\u003c!super|self)::)","captures":{"1":{"name":"entity.name.namespace.sway"},"2":{"name":"keyword.operator.namespace.sway"}}}]},"punctuation":{"patterns":[{"name":"punctuation.comma.sway","match":","},{"name":"punctuation.brackets.curly.sway","match":"[{}]"},{"name":"punctuation.brackets.round.sway","match":"[()]"},{"name":"punctuation.semi.sway","match":";"},{"name":"punctuation.brackets.square.sway","match":"[\\[\\]]"},{"name":"punctuation.brackets.angle.sway","match":"(?\u003c!=)[\u003c\u003e]"}]},"strings":{"patterns":[{"name":"string.quoted.double.sway","begin":"(b?)(\")","end":"\"","patterns":[{"include":"#escapes"},{"include":"#interpolations"}],"beginCaptures":{"1":{"name":"string.quoted.byte.raw.sway"},"2":{"name":"punctuation.definition.string.sway"}},"endCaptures":{"0":{"name":"punctuation.definition.string.sway"}}},{"name":"string.quoted.double.sway","begin":"(b?r)(#*)(\")","end":"(\")(\\2)","beginCaptures":{"1":{"name":"string.quoted.byte.raw.sway"},"2":{"name":"punctuation.definition.string.raw.sway"},"3":{"name":"punctuation.definition.string.sway"}},"endCaptures":{"1":{"name":"punctuation.definition.string.sway"},"2":{"name":"punctuation.definition.string.raw.sway"}}},{"name":"string.quoted.single.char.sway","begin":"(b)?(')","end":"'","patterns":[{"include":"#escapes"}],"beginCaptures":{"1":{"name":"string.quoted.byte.raw.sway"},"2":{"name":"punctuation.definition.char.sway"}},"endCaptures":{"0":{"name":"punctuation.definition.char.sway"}}}]},"types":{"patterns":[{"match":"(?\u003c![A-Za-z])(f32|f64|i128|i16|i32|i64|i8|isize|u128|u16|u32|u64|u8|usize)\\b","captures":{"1":{"name":"entity.name.type.numeric.sway"}}},{"begin":"\\b([A-Z][A-Za-z0-9]*)(\u003c)","end":"\u003e","patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#keywords"},{"include":"#lvariables"},{"include":"#lifetimes"},{"include":"#punctuation"},{"include":"#types"},{"include":"#variables"}],"beginCaptures":{"1":{"name":"entity.name.type.sway"},"2":{"name":"punctuation.brackets.angle.sway"}},"endCaptures":{"0":{"name":"punctuation.brackets.angle.sway"}}},{"name":"entity.name.type.primitive.sway","match":"\\b(bool|char|str)\\b"},{"match":"\\b(trait)\\s+([A-Z][A-Za-z0-9]*)\\b","captures":{"1":{"name":"keyword.declaration.trait.sway storage.type.sway"},"2":{"name":"entity.name.type.trait.sway"}}},{"match":"\\b(abi)\\s+([A-Z][A-Za-z0-9]*)\\b","captures":{"1":{"name":"keyword.declaration.abi.sway storage.type.sway"},"2":{"name":"entity.name.type.abi.sway"}}},{"match":"\\b(struct)\\s+([A-Z][A-Za-z0-9]*)\\b","captures":{"1":{"name":"keyword.declaration.struct.sway"},"2":{"name":"entity.name.type.struct.sway"}}},{"match":"\\b(enum)\\s+([A-Z][A-Za-z0-9_]*)\\b","captures":{"1":{"name":"keyword.declaration.enum.sway"},"2":{"name":"entity.name.type.enum.sway"}}},{"match":"\\b(type)\\s+([A-Z][A-Za-z0-9_]*)\\b","captures":{"1":{"name":"keyword.declaration.type.sway storage.type.sway"},"2":{"name":"entity.name.type.declaration.sway"}}},{"name":"entity.name.type.sway","match":"\\b[A-Z][A-Za-z0-9]*\\b(?!!)"},{"begin":"\\b(library)\\s+([a-zA-Z_][a-zA-Z0-9_]*)","end":"[\\{\\(;]","patterns":[{"include":"#block-comments"},{"include":"#comments"},{"include":"#keywords"},{"include":"#namespaces"},{"include":"#punctuation"},{"include":"#types"},{"include":"#lvariables"}],"beginCaptures":{"1":{"name":"source.sway meta.attribute.sway"},"2":{"name":"entity.name.type.sway"}}},{"match":"(contract|script|predicate);","captures":{"1":{"name":"source.sway meta.attribute.sway"}}}]},"variables":{"patterns":[{"name":"variable.other.sway","match":"\\b(?\u003c!(?\u003c!\\.)\\.)(?:r#(?!(crate|[Ss]elf|super)))?[a-z0-9_]+\\b"}]}}}
|
data/grammars/source.talon.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"TalonScript","scopeName":"source.talon","patterns":[{"include":"#body-header"},{"include":"#header"},{"include":"#body-noheader"},{"include":"#comment"},{"include":"#settings"}],"repository":{"action":{"name":"variable.parameter.talon","begin":"([a-zA-Z0-9._]+)(\\()","end":"(\\))","patterns":[{"include":"#action"},{"include":"#qstring-long"},{"include":"#qstring"},{"include":"#argsep"},{"include":"#number"},{"include":"#operator"},{"include":"#varname"}],"beginCaptures":{"1":{"name":"entity.name.function.talon","patterns":[{"name":"punctuation.separator.talon","match":"\\."}]},"2":{"name":"punctuation.definition.parameters.begin.talon"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.talon"}}},"action-
|
1
|
+
{"name":"TalonScript","scopeName":"source.talon","patterns":[{"include":"#body-header"},{"include":"#header"},{"include":"#body-noheader"},{"include":"#comment"},{"include":"#settings"}],"repository":{"action":{"name":"variable.parameter.talon","begin":"([a-zA-Z0-9._]+)(\\()","end":"(\\))","patterns":[{"include":"#action"},{"include":"#qstring-long"},{"include":"#qstring"},{"include":"#argsep"},{"include":"#number"},{"include":"#operator"},{"include":"#varname"}],"beginCaptures":{"1":{"name":"entity.name.function.talon","patterns":[{"name":"punctuation.separator.talon","match":"\\."}]},"2":{"name":"punctuation.definition.parameters.begin.talon"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.talon"}}},"action-gamepad":{"name":"entity.name.function.talon","match":"(deck|gamepad|action)(\\()(.*)(\\))","captures":{"2":{"name":"punctuation.definition.parameters.begin.talon"},"3":{"name":"variable.parameter.talon","patterns":[{"include":"#key-mods"}]},"4":{"name":"punctuation.definition.parameters.key.talon"}}},"action-key":{"name":"entity.name.function.talon","match":"key(\\()(.*)(\\))","captures":{"1":{"name":"punctuation.definition.parameters.begin.talon"},"2":{"name":"variable.parameter.talon","patterns":[{"include":"#key-prefixes"},{"include":"#key-mods"},{"include":"#keystring"}]},"3":{"name":"punctuation.definition.parameters.key.talon"}}},"argsep":{"name":"punctuation.separator.talon","match":","},"assignment":{"match":"(\\S*)(\\s?=\\s?)(.*)","captures":{"1":{"name":"variable.other.talon"},"2":{"name":"keyword.operator.talon"},"3":{"name":"variable.other.talon","patterns":[{"include":"#comment"},{"include":"#expression"}]}}},"body-header":{"begin":"^-$","end":"(?=not)possible","patterns":[{"include":"#body-noheader"}]},"body-noheader":{"patterns":[{"include":"#comment"},{"include":"#other-rule-definition"},{"include":"#speech-rule-definition"}]},"capture":{"name":"variable.parameter.talon","match":"(\\\u003c[a-zA-Z0-9._]+\\\u003e)"},"comment":{"name":"comment.line.number-sign.talon","match":"(\\s*#.*)$"},"context":{"match":"(.*): (.*)","captures":{"1":{"name":"entity.name.tag.talon","patterns":[{"name":"keyword.operator.talon","match":"(and |or )"}]},"2":{"name":"entity.name.type.talon","patterns":[{"include":"#comment"},{"include":"#regexp"}]}}},"expression":{"patterns":[{"include":"#qstring-long"},{"include":"#action-key"},{"include":"#action"},{"include":"#operator"},{"include":"#number"},{"include":"#qstring"},{"include":"#varname"}]},"fstring":{"name":"constant.character.format.placeholder.talon","match":"{(.+?)}","captures":{"1":{"patterns":[{"include":"#action"},{"include":"#operator"},{"include":"#number"},{"include":"#varname"},{"include":"#qstring"}]}}},"header":{"begin":"(?=^app:|title:|os:|tag:)","end":"(?=^-$)","patterns":[{"include":"#comment"},{"include":"#context"}]},"key-mods":{"name":"keyword.operator.talon","match":"(:)(up|down|change|repeat|\\d+)","captures":{"1":{"name":"keyword.operator.talon"},"2":{"name":"keyword.control.talon"}}},"key-prefixes":{"match":"(ctrl|shift|cmd|alt|win|super)(-)","captures":{"1":{"name":"keyword.control.talon"},"2":{"name":"keyword.operator.talon"}}},"keystring":{"name":"string.quoted.double.talon","begin":"(\"|')","end":"(\\1)|$","patterns":[{"include":"#string-body"},{"include":"#key-mods"},{"include":"#key-prefixes"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.talon"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.talon"}}},"list":{"name":"string.interpolated.talon","match":"({[a-zA-Z0-9._]+?})"},"number":{"name":"constant.numeric.talon","match":"(?\u003c=\\b)\\d+(\\.\\d+)?"},"operator":{"name":"keyword.operator.talon","match":"\\s(\\+|-|\\*|/|or)\\s"},"other-rule-definition":{"begin":"^([a-z]+\\(.*[^\\-]\\)|[a-z]+\\(.*--\\)|[a-z]+\\(-\\)|[a-z]+\\(\\)):","end":"(?=^[^\\s#])","patterns":[{"include":"#statement"}],"beginCaptures":{"1":{"name":"entity.name.tag.talon","patterns":[{"include":"#action-key"},{"include":"#action-gamepad"},{"include":"#rule-specials"}]}}},"qstring":{"name":"string.quoted.double.talon","begin":"(\"|')","end":"(\\1)|$","patterns":[{"include":"#string-body"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.talon"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.talon"}}},"qstring-long":{"name":"string.quoted.double.talon","begin":"(\"\"\"|''')","end":"(\\1)","patterns":[{"include":"#string-body"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.talon"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.talon"}}},"regexp":{"name":"string.regexp.talon","begin":"(/)","end":"(/)","patterns":[{"name":"support.other.match.any.regexp","match":"\\."},{"name":"support.other.match.end.regexp","match":"\\$"},{"name":"support.other.match.begin.regexp","match":"\\^"},{"name":"constant.character.escape.talon","match":"\\\\\\.|\\\\\\*|\\\\\\^|\\\\\\$|\\\\\\+|\\\\\\?"},{"name":"constant.other.set.regexp","match":"\\[(\\\\\\]|[^\\]])*\\]"},{"name":"keyword.operator.quantifier.regexp","match":"\\*|\\+|\\?"}]},"rule-specials":{"match":"(settings|tag)(\\()(\\))","captures":{"1":{"name":"entity.name.function.talon"},"2":{"name":"punctuation.definition.parameters.begin.talon"},"3":{"name":"punctuation.definition.parameters.end.talon"}}},"speech-rule-definition":{"begin":"^(.*?):","end":"(?=^[^\\s#])","patterns":[{"include":"#statement"}],"beginCaptures":{"1":{"name":"entity.name.tag.talon","patterns":[{"name":"string.regexp.talon","match":"^\\^"},{"name":"string.regexp.talon","match":"\\$$"},{"name":"punctuation.definition.parameters.begin.talon","match":"\\("},{"name":"punctuation.definition.parameters.end.talon","match":"\\)"},{"name":"punctuation.separator.talon","match":"\\|"},{"include":"#capture"},{"include":"#list"}]}}},"statement":{"patterns":[{"include":"#comment"},{"include":"#qstring-long"},{"include":"#action-key"},{"include":"#action"},{"include":"#qstring"},{"include":"#assignment"}]},"string-body":{"patterns":[{"name":"string.quoted.double.talon","match":"{{|}}"},{"name":"constant.character.escape.python","match":"\\\\\\\\|\\\\n|\\\\t|\\\\r|\\\\\"|\\\\'"},{"include":"#fstring"}]},"varname":{"name":"variable.parameter.talon","match":"([a-zA-Z0-9._])(_(list|\\d+))?","captures":{"2":{"name":"constant.numeric.talon","patterns":[{"name":"keyword.operator.talon","match":"_"}]}}}}}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"name":"TL Verilog","scopeName":"source.tlverilog","patterns":[{"name":"keyword.other.tlverilog","match":"\\b(automatic|cell|config|deassign|defparam|design|disable|edge|endconfig|endgenerate|endspecify|endtable|endtask|event|generate|genvar|ifnone|incdir|instance|liblist|library|localparam|macromodule|negedge|noshowcancelled|posedge|pulsestyle_onevent|pulsestyle_ondetect|real|realtime|scalared|showcancelled|specify|specparam|table|task|time|use|vectored|new)\\b"},{"name":"entity.name.stage.tlverilog","match":"@\\b(\\d+)\\b"},{"name":"entity.name.pipe.tlverilog","match":"\\|\\b([a-zA-Z0-9_]+)\\b"},{"name":"invalid.illegal.tlverilog","match":"\\t"},{"name":"entity.name.hierarchy.tlverilog","match":"\u003e([a-zA-Z][a-zA-Z0-9_]+)"},{"name":"entity.name.hierarchy.tlverilog","match":"\\/([a-zA-Z0-9_]+)"},{"name":"keyword.control.conditional.tlverilog","match":"\\?[\\$\\*][a-zA-Z0-9_]+"},{"name":"variable.other.tlverilog","match":"\\$\\b([a-zA-Z_][a-zA-Z0-9_]+)\\b"},{"name":"entity.name.alignment.tlverilog","match":"%([+-]\\d+|\\w+)"},{"name":"support.macro.tlverilog","match":"\\b([mM]4\\+\\w+)"},{"name":"keyword.region.tlverilog","match":"^\\s*\\\\(TLV.*|SV.*|m4_TLV_version.*)$"},{"name":"variable.sv.tlverilog","match":"\\*\\b([a-zA-Z_][a-zA-Z0-9_]+)\\b"},{"name":"constant.other.tlverilog","match":"\\#\\b([a-zA-Z_][a-zA-Z0-9_]+)\\b"},{"name":"entity.name.alignment.tlverilog","match":"(\u003c\u003c|\u003c\u003e|\u003e\u003e-?)[a-zA-Z0-9_]+"},{"name":"keyword.other.tlverilog","match":"\\b(#|@|begin|end|fork|join|join_any|join_none|forkjoin|{|})\\b"},{"name":"keyword.control.tlverilog","match":"\\b(initial|always|wait|force|release|assign|always_comb|always_ff|always_latch|forever|repeat|while|for|if|iff|else|case|casex|casez|default|endcase|return|break|continue|do|foreach|randomize|with|inside|dist|clocking|cover|coverpoint|property|bins|binsof|illegal_bins|ignore_bins|randcase|modport|matches|solve|static|assert|assume|before|expect|bind|extends|sequence|var|cross|ref|first_match|srandom|time|struct|packed|final|chandle|alias|tagged|extern|throughout|timeprecision|timeunit|priority|type|union|unique|uwire|wait_order|triggered|randsequence|import|export|context|pure|intersect|wildcard|within|virtual|local|const|typedef|enum|protected|this|super|endmodule|endfunction|endprimitive|endclass|endpackage|endsequence|endprogram|endclocking|endproperty|endgroup|endinterface)\\b"},{"name":"support.class.tlverilog","match":"\\b(std)\\b::"},{"name":"support.function.tlverilog","match":"\\.(atob|atohex|atoi|atooct|atoreal|bintoa|hextoa|itoa|octtoa|realtoa|len|getc|putc|toupper|tolower|compare|icompare|substr|num|exists|first|last|name|index|find|find_first|find_last|find_index|find_first_index|find_last_index|min|max|unique|unique_index|sort|rsort|shuffle|reverse|sum|product|xor|status|kill|self|await|suspend|resume|get|put|peek|try_get|try_peek|try_put|data|eq|neq|next|prev|new|size|delete|empty|pop_front|pop_back|front|back|insert|insert_range|erase|erase_range|set|swap|clear|purge|start|finish)\\b"},{"name":"support.function.tlverilog","match":"\\b(get_randstate|set_randstate)\\b"},{"name":"support.constant.tlverilog","match":"\\b(null|void)\\b"},{"name":"meta.include.tlverilog","match":"^\\s*(`include)\\s+([\"\u003c].*[\"\u003e])","captures":{"1":{"name":"keyword.other.tlverilog"},"2":{"name":"entity.name.type.include.tlverilog"}}},{"name":"constant.other.preprocessor.tlverilog","match":"`(celldefine|default_nettype|define|else|elsif|endcelldefine|endif|ifdef|ifndef|include|line|nounconnected_drive|resetall|timescale|unconnected_drive|undef|begin_\\w+|end_\\w+|remove_\\w+|restore_\\w+)\\b"},{"include":"#comments"},{"name":"meta.definition.tlverilog","match":"\\b(function)\\b\\s+(\\[.*\\])?\\s+\\b([a-zA-Z_][a-zA-Z0-9_]*)\\b","captures":{"1":{"name":"storage.type.tlverilog"},"3":{"name":"entity.name.type.class.tlverilog"}}},{"name":"meta.definition.tlverilog","match":"^\\s*(module|function|primitive|class|package|constraint|interface|covergroup|program)\\s+\\b([a-zA-Z_][a-zA-Z0-9_]*)\\b","captures":{"1":{"name":"storage.type.tlverilog"},"2":{"name":"entity.name.type.class.tlverilog"}}},{"include":"#all-types"},{"name":"keyword.operator.staticcasting.tlverilog","match":"'\\s*\\(.+\\)"},{"name":"keyword.operator.unpackedarrayassignment.tlverilog","begin":"'{","end":"}","patterns":[{"name":"constant.character.escape.tlverilog","match":"."}],"beginCaptures":{"0":{"name":"keyword.operator.unpackaedarrayassignment.begin.tlverilog"}},"endCaptures":{"0":{"name":"keyword.operator.unpackaedarrayassignment.end.tlverilog"}}},{"name":"support.type.tlverilog","match":"\\b(output|input|inout|and|nand|nor|or|xor|xnor|buf|not|bufif[01]|notif[01]|r?[npc]mos|tran|r?tranif[01]|pullup|pulldown)\\b"},{"name":"constant.numeric.tlverilog","match":"(\\b\\d+)?'[sS]?([bB]\\s*[0-1_xXzZ?]+|[oO]\\s*[0-7_xXzZ?]+|[dD]\\s*[0-9_xXzZ?]+|[hH]\\s*[0-9a-fA-F_xXzZ?]+|[0-1xz])((e|E)(\\+|-)?[0-9]+)?\\b"},{"include":"#strings"}],"repository":{"all-types":{"patterns":[{"include":"#storage-type-tlverilog"},{"include":"#storage-modifier-tlverilog"}]},"comments":{"patterns":[{"name":"comment.block.tlverilog","begin":"/\\*","end":"\\*/","captures":{"0":{"name":"punctuation.definition.comment.tlverilog"}}},{"name":"comment.line.double-slash.tlverilog","match":"(//).*$\\n?","captures":{"1":{"name":"punctuation.definition.comment.tlverilog"}}}]},"storage-modifier-tlverilog":{"name":"storage.modifier.tlverilog","match":"\\b(signed|unsigned|small|medium|large|supply[01]|strong[01]|pull[01]|weak[01]|highz[01])\\b"},"storage-type-tlverilog":{"name":"storage.type.tlverilog","match":"\\b(wire|tri|tri[01]|supply[01]|wand|triand|wor|trior|trireg|reg|parameter|integer|rand|randc|int|longint|shortint|logic|bit|byte|shortreal|string)\\b"},"strings":{"patterns":[{"name":"string.quoted.double.tlverilog","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.tlverilog","match":"\\\\."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.tlverilog"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.tlverilog"}}},{"name":"string.quoted.single.tlverilog","begin":"'","end":"'","patterns":[{"name":"constant.character.escape.tlverilog","match":"\\\\."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.tlverilog"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.tlverilog"}}}]}}}
|
data/grammars/source.toc.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"TOC (WoW)","scopeName":"source.toc","patterns":[{"match":"^(##\\s*(\\S+))\\s*(:)\\s*(.*)$","captures":{"1":{"name":"keyword.tag.toc"},"2":{"name":"keyword.tag.toc","patterns":[{"name":"entity.name.tag.custom.toc","match":"[Xx]-[^:]+"},{"name":"entity.name.tag.localized.toc","match":"(?i)(Title-|Notes-|)(?-i)(enUS|enCN|enGB|enTW|frFR|deDE|esES|esMX|itIT|ptBR|ptPT|ruRU|koKR|zhTW|zhCN)"},{"name":"entity.name.tag.toc","match":"(?i)(Interface|Title|Notes|RequiredDeps|\\bDep[^:]*|OptionalDeps|LoadOnDemand|LoadWith|LoadManagers|SavedVariablesPerCharacter|SavedVariables|DefaultState|Author|Version)"},{"name":"entity.name.tag.restricted.toc","match":"(?i)(AllowLoad|OnlyBetaAndPTR|SavedVariablesMachine|Secure)"},{"name":"invalid.tag.toc","match":"\\S[^:]+"}]},"3":{"name":"punctuation.separator.key-value"},"4":{"name":"string.value.toc","patterns":[{"match":"(\\|c)([a-fA-F0-9]{8})","captures":{"1":{"name":"constant.character.escape.toc"},"2":{"name":"string.escape.coloring.toc"}}},{"name":"constant.character.escape.toc","match":"(\\|r)"},{"name":"constant.other.packager.toc","match":"@.*?@"}]}}},{"name":"comment.toc","match":"#.*$"},{"name":"meta.require.xml.toc","match":"^(?!#)[^ ].+\\.xml"},{"name":"constant.other.packager.toc","match":"@.*?@"}]}
|
1
|
+
{"name":"TOC (WoW)","scopeName":"source.toc","patterns":[{"match":"^(##\\s*(\\S+))\\s*(:)\\s*(.*)$","captures":{"1":{"name":"keyword.tag.toc"},"2":{"name":"keyword.tag.toc","patterns":[{"name":"entity.name.tag.custom.toc","match":"[Xx]-[^:]+"},{"name":"entity.name.tag.localized.toc","match":"(?i)(Title-|Notes-|)(?-i)(enUS|enCN|enGB|enTW|frFR|deDE|esES|esMX|itIT|ptBR|ptPT|ruRU|koKR|zhTW|zhCN)"},{"name":"entity.name.tag.toc","match":"(?i)(Interface|Title|Notes|RequiredDeps|\\bDep[^:]*|OptionalDeps|LoadOnDemand|LoadWith|LoadManagers|SavedVariablesPerCharacter|SavedVariables|DefaultState|Author|Version|AddonCompartmentFunc|AddonCompartmentFuncOnEnter|AddonCompartmentFuncOnLeave|IconAtlas|IconTexture)"},{"name":"entity.name.tag.restricted.toc","match":"(?i)(AllowLoad|OnlyBetaAndPTR|SavedVariablesMachine|Secure|GuardedAddOn)"},{"name":"invalid.tag.toc","match":"\\S[^:]+"}]},"3":{"name":"punctuation.separator.key-value"},"4":{"name":"string.value.toc","patterns":[{"match":"(\\|c)([a-fA-F0-9]{8})","captures":{"1":{"name":"constant.character.escape.toc"},"2":{"name":"string.escape.coloring.toc"}}},{"name":"constant.character.escape.toc","match":"(\\|r)"},{"name":"constant.other.packager.toc","match":"@.*?@"}]}}},{"name":"comment.toc","match":"#.*$"},{"name":"meta.require.xml.toc","match":"^(?!#)[^ ].+\\.xml"},{"name":"constant.other.packager.toc","match":"@.*?@"}]}
|