github-linguist 7.18.0 → 7.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/github-linguist +1 -0
- data/grammars/liquid.injection.json +1 -0
- data/grammars/markdown.cadence.codeblock.json +1 -0
- data/grammars/markdown.curry.codeblock.json +1 -0
- data/grammars/markdown.prisma.codeblock.json +1 -0
- data/grammars/markdown.textproto.codeblock.json +1 -0
- data/grammars/source.2da.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.aidl.json +1 -1
- data/grammars/source.alloy.json +1 -1
- data/grammars/source.astro.json +1 -0
- data/grammars/source.ats.json +1 -1
- data/grammars/source.ballerina.json +1 -1
- data/grammars/source.berry.bytecode.json +1 -0
- data/grammars/source.berry.json +1 -0
- data/grammars/source.bms.json +1 -0
- data/grammars/source.bmsmap.json +1 -0
- data/grammars/source.bnd.json +1 -0
- data/grammars/source.brs.json +1 -0
- data/grammars/source.cadence.json +1 -0
- data/grammars/source.cairo.json +1 -0
- data/grammars/source.cds.json +1 -0
- data/grammars/source.cl.json +1 -0
- data/grammars/source.clar.json +1 -0
- data/grammars/source.clojure.json +1 -1
- data/grammars/source.cmd.json +1 -0
- data/grammars/source.cobol.json +1 -1
- data/grammars/source.cobol_acu_listfile.json +1 -0
- data/grammars/source.cobol_mf_listfile.json +1 -0
- data/grammars/source.cobol_mfprep.json +1 -0
- data/grammars/source.cobol_pcob_listfile.json +1 -0
- data/grammars/source.cobolit.json +1 -0
- data/grammars/source.cobsql_dir.json +1 -0
- data/grammars/source.cs.json +1 -1
- data/grammars/source.csound.json +1 -1
- data/grammars/source.css.json +1 -1
- data/grammars/source.csswg.json +1 -0
- data/grammars/source.curlrc.json +1 -1
- data/grammars/source.curry.json +1 -0
- data/grammars/source.dart.json +1 -1
- data/grammars/source.data-weave.json +1 -1
- data/grammars/source.dds.dspf.json +1 -0
- data/grammars/source.dds.icff.json +1 -0
- data/grammars/source.dds.lf.json +1 -0
- data/grammars/source.dds.pf.json +1 -0
- data/grammars/source.dds.prtf.json +1 -0
- data/grammars/source.deb-control.json +1 -0
- data/grammars/source.debian.makefile.json +1 -0
- data/grammars/source.denizenscript.json +1 -0
- data/grammars/source.dir.json +1 -0
- data/grammars/source.ditroff.json +1 -1
- data/grammars/source.elixir.json +1 -1
- data/grammars/source.euphoria.json +1 -0
- data/grammars/source.fsharp.json +1 -1
- data/grammars/source.gdresource.json +1 -0
- data/grammars/source.gdscript.json +1 -1
- data/grammars/source.gdshader.json +1 -0
- data/grammars/source.genero-forms.json +1 -0
- data/grammars/source.genero.json +1 -0
- data/grammars/source.git-revlist.json +1 -0
- data/grammars/source.gitignore.json +1 -1
- data/grammars/source.gleam.json +1 -0
- data/grammars/source.gsc.json +1 -0
- data/grammars/source.hack.json +1 -1
- data/grammars/source.hlasm.json +1 -0
- data/grammars/source.hoon.json +1 -0
- data/grammars/source.hx.json +1 -1
- data/grammars/source.icurry.json +1 -0
- data/grammars/source.janet.json +1 -0
- data/grammars/source.jcl.json +1 -1
- data/grammars/source.js.json +1 -1
- data/grammars/source.jsligo.json +1 -0
- data/grammars/source.julia.json +1 -1
- data/grammars/source.kotlin.json +1 -1
- data/grammars/source.ligo.json +1 -0
- data/grammars/source.mc.json +1 -0
- data/grammars/source.mfu.json +1 -0
- data/grammars/source.mfupp_dir.json +1 -0
- data/grammars/source.mi.json +1 -0
- data/grammars/source.miniyaml.json +1 -0
- data/grammars/source.mint.json +1 -0
- data/grammars/source.mligo.json +1 -0
- data/grammars/source.mlir.json +1 -1
- data/grammars/source.mo.json +1 -1
- data/grammars/source.pcb.schematic.json +1 -1
- data/grammars/source.pcb.sexp.json +1 -1
- data/grammars/source.pli.json +1 -0
- data/grammars/source.pnlgrp.json +1 -0
- data/grammars/source.pony.json +1 -1
- data/grammars/source.portugol.json +1 -0
- data/grammars/source.procfile.json +1 -0
- data/grammars/source.proto.json +1 -1
- data/grammars/source.python.kivy.json +1 -0
- data/grammars/source.q.json +1 -1
- data/grammars/source.qsharp.json +1 -1
- data/grammars/source.rego.json +1 -1
- data/grammars/source.religo.json +1 -0
- data/grammars/source.renpy.json +1 -1
- data/grammars/source.rescript.json +1 -1
- data/grammars/source.rpg.json +1 -0
- data/grammars/source.rpgle.json +1 -0
- data/grammars/source.scala.json +1 -1
- data/grammars/source.shell.json +1 -1
- data/grammars/source.shellcheckrc.json +1 -1
- data/grammars/source.smali.json +1 -1
- data/grammars/source.solidity.json +1 -1
- data/grammars/source.sqf.json +1 -1
- data/grammars/source.stan.json +1 -1
- data/grammars/source.star.json +1 -0
- data/grammars/source.stl.json +1 -0
- data/grammars/source.swift.json +1 -1
- data/grammars/source.talon.json +1 -0
- data/grammars/source.textproto.json +1 -0
- data/grammars/source.ts.json +1 -1
- data/grammars/source.tsx.json +1 -1
- data/grammars/source.utreport.json +1 -0
- data/grammars/source.v.json +1 -1
- data/grammars/source.vyper.json +1 -1
- data/grammars/source.whiley.json +1 -0
- data/grammars/source.win32-messages.json +1 -0
- data/grammars/source.witcherscript.json +1 -0
- data/grammars/source.wsd.json +1 -1
- data/grammars/source.yara.json +1 -1
- data/grammars/source.yul.json +1 -0
- data/grammars/text.hash-commented.json +1 -0
- data/grammars/text.html.liquid.json +1 -1
- data/grammars/text.html.markdown.astro.json +1 -1
- data/grammars/text.html.statamic.json +1 -0
- data/grammars/text.rtf.json +1 -1
- data/grammars/text.savane.json +1 -0
- data/grammars/text.srt.json +1 -1
- data/grammars/text.vtt.json +1 -0
- data/grammars/version +1 -1
- data/lib/linguist/VERSION +1 -1
- data/lib/linguist/generated.rb +13 -1
- data/lib/linguist/generic.yml +2 -0
- data/lib/linguist/heuristics.yml +84 -1
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +455 -7
- data/lib/linguist/samples.json +1 -1
- data/lib/linguist/vendor.yml +4 -1
- metadata +112 -40
- data/grammars/source.brightauthorproject.json +0 -1
- data/grammars/source.brightscript.json +0 -1
- data/grammars/source.opencobol.json +0 -1
- data/grammars/source.vtt.json +0 -1
- data/grammars/text.html.astro.json +0 -1
- data/lib/linguist/linguist.so +0 -0
@@ -1 +1 @@
|
|
1
|
-
{"name":"Astro Markdown","scopeName":"text.html.markdown.astro","patterns":[{"include":"#block"},{"include":"#astro-expressions"}],"repository":{"ampersand":{"name":"meta.other.valid-ampersand.markdown","match":"\u0026(?!([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+);)"},"astro-expressions":{"patterns":[{"name":"expression.embbeded.astro","begin":"(\\{)","end":"(\\})","patterns":[{"include":"source.tsx"}],"beginCaptures":{"1":{"name":"punctuation.definition.raw.markdown"}},"endCaptures":{"1":{"name":"punctuation.definition.raw.markdown"}}}]},"block":{"patterns":[{"include":"#separator"},{"include":"#heading"},{"include":"#blockquote"},{"include":"#lists"},{"include":"#fenced_code_block"},{"include":"#link-def"},{"include":"#html"},{"include":"#paragraph"},{"include":"#astro-expressions"}]},"blockquote":{"name":"markup.quote.markdown","begin":"(^|\\G)\\s*(\u003e) ?","while":"(^|\\G)\\s*(\u003e) ?","patterns":[{"include":"#block"}],"captures":{"2":{"name":"punctuation.definition.quote.begin.markdown"}}},"bold":{"name":"markup.bold.markdown","begin":"(?x) (?\u003copen\u003e(\\*\\*(?=\\w)|(?\u003c!\\w)\\*\\*|(?\u003c!\\w)\\b__))(?=\\S) (?=\n (\n \u003c[^\u003e]*+\u003e # HTML tags\n | (?\u003craw\u003e`+)([^`]|(?!(?\u003c!`)\\k\u003craw\u003e(?!`))`)*+\\k\u003craw\u003e\n # Raw\n | \\\\[\\\\`*_{}\\[\\]()#.!+\\-\u003e]?+ # Escapes\n | \\[\n (\n (?\u003csquare\u003e # Named group\n [^\\[\\]\\\\] # Match most chars\n | \\\\. # Escaped chars\n | \\[ \\g\u003csquare\u003e*+ \\] # Nested brackets\n )*+\n \\]\n (\n ( # Reference Link\n [ ]? # Optional space\n \\[[^\\]]*+\\] # Ref name\n )\n | ( # Inline Link\n \\( # Opening paren\n [ \\t]*+ # Optional whitespace\n \u003c?(.*?)\u003e? # URL\n [ \\t]*+ # Optional whitespace\n ( # Optional Title\n (?\u003ctitle\u003e['\"])\n (.*?)\n \\k\u003ctitle\u003e\n )?\n \\)\n )\n )\n )\n | (?!(?\u003c=\\S)\\k\u003copen\u003e). # Everything besides\n # style closer\n )++\n (?\u003c=\\S)(?=__\\b|\\*\\*)\\k\u003copen\u003e # Close\n)\n","end":"(?\u003c=\\S)(\\1)","patterns":[{"begin":"(?=\u003c[^\u003e]*?\u003e)","end":"(?\u003c=\u003e)","patterns":[{"include":"text.html.astro"}],"applyEndPatternLast":true},{"include":"#escape"},{"include":"#ampersand"},{"include":"#bracket"},{"include":"#raw"},{"include":"#bold"},{"include":"#italic"},{"include":"#image-inline"},{"include":"#link-inline"},{"include":"#link-inet"},{"include":"#link-email"},{"include":"#image-ref"},{"include":"#link-ref-literal"},{"include":"#link-ref"},{"include":"#link-ref-shortcut"}],"captures":{"1":{"name":"punctuation.definition.bold.markdown"}}},"bracket":{"name":"meta.other.valid-bracket.markdown","match":"\u003c(?![a-zA-Z/?\\$!])"},"escape":{"name":"constant.character.escape.markdown","match":"\\\\[-`*_#+.!(){}\\[\\]\\\\\u003e]"},"fenced_code_block":{"patterns":[{"include":"#fenced_code_block_css"},{"include":"#fenced_code_block_astro"},{"include":"#fenced_code_block_basic"},{"include":"#fenced_code_block_ini"},{"include":"#fenced_code_block_java"},{"include":"#fenced_code_block_lua"},{"include":"#fenced_code_block_makefile"},{"include":"#fenced_code_block_perl"},{"include":"#fenced_code_block_r"},{"include":"#fenced_code_block_ruby"},{"include":"#fenced_code_block_php"},{"include":"#fenced_code_block_sql"},{"include":"#fenced_code_block_vs_net"},{"include":"#fenced_code_block_xml"},{"include":"#fenced_code_block_xsl"},{"include":"#fenced_code_block_yaml"},{"include":"#fenced_code_block_dosbatch"},{"include":"#fenced_code_block_clojure"},{"include":"#fenced_code_block_coffee"},{"include":"#fenced_code_block_c"},{"include":"#fenced_code_block_cpp"},{"include":"#fenced_code_block_diff"},{"include":"#fenced_code_block_dockerfile"},{"include":"#fenced_code_block_git_commit"},{"include":"#fenced_code_block_git_rebase"},{"include":"#fenced_code_block_go"},{"include":"#fenced_code_block_groovy"},{"include":"#fenced_code_block_pug"},{"include":"#fenced_code_block_js"},{"include":"#fenced_code_block_js_regexp"},{"include":"#fenced_code_block_json"},{"include":"#fenced_code_block_jsonc"},{"include":"#fenced_code_block_less"},{"include":"#fenced_code_block_objc"},{"include":"#fenced_code_block_swift"},{"include":"#fenced_code_block_scss"},{"include":"#fenced_code_block_perl6"},{"include":"#fenced_code_block_powershell"},{"include":"#fenced_code_block_python"},{"include":"#fenced_code_block_regexp_python"},{"include":"#fenced_code_block_rust"},{"include":"#fenced_code_block_scala"},{"include":"#fenced_code_block_shell"},{"include":"#fenced_code_block_ts"},{"include":"#fenced_code_block_tsx"},{"include":"#fenced_code_block_csharp"},{"include":"#fenced_code_block_fsharp"},{"include":"#fenced_code_block_dart"},{"include":"#fenced_code_block_handlebars"},{"include":"#fenced_code_block_markdown"},{"include":"#fenced_code_block_log"},{"include":"#fenced_code_block_erlang"},{"include":"#fenced_code_block_elixir"},{"include":"#fenced_code_block_unknown"}]},"fenced_code_block_astro":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(astro)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s*)(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.astro","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"text.html.astro"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_basic":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(html|htm|shtml|xhtml|inc|tmpl|tpl)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.html","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"text.html.basic"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_c":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(c|h)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.c","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.c"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_clojure":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(clj|cljs|clojure)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.clojure","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.clojure"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_coffee":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(coffee|Cakefile|coffee.erb)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.coffee","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.coffee"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_cpp":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(cpp|c\\+\\+|cxx)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.cpp source.cpp","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.c++"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_csharp":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(cs|csharp|c#)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.csharp","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.cs"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_css":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(css|css.erb)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.css","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.css"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_dart":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(dart)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.dart","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.dart"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_diff":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(patch|diff|rej)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.diff","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.diff"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_dockerfile":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(dockerfile|Dockerfile)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.dockerfile","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.dockerfile"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_dosbatch":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(bat|batch)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.dosbatch","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.batchfile"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_elixir":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(elixir)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.elixir","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.elixir"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_erlang":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(erlang)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.erlang","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.erlang"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_fsharp":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(fs|fsharp|f#)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.fsharp","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.fsharp"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_git_commit":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(COMMIT_EDITMSG|MERGE_MSG)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.git_commit","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_git_rebase":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(git-rebase-todo)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.git_rebase","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_go":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(go|golang)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.go","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.go"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_groovy":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(groovy|gvy)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.groovy","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.groovy"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_handlebars":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(handlebars|hbs)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.handlebars","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"text.html.handlebars"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_ini":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(ini|conf)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.ini","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.ini"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_java":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(java|bsh)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.java","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.java"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_js":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(js|jsx|javascript|es6|mjs|cjs|\\{\\.js.+?\\})((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.javascript","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.js"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_js_regexp":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(regexp)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.js_regexp","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.js.regexp"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_json":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(json|json5|sublime-settings|sublime-menu|sublime-keymap|sublime-mousemap|sublime-theme|sublime-build|sublime-project|sublime-completions)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.json","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.json"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_jsonc":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(jsonc)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.jsonc","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_less":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(less)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.less","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.css.less"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_log":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(log)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.log","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_lua":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(lua)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.lua","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.lua"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_makefile":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(Makefile|makefile|GNUmakefile|OCamlMakefile)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.makefile","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.makefile"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_markdown":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(markdown|md)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.markdown","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.gfm"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_objc":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(objectivec|objective-c|mm|objc|obj-c|m|h)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.objc","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.objc"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_perl":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(perl|pl|pm|pod|t|PL|psgi|vcl)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.perl","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.perl"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_perl6":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(perl6|p6|pl6|pm6|nqp)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.perl6","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.perl.6"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_php":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(php|php3|php4|php5|phpt|phtml|aw|ctp)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.php","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"text.html.basic"},{"include":"text.html.php"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_powershell":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(powershell|ps1|psm1|psd1)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.powershell","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.powershell"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_pug":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(jade|pug)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.pug","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"text.jade"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_python":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(python|py|py3|rpy|pyw|cpy|SConstruct|Sconstruct|sconstruct|SConscript|gyp|gypi|\\{\\.python.+?\\})((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.python","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.python"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_r":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(R|r|s|S|Rprofile|\\{\\.r.+?\\})((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.r","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.r"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_regexp_python":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(re)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.regexp_python","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.regexp.python"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_ruby":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(ruby|rb|rbx|rjs|Rakefile|rake|cgi|fcgi|gemspec|irbrc|Capfile|ru|prawn|Cheffile|Gemfile|Guardfile|Hobofile|Vagrantfile|Appraisals|Rantfile|Berksfile|Berksfile.lock|Thorfile|Puppetfile)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.ruby","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.ruby"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_rust":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(rust|rs|\\{\\.rust.+?\\})((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.rust","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.rust"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_scala":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(scala|sbt)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.scala","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.scala"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_scss":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(scss)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.scss","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.css.scss"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_shell":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(shell|sh|bash|zsh|bashrc|bash_profile|bash_login|profile|bash_logout|.textmate_init|\\{\\.bash.+?\\})((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.shellscript","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.shell"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_sql":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(sql|ddl|dml)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.sql","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.sql"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_swift":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(swift)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.swift","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.swift"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_ts":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(typescript|ts)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.typescript","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.ts"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_tsx":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(tsx)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.typescriptreact","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.tsx"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_unknown":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?=([^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_vs_net":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(vb)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.vs_net","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_xml":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(xml|xsd|tld|jsp|pt|cpt|dtml|rss|opml)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.xml","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"text.xml"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_xsl":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(xsl|xslt)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.xsl","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"text.xml.xsl"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"fenced_code_block_yaml":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(yaml|yml)((\\s+|:|\\{)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.yaml","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.yaml"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"heading":{"name":"markup.heading.markdown","match":"(?:^|\\G)\\s*(#{1,6}\\s+(.*?)(\\s+#{1,6})?\\s*)$","patterns":[{"include":"#inline"}],"captures":{"1":{"patterns":[{"name":"heading.6.markdown","match":"(#{6})\\s+(.*?)(?:\\s+(#+))?\\s*$","captures":{"1":{"name":"punctuation.definition.heading.markdown"},"2":{"name":"entity.name.section.markdown","patterns":[{"include":"#inline"},{"include":"text.html.astro"}]},"3":{"name":"punctuation.definition.heading.markdown"}}},{"name":"heading.5.markdown","match":"(#{5})\\s+(.*?)(?:\\s+(#+))?\\s*$","captures":{"1":{"name":"punctuation.definition.heading.markdown"},"2":{"name":"entity.name.section.markdown","patterns":[{"include":"#inline"},{"include":"text.html.astro"}]},"3":{"name":"punctuation.definition.heading.markdown"}}},{"name":"heading.4.markdown","match":"(#{4})\\s+(.*?)(?:\\s+(#+))?\\s*$","captures":{"1":{"name":"punctuation.definition.heading.markdown"},"2":{"name":"entity.name.section.markdown","patterns":[{"include":"#inline"},{"include":"text.html.astro"}]},"3":{"name":"punctuation.definition.heading.markdown"}}},{"name":"heading.3.markdown","match":"(#{3})\\s+(.*?)(?:\\s+(#+))?\\s*$","captures":{"1":{"name":"punctuation.definition.heading.markdown"},"2":{"name":"entity.name.section.markdown","patterns":[{"include":"#inline"},{"include":"text.html.astro"}]},"3":{"name":"punctuation.definition.heading.markdown"}}},{"name":"heading.2.markdown","match":"(#{2})\\s+(.*?)(?:\\s+(#+))?\\s*$","captures":{"1":{"name":"punctuation.definition.heading.markdown"},"2":{"name":"entity.name.section.markdown","patterns":[{"include":"#inline"},{"include":"text.html.astro"}]},"3":{"name":"punctuation.definition.heading.markdown"}}},{"name":"heading.1.markdown","match":"(#{1})\\s+(.*?)(?:\\s+(#+))?\\s*$","captures":{"1":{"name":"punctuation.definition.heading.markdown"},"2":{"name":"entity.name.section.markdown","patterns":[{"include":"#inline"},{"include":"text.html.astro"}]},"3":{"name":"punctuation.definition.heading.markdown"}}}]}}},"heading-setext":{"patterns":[{"name":"markup.heading.setext.1.markdown","match":"^(={3,})(?=[ \\t]*$\\n?)"},{"name":"markup.heading.setext.2.markdown","match":"^(-{3,})(?=[ \\t]*$\\n?)"}]},"html":{"patterns":[{"name":"comment.block.html","begin":"(^|\\G)\\s*(\u003c!--)","end":"(--\u003e)","captures":{"1":{"name":"punctuation.definition.comment.html"},"2":{"name":"punctuation.definition.comment.html"}}},{"begin":"(?i)(?=\u003c/?[a-zA-Z]+[^\\s/\u0026gt;]*(\\s|$|/?\u003e))","while":"(?i)^(?!.*\u003c/(\\1||\\2)\u003e)","patterns":[{"include":"text.html.astro"}]},{"begin":"(?=(\u003c[a-zA-Z0-9\\-](/?\u003e|\\s.*?\u003e)|\u003c/[a-zA-Z0-9\\-]\u003e)\\s*$)","while":"(?i)^(?!.*\u003c/(\\1||\\2)\u003e)","patterns":[{"include":"text.html.astro"}]}]},"image-inline":{"name":"meta.image.inline.markdown","match":"(?x)\n (\\!\\[)((?\u003csquare\u003e[^\\[\\]\\\\]|\\\\.|\\[\\g\u003csquare\u003e*+\\])*+)(\\])\n # Match the link text.\n (\\() # Opening paren for url\n (\u003c?)(\\S+?)(\u003e?) # The url\n [ \\t]* # Optional whitespace\n (?:\n ((\\().+?(\\))) # Match title in parens…\n | ((\").+?(\")) # or in double quotes…\n | ((').+?(')) # or in single quotes.\n )? # Title is optional\n \\s* # Optional whitespace\n (\\))\n","captures":{"1":{"name":"punctuation.definition.string.begin.markdown"},"10":{"name":"punctuation.definition.string.markdown"},"11":{"name":"punctuation.definition.string.markdown"},"12":{"name":"string.other.link.description.title.markdown"},"13":{"name":"punctuation.definition.string.markdown"},"14":{"name":"punctuation.definition.string.markdown"},"15":{"name":"string.other.link.description.title.markdown"},"16":{"name":"punctuation.definition.string.markdown"},"17":{"name":"punctuation.definition.string.markdown"},"18":{"name":"punctuation.definition.metadata.markdown"},"2":{"name":"string.other.link.description.markdown"},"4":{"name":"punctuation.definition.string.end.markdown"},"5":{"name":"punctuation.definition.metadata.markdown"},"6":{"name":"punctuation.definition.link.markdown"},"7":{"name":"markup.underline.link.image.markdown"},"8":{"name":"punctuation.definition.link.markdown"},"9":{"name":"string.other.link.description.title.markdown"}}},"image-ref":{"name":"meta.image.reference.markdown","match":"(\\!\\[)((?\u003csquare\u003e[^\\[\\]\\\\]|\\\\.|\\[\\g\u003csquare\u003e*+\\])*+)(\\])[ ]?(\\[)(.*?)(\\])","captures":{"1":{"name":"punctuation.definition.string.begin.markdown"},"2":{"name":"string.other.link.description.markdown"},"4":{"name":"punctuation.definition.string.begin.markdown"},"5":{"name":"punctuation.definition.constant.markdown"},"6":{"name":"constant.other.reference.link.markdown"},"7":{"name":"punctuation.definition.constant.markdown"}}},"inline":{"patterns":[{"include":"#ampersand"},{"include":"#bracket"},{"include":"#bold"},{"include":"#italic"},{"include":"#raw"},{"include":"#escape"},{"include":"#image-inline"},{"include":"#image-ref"},{"include":"#link-email"},{"include":"#link-inet"},{"include":"#link-inline"},{"include":"#link-ref"},{"include":"#link-ref-literal"},{"include":"#link-ref-shortcut"},{"include":"#astro-expressions"}]},"italic":{"name":"markup.italic.markdown","begin":"(?x) (?\u003copen\u003e(\\*(?=\\w)|(?\u003c!\\w)\\*|(?\u003c!\\w)\\b_))(?=\\S) # Open\n (?=\n (\n \u003c[^\u003e]*+\u003e # HTML tags\n | (?\u003craw\u003e`+)([^`]|(?!(?\u003c!`)\\k\u003craw\u003e(?!`))`)*+\\k\u003craw\u003e\n # Raw\n | \\\\[\\\\`*_{}\\[\\]()#.!+\\-\u003e]?+ # Escapes\n | \\[\n (\n (?\u003csquare\u003e # Named group\n [^\\[\\]\\\\] # Match most chars\n | \\\\. # Escaped chars\n | \\[ \\g\u003csquare\u003e*+ \\] # Nested brackets\n )*+\n \\]\n (\n ( # Reference Link\n [ ]? # Optional space\n \\[[^\\]]*+\\] # Ref name\n )\n | ( # Inline Link\n \\( # Opening paren\n [ \\t]*+ # Optional whtiespace\n \u003c?(.*?)\u003e? # URL\n [ \\t]*+ # Optional whtiespace\n ( # Optional Title\n (?\u003ctitle\u003e['\"])\n (.*?)\n \\k\u003ctitle\u003e\n )?\n \\)\n )\n )\n )\n | \\k\u003copen\u003e\\k\u003copen\u003e # Must be bold closer\n | (?!(?\u003c=\\S)\\k\u003copen\u003e). # Everything besides\n # style closer\n )++\n (?\u003c=\\S)(?=_\\b|\\*)\\k\u003copen\u003e # Close\n )\n","end":"(?\u003c=\\S)(\\1)((?!\\1)|(?=\\1\\1))","patterns":[{"begin":"(?=\u003c[^\u003e]*?\u003e)","end":"(?\u003c=\u003e)","patterns":[{"include":"text.html.astro"}],"applyEndPatternLast":true},{"include":"#escape"},{"include":"#ampersand"},{"include":"#bracket"},{"include":"#raw"},{"include":"#bold"},{"include":"#image-inline"},{"include":"#link-inline"},{"include":"#link-inet"},{"include":"#link-email"},{"include":"#image-ref"},{"include":"#link-ref-literal"},{"include":"#link-ref"},{"include":"#link-ref-shortcut"}],"captures":{"1":{"name":"punctuation.definition.italic.markdown"}}},"link-def":{"name":"meta.link.reference.def.markdown","match":"(?x)\n \\s* # Leading whitespace\n (\\[)([^]]+?)(\\])(:) # Reference name\n [ \\t]* # Optional whitespace\n (\u003c?)(\\S+?)(\u003e?) # The url\n [ \\t]* # Optional whitespace\n (?:\n ((\\().+?(\\))) # Match title in parens…\n | ((\").+?(\")) # or in double quotes…\n | ((').+?(')) # or in single quotes.\n )? # Title is optional\n \\s* # Optional whitespace\n $\n","captures":{"1":{"name":"punctuation.definition.constant.markdown"},"10":{"name":"punctuation.definition.string.end.markdown"},"11":{"name":"string.other.link.description.title.markdown"},"12":{"name":"punctuation.definition.string.begin.markdown"},"13":{"name":"punctuation.definition.string.end.markdown"},"14":{"name":"string.other.link.description.title.markdown"},"15":{"name":"punctuation.definition.string.begin.markdown"},"16":{"name":"punctuation.definition.string.end.markdown"},"2":{"name":"constant.other.reference.link.markdown"},"3":{"name":"punctuation.definition.constant.markdown"},"4":{"name":"punctuation.separator.key-value.markdown"},"5":{"name":"punctuation.definition.link.markdown"},"6":{"name":"markup.underline.link.markdown"},"7":{"name":"punctuation.definition.link.markdown"},"8":{"name":"string.other.link.description.title.markdown"},"9":{"name":"punctuation.definition.string.begin.markdown"}}},"link-email":{"name":"meta.link.email.lt-gt.markdown","match":"(\u003c)((?:mailto:)?[a-zA-Z0-9.!#$%\u0026'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*)(\u003e)","captures":{"1":{"name":"punctuation.definition.link.markdown"},"2":{"name":"markup.underline.link.markdown"},"4":{"name":"punctuation.definition.link.markdown"}}},"link-inet":{"name":"meta.link.inet.markdown","match":"(\u003c)((?:https?|ftp)://.*?)(\u003e)","captures":{"1":{"name":"punctuation.definition.link.markdown"},"2":{"name":"markup.underline.link.markdown"},"3":{"name":"punctuation.definition.link.markdown"}}},"link-inline":{"name":"meta.link.inline.markdown","match":"(?x)\n (\\[)((?\u003csquare\u003e[^\\[\\]\\\\]|\\\\.|\\[\\g\u003csquare\u003e*+\\])*+)(\\])\n # Match the link text.\n (\\() # Opening paren for url\n (\u003c?)((?\u003curl\u003e(?\u003e[^\\s()]+)|\\(\\g\u003curl\u003e*\\))*)(\u003e?) # The url\n [ \\t]* # Optional whitespace\n (?:\n ((\\().+?(\\))) # Match title in parens…\n | ((\").+?(\")) # or in double quotes…\n | ((').+?(')) # or in single quotes.\n )? # Title is optional\n \\s* # Optional whitespace\n (\\))\n","captures":{"1":{"name":"punctuation.definition.string.begin.markdown"},"10":{"name":"string.other.link.description.title.markdown"},"11":{"name":"punctuation.definition.string.begin.markdown"},"12":{"name":"punctuation.definition.string.end.markdown"},"13":{"name":"string.other.link.description.title.markdown"},"14":{"name":"punctuation.definition.string.begin.markdown"},"15":{"name":"punctuation.definition.string.end.markdown"},"16":{"name":"string.other.link.description.title.markdown"},"17":{"name":"punctuation.definition.string.begin.markdown"},"18":{"name":"punctuation.definition.string.end.markdown"},"19":{"name":"punctuation.definition.metadata.markdown"},"2":{"name":"string.other.link.title.markdown"},"4":{"name":"punctuation.definition.string.end.markdown"},"5":{"name":"punctuation.definition.metadata.markdown"},"6":{"name":"punctuation.definition.link.markdown"},"7":{"name":"markup.underline.link.markdown"},"9":{"name":"punctuation.definition.link.markdown"}}},"link-ref":{"name":"meta.link.reference.markdown","match":"(\\[)((?\u003csquare\u003e[^\\[\\]\\\\]|\\\\.|\\[\\g\u003csquare\u003e*+\\])*+)(\\])(\\[)([^\\]]*+)(\\])","captures":{"1":{"name":"punctuation.definition.string.begin.markdown"},"2":{"name":"string.other.link.title.markdown"},"4":{"name":"punctuation.definition.string.end.markdown"},"5":{"name":"punctuation.definition.constant.begin.markdown"},"6":{"name":"constant.other.reference.link.markdown"},"7":{"name":"punctuation.definition.constant.end.markdown"}}},"link-ref-literal":{"name":"meta.link.reference.literal.markdown","match":"(\\[)((?\u003csquare\u003e[^\\[\\]\\\\]|\\\\.|\\[\\g\u003csquare\u003e*+\\])*+)(\\])[ ]?(\\[)(\\])","captures":{"1":{"name":"punctuation.definition.string.begin.markdown"},"2":{"name":"string.other.link.title.markdown"},"4":{"name":"punctuation.definition.string.end.markdown"},"5":{"name":"punctuation.definition.constant.begin.markdown"},"6":{"name":"punctuation.definition.constant.end.markdown"}}},"link-ref-shortcut":{"name":"meta.link.reference.markdown","match":"(\\[)(\\S+?)(\\])","captures":{"1":{"name":"punctuation.definition.string.begin.markdown"},"2":{"name":"string.other.link.title.markdown"},"3":{"name":"punctuation.definition.string.end.markdown"}}},"list_paragraph":{"name":"meta.paragraph.markdown","begin":"(^|\\G)(?=\\S)(?![*+-\u003e]\\s|[0-9]+\\.\\s)","while":"(^|\\G)(?!\\s*$|#|\\s*([-*_\u003e][ ]{2,}){3,}[ \\t]*$\\n?|\\s*[*+-\u003e]|\\s*[0-9]+\\.)","patterns":[{"include":"#inline"},{"include":"text.html.astro"},{"include":"#heading-setext"}]},"lists":{"patterns":[{"name":"markup.list.unnumbered.markdown","begin":"(^|\\G)(\\s*)([*+-])([ \\t])","while":"((^|\\G)([ ]{2,4}|\\t))|(^[ \\t]*$)","patterns":[{"include":"#block"},{"include":"#list_paragraph"}],"beginCaptures":{"3":{"name":"punctuation.definition.list.begin.markdown"}}},{"name":"markup.list.numbered.markdown","begin":"(^|\\G)(\\s*)([0-9]+\\.)([ \\t])","while":"((^|\\G)([ ]{2,4}|\\t))|(^[ \\t]*$)","patterns":[{"include":"#block"},{"include":"#list_paragraph"}],"beginCaptures":{"3":{"name":"punctuation.definition.list.begin.markdown"}}}]},"paragraph":{"name":"meta.paragraph.markdown","begin":"(^|\\G)\\s*(?=\\S)","while":"(^|\\G)(?=\\s*[-=]{3,}\\s*$)","patterns":[{"include":"#inline"},{"include":"text.html.astro"},{"include":"#heading-setext"}]},"raw":{"name":"markup.inline.raw.string.markdown","match":"(`+)([^`]|(?!(?\u003c!`)\\1(?!`))`)*+(\\1)","captures":{"1":{"name":"punctuation.definition.raw.markdown"},"3":{"name":"punctuation.definition.raw.markdown"}}},"separator":{"name":"meta.separator.markdown","match":"(^|\\G)\\s*([\\*\\-\\_])([ ]{0,2}\\2){2,}[ \\t]*$\\n?"}}}
|
1
|
+
{"scopeName":"text.html.markdown.astro","patterns":[{"include":"#fenced_code_block_astro"}],"repository":{"fenced_code_block_astro":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(\\`{3,}|~{3,})\\s*(?i:astro(\\s+[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"contentName":"meta.embedded.block.astro.frontmatter","begin":"^\\s*---\\s*$","end":"^\\s*---\\s*$","patterns":[{"include":"source.tsx"}],"beginCaptures":{"0":{"name":"punctuation.definition.tag.xi.begin.t"}},"endCaptures":{"0":{"name":"punctuation.definition.tag.xi.end.t"}}},{"contentName":"meta.embedded.block.astro","include":"source.astro"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"5":{"name":"fenced_code.block.language"},"6":{"name":"fenced_code.block.language.attributes"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}}}}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"name":"Antlers (Statamic Syntax)","scopeName":"text.html.statamic","patterns":[{"include":"#php-tag"},{"include":"#statamic-comments"},{"include":"#frontMatter"},{"include":"#antlers-tags"}],"repository":{"antlers-conditionals":{"name":"keyword.control.statamic","match":"(?\u003c!:)(/?else|/?elseif|/?if|/?unless|endif|endunless|unlesselse|stop)"},"antlers-constants":{"match":"(\\G|\\s|\\b)(true|TRUE|false|FALSE|yes|YES|no|NO|null|as)\\s","captures":{"2":{"name":"constant.language.statamic"}}},"antlers-expression":{"patterns":[{"name":"punctuation.terminator.expression.statamic","match":";"},{"include":"#antlers-strings"},{"include":"#antlers-numbers"},{"name":"keyword.operator.key.statamic","match":"=\u003e"},{"name":"keyword.operator.class.statamic","match":"-\u003e"},{"include":"#statamic-explicit-tags"},{"include":"#statamic-core-tags"},{"name":"keyword.operator.comparison.statamic","match":"===|==|!==|!=|\u003c\u003e"},{"name":"keyword.operator.string.statamic","match":"\\\u0026=?"},{"name":"keyword.operator.assignment.statamic","match":"=|\\+=|\\-=|\\*\\*?=|/=|%=|\\|=|\\^=|\u003c\u003c=|\u003e\u003e="},{"name":"keyword.operator.logical.statamic","match":"(?i)(!|\\?\\?|\\?=|\\?|\u0026\u0026|\u0026|\\|\\|)|\\b(and|or|xor)\\b"},{"name":"keyword.operator.bitwise.statamic","match":"(?i)\\b(bwa|bwo|bxor|bnot|bsl|bsr)\\b"},{"name":"keyword.operator.comparison.statamic","match":"\u003c=\u003e|\u003c=|\u003e=|\u003c|\u003e"},{"name":"keyword.operator.arithmetic.statamic","match":"\\-|\\+|\\*\\*?|/|%"},{"name":"meta.array.statamic","begin":"(arr|list|switch)\\s*(\\()","end":"\\)|(?=\\?\u003e)","patterns":[{"include":"#antlers-expression"}],"beginCaptures":{"1":{"name":"support.function.construct.statamic"},"2":{"name":"punctuation.definition.array.begin.bracket.round.statamic"}},"endCaptures":{"0":{"name":"punctuation.definition.array.end.bracket.round.statamic"}}},{"begin":"(?\u003c!@){(\\s?)","end":"(\\s?)}","patterns":[{"include":"#antlers-expression"}]},{"include":"#antlers-tag-parameter-variable"},{"include":"#antlers-language-operators"},{"include":"#antlers-variable"},{"include":"#antlers-modifier-pipe"},{"include":"#antlers-variable-modifier-name"},{"include":"#antlers-variable-modifiers"},{"include":"#antlers-constants"}]},"antlers-language-operators":{"match":"(\\w+)[\\s]","captures":{"1":{"name":"variable.statamic","patterns":[{"include":"#antlers-numbers"},{"include":"#language-operators"}]}}},"antlers-modifier-pipe":{"name":"keyword.operator.other.statamic","match":"(\\|)"},"antlers-numbers":{"name":"constant.numeric.statamic","match":"0|[1-9](?:_?[0-9]+)*"},"antlers-strings":{"patterns":[{"include":"#string-double-quoted"},{"include":"#string-single-quoted"}]},"antlers-tag-parameter-variable":{"match":"(:?([\\S:]+?)(=)('|\")([^\\4]*?)(\\4))","captures":{"1":{"patterns":[{"match":":([\\S:]+?)(=)('|\")(.*?)(\\3)","captures":{"1":{"name":"entity.other.attribute-name"},"2":{"name":"keyword.operator.assignment.statamic"},"3":{"name":"punctuation.definition.string.begin.statamic"},"4":{"patterns":[{"include":"#antlers-expression"}]},"5":{"name":"punctuation.definition.string.end.statamic"}}},{"match":"([\\S]+?)(=)(('|\")(.*?)(\\4))","captures":{"1":{"name":"entity.other.attribute-name"},"2":{"name":"keyword.operator.assignment.statamic"},"3":{"patterns":[{"include":"#string-single-quoted"},{"include":"#string-double-quoted"}]}}}]}}},"antlers-tags":{"name":"meta.embedded.block.statamic","begin":"(?\u003c!@){{(?!\\$)(\\s?)","end":"(\\s?)}}","patterns":[{"include":"#statamic-comments"},{"include":"#php-tag"},{"include":"#antlers-conditionals"},{"include":"#antlers-expression"}]},"antlers-variable":{"match":"(/?\\w+)(:)?(\\w+)?","captures":{"1":{"name":"variable.statamic"},"2":{"name":"keyword.operator.statamic"},"3":{"name":"variable.statamic","patterns":[{"include":"$self"}]}}},"antlers-variable-modifier-name":{"match":"(\\s)?(\\|)(\\s)?(\\w+((^:([a-zA-Z0-9-_/-@]+)){1,2})?|((-|\\+|\\*|/|\\^|\\%):(\\d*)?\\.?(\\d+)))+","captures":{"2":{"name":"keyword.operator.statamic"},"4":{"name":"support.function.statamic"}}},"antlers-variable-modifiers":{"match":"(\\s)?(\\|)(\\s)?(\\w+((:([a-zA-Z0-9-_/-@]+)){1,2})?|((-|\\+|\\*|/|\\^|\\%):(\\d*)?\\.?(\\d+)))+","captures":{"2":{"name":"keyword.operator.statamic"},"4":{"name":"support.function.statamic","patterns":[{"include":"#antlers-expression"}]}}},"core-tag-names":{"patterns":[{"name":"entity.name.tag.statamic","match":"(?i)\\b(taxonomy|collection|asset|form|assets|cache|can|dd|ddd|dump|get_content|get_error|get_errors|get_files|glide|in|increment|installed|is|iterate|foreach|link|locales|markdown|member|mix|nav|not_found|404|obfuscate|parent|partial|path|query|range|loop|redirect|relate|rotate|route|scope|section|session|set|structure|svg|theme|trans|trans_choice|user|users|widont|yields|yield|slot|once|noparse|view|stack|push)\\b"}]},"frontMatter":{"contentName":"meta.embedded.block.frontmatter","begin":"\\A-{3}\\s*$","end":"(^|\\G)-{3}|\\.{3}\\s*$","patterns":[{"include":"source.yaml"}]},"language-operators":{"patterns":[{"name":"support.function.array.statamic","match":"(?i)\\b(pluck|take|skip|arr|orderby|groupby|merge|where|switch|bwa|bwo|bxor|bnot|bsl|bsr|if|elseif|else|void)(\\b)"}]},"php-tag":{"patterns":[{"name":"meta.embedded.block.statamic","contentName":"source.php","begin":"\u003c\\?(?i:php|=)?(?![^?]*\\?\u003e)","end":"(\\?)\u003e","patterns":[{"include":"text.html.php"}],"beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.statamic"}},"endCaptures":{"0":{"name":"punctuation.section.embedded.end.statamic"},"1":{"name":"source.php"}}},{"name":"meta.embedded.line.statamic","contentName":"source.php","begin":"(?\u003c!@){{([\\$\\?]\\s?)","end":"(\\s?)[\\$\\?]}}","patterns":[{"include":"text.html.php"}],"beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.statamic"}},"endCaptures":{"0":{"name":"punctuation.section.embedded.end.statamic"},"1":{"name":"source.php"}}},{"name":"meta.embedded.line.statamic","contentName":"source.php","begin":"\u003c\\?(?i:php|=)?","end":"(\\?)\u003e","patterns":[{"include":"text.html.php"}],"beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.statamic"}},"endCaptures":{"0":{"name":"punctuation.section.embedded.end.statamic"},"1":{"name":"source.php"}}}]},"statamic-comments":{"name":"comment.block.statamic","begin":"{{#","end":"#}}"},"statamic-core-closing-tags":{"match":"\\/(\\w+)+","captures":{"1":{"name":"variable.statamic","patterns":[{"include":"#core-tag-names"}]}}},"statamic-core-tags":{"match":"\\G(/?\\w+)+","captures":{"1":{"name":"variable.statamic","patterns":[{"include":"#core-tag-names"}]}}},"statamic-explicit-tags":{"match":"\\G(/?%\\w+)+","captures":{"1":{"name":"entity.name.tag.statamic"}}},"string-double-quoted":{"name":"string.quoted.double.statamic","begin":"\"","end":"\"","patterns":[{"begin":"(?\u003c!@){(\\s?)","end":"(\\s?)}","patterns":[{"include":"#antlers-expression"}]}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.statamic"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.statamic"}}},"string-single-quoted":{"name":"string.quoted.single.statamic","begin":"'","end":"'","patterns":[{"name":"constant.character.escape.statamic","match":"\\\\[\\\\']"},{"begin":"(?\u003c!@){(\\s?)","end":"(\\s?)}","patterns":[{"include":"#antlers-expression"}]}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.statamic"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.statamic"}}}},"injections":{"text.html.statamic":{"patterns":[{"include":"#statamic-comments"},{"include":"#antlers-tags"}]},"text.html.statamic - (meta.embedded | meta.tag | comment.block.statamic), L:(text.html.statamic meta.tag - (comment.block.statamic | meta.embedded.statamic))":{"patterns":[{"include":"text.html.basic"}]},"text.html.statamic - (meta.embedded | meta.tag), L:((text.html.statamic meta.tag) - (meta.embedded.block.php | meta.embedded.line.php)), L:(source.js - (meta.embedded.block.php | meta.embedded.line.php)), L:(source.css - (meta.embedded.block.php | meta.embedded.line.php))":{"patterns":[{"include":"#php-tag"}]}}}
|
data/grammars/text.rtf.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"RTF","scopeName":"text.rtf","patterns":[{"begin":"\\{\\\\\\*","end":"}","patterns":[{"include":"$self"}],"beginCaptures":{"0":{"name":"keyword.operator.begin-ignorable-destination-group.rtf"}},"endCaptures":{"0":{"name":"keyword.operator.end-ignorable-destination-group.rtf"}}},{"begin":"\\{","end":"}","patterns":[{"include":"$self"}],"beginCaptures":{"0":{"name":"keyword.operator.begin-group.rtf"}},"endCaptures":{"0":{"name":"keyword.operator.end-group.rtf"}}},{"name":"constant.character.escape.rtf","match":"\\\\[\\\\{}]"},{"name":"keyword.operator.formula.rtf","match":"\\\\\\|"},{"name":"constant.character.escape.non-breaking-space.rtf","match":"\\\\~"},{"name":"constant.character.escape.optional-hyphen.rtf","match":"\\\\-"},{"name":"constant.character.escape.non-breaking-hyphen.rtf","match":"\\\\_"},{"name":"keyword.operator.index-subentry.rtf","match":"\\\\:"},{"name":"keyword.operator.ignorable-destination.rtf","match":"\\\\\\*"},{"name":"support.function.par.rtf","match":"\\\\[\\n\\r]"},{"name":"constant.character.entity.rtf","match":"(\\\\')[0-9A-Fa-f]{2}","captures":{"1":{"name":"punctuation.definition.constant.rtf"}}},{"contentName":"markup.bold.rtf","begin":"\\\\b\\b","end":"(?=\\\\(?:b0|plain
|
1
|
+
{"name":"RTF","scopeName":"text.rtf","patterns":[{"begin":"\\{\\\\\\*","end":"}","patterns":[{"include":"$self"}],"beginCaptures":{"0":{"name":"keyword.operator.begin-ignorable-destination-group.rtf"}},"endCaptures":{"0":{"name":"keyword.operator.end-ignorable-destination-group.rtf"}}},{"begin":"\\{","end":"}","patterns":[{"include":"$self"}],"beginCaptures":{"0":{"name":"keyword.operator.begin-group.rtf"}},"endCaptures":{"0":{"name":"keyword.operator.end-group.rtf"}}},{"name":"constant.character.escape.rtf","match":"\\\\[\\\\{}]"},{"name":"keyword.operator.formula.rtf","match":"\\\\\\|"},{"name":"constant.character.escape.non-breaking-space.rtf","match":"\\\\~"},{"name":"constant.character.escape.optional-hyphen.rtf","match":"\\\\-"},{"name":"constant.character.escape.non-breaking-hyphen.rtf","match":"\\\\_"},{"name":"keyword.operator.index-subentry.rtf","match":"\\\\:"},{"name":"keyword.operator.ignorable-destination.rtf","match":"\\\\\\*"},{"name":"support.function.par.rtf","match":"\\\\[\\n\\r]"},{"name":"constant.character.entity.rtf","match":"(\\\\')[0-9A-Fa-f]{2}","captures":{"1":{"name":"punctuation.definition.constant.rtf"}}},{"contentName":"markup.bold.rtf","begin":"\\\\b\\b","end":"(?=\\\\(?:b0(?:\\b|[^\\d])|plain\\b)|})","patterns":[{"include":"$self"}],"beginCaptures":{"0":{"name":"support.function.rtf"}}},{"contentName":"markup.italic.rtf","begin":"\\\\i\\b","end":"(?=\\\\(?:i0(?:\\b|[^\\d])|plain\\b)|})","patterns":[{"include":"$self"}],"beginCaptures":{"0":{"name":"support.function.rtf"}}},{"contentName":"markup.strike.rtf","begin":"\\\\strike\\b","end":"(?=\\\\(?:strike0(?:\\b|[^\\d])|plain\\b)|})","patterns":[{"include":"$self"}],"beginCaptures":{"0":{"name":"support.function.rtf"}}},{"match":"(\\\\[A-Za-z]+)(?:(-?)(\\d+))?","captures":{"1":{"name":"support.function.rtf"},"2":{"name":"keyword.operator.rtf"},"3":{"name":"constant.numeric.rtf"}}},{"name":"invalid.unimplemented.rtf","match":"\\\\[^A-Za-z]"}]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"name":"Savane Markup","scopeName":"text.savane","patterns":[{"include":"#fullMarkup"}],"repository":{"basicMarkup":{"patterns":[{"include":"#bold"},{"include":"#italic"},{"include":"#links"},{"include":"#nomarkup"}]},"bold":{"name":"markup.bold.emphasis.strong.savane","match":"(?:^|(?\u003c=\\s))(\\*)([^* ][^*]*?)(\\*)","captures":{"1":{"name":"punctuation.definition.markup.bold.begin.savane"},"2":{"name":"punctuation.definition.markup.bold.end.savane"}}},"fullMarkup":{"patterns":[{"include":"#richMarkup"},{"include":"#headings"}]},"headingText":{"name":"entity.name.section.savane","begin":"(?:\\G|^)","end":"$","patterns":[{"include":"#basicMarkup"}]},"headings":{"patterns":[{"name":"markup.heading.1.title.savane","match":"^(=) (.+?) (=)(?=\\s*$)","captures":{"1":{"name":"punctuation.definition.header.begin.savane"},"2":{"patterns":[{"include":"#headingText"}]},"3":{"name":"punctuation.definition.header.end.savane"}}},{"name":"markup.heading.2.subtitle.savane","match":"^(==) (.+?) (==)(?=\\s*$)","captures":{"1":{"name":"punctuation.definition.header.begin.savane"},"2":{"patterns":[{"include":"#headingText"}]},"3":{"name":"punctuation.definition.header.end.savane"}}},{"name":"markup.heading.3.subsubtitle.savane","match":"^(===) (.+?) (===)(?=\\s*$)","captures":{"1":{"name":"punctuation.definition.header.begin.savane"},"2":{"patterns":[{"include":"#headingText"}]},"3":{"name":"punctuation.definition.header.end.savane"}}},{"name":"markup.heading.4.subsubsubtitle.savane","match":"^(====) (.+?) (====)(?=\\s*$)","captures":{"1":{"name":"punctuation.definition.header.begin.savane"},"2":{"patterns":[{"include":"#headingText"}]},"3":{"name":"punctuation.definition.header.end.savane"}}}]},"italic":{"name":"markup.italic.emphasis.savane","match":"(?:^|(?\u003c=[\\s\\(\u003e]))(_)(.+?)(_)(?=$|\\W)","captures":{"1":{"name":"punctuation.definition.markup.italic.begin.savane"},"2":{"name":"punctuation.definition.markup.italic.end.savane"}}},"itemID":{"name":"constant.numeric.integer.item-id.savane","match":"(?:\\G|^)(#)\\d+","captures":{"1":{"name":"punctuation.definition.item-id.savane"}}},"links":{"patterns":[{"name":"markup.link.reference.file.savane","match":"(\\(?)(files?) (#\\d+)( ([^),]*))?(?:(\\))|(,)(?=$| ))?","captures":{"1":{"patterns":[{"include":"etc#bracket"}]},"2":{"name":"storage.type.file.savane"},"3":{"patterns":[{"include":"#itemID"}]},"4":{"name":"meta.comment.savane"},"5":{"name":"string.unquoted.alt-text.savane"},"6":{"patterns":[{"include":"etc#bracket"}]},"7":{"patterns":[{"include":"etc#comma"}]}}},{"name":"markup.link.reference.$2.savane","match":"\\b((bug|comment|recipe|task|patch|rcp|sr|support)(?:(?\u003c!patch|rcp|sr|support)s)?)\\s{0,2}(#\\d+)","captures":{"1":{"name":"storage.type.$2.savane"},"3":{"patterns":[{"include":"#itemID"}]}}},{"name":"markup.link.bracketed.named.web-address.savane","match":"(\\[)((?:www\\.|//|(?:afs|file|https?|nfs|s?ftp):/{0,2})\\S+)(?:\\s+([^\\s\\]].*?))?(\\])","captures":{"1":{"patterns":[{"include":"etc#bracket"}]},"2":{"name":"constant.other.reference.link.markup.underline.savane"},"3":{"name":"entity.name.tag.link.description.savane"},"4":{"patterns":[{"include":"etc#bracket"}]}}},{"name":"markup.link.bracketed.unnamed.web-address.savane","match":"(\\[)((?:www\\.|//|(?:afs|file|https?|nfs|s?ftp):/{0,2})\\S+)(\\])","captures":{"1":{"patterns":[{"include":"etc#bracket"}]},"2":{"name":"constant.other.reference.link.markup.underline.savane"},"3":{"patterns":[{"include":"etc#bracket"}]}}},{"name":"markup.link.unbracketed.web-address.savane","match":"(?:(?:^|(?\u003c=[^;\\[/]))(?:afs|file|https?|nfs|s?ftp)://|(?:^|(?\u003c=\\s))www\\.)(?i:\u0026amp;|[^\\s\u0026]+[a-z0-9/^])++","captures":{"0":{"name":"constant.other.reference.link.markup.underline.savane"}}},{"name":"markup.link.unbracketed.mail-address.savane","match":"(?:^|(?\u003c=\\s))[-+\\w,.]+@(?:[-+\\w]+\\.)+[A-Za-z]+(?=$|\\s)","captures":{"0":{"name":"constant.other.reference.link.markup.underline.savane"}}}]},"lists":{"patterns":[{"name":"markup.list.unnumbered.savane","begin":"(?:^|\\G)(\\s?)((\\*+)) +","end":"$","patterns":[{"include":"#basicMarkup"}],"beginCaptures":{"1":{"name":"punctuation.whitespace.leading.indentation.savane"},"2":{"name":"keyword.operator.list.unnumbered.marker.savane"},"3":{"name":"punctuation.definition.list.unordered.savane"}}},{"name":"markup.list.numbered.savane","begin":"(?:^|\\G)(\\s?)(0+) +","end":"$","patterns":[{"include":"#basicMarkup"}],"beginCaptures":{"1":{"name":"punctuation.whitespace.leading.indentation.savane"},"2":{"name":"keyword.operator.list.numbered.marker.savane"},"3":{"name":"punctuation.definition.list.ordered.savane"}}}]},"nomarkup":{"name":"meta.nomarkup.block.savane","contentName":"markup.raw.literal.savane","begin":"(\\+)nomarkup(\\+)","end":"(-)nomarkup(-)","beginCaptures":{"0":{"name":"keyword.control.nomarkup.block.begin.savane"},"1":{"name":"punctuation.definition.keyword.begin.savane"},"2":{"name":"punctuation.definition.keyword.end.savane"}},"endCaptures":{"0":{"name":"keyword.control.nomarkup.block.end.savane"},"1":{"name":"punctuation.definition.keyword.begin.savane"},"2":{"name":"punctuation.definition.keyword.end.savane"}}},"quote":{"name":"markup.quote.block.savane","begin":"(?:^|\\G)\u003e","end":"$","patterns":[{"include":"#basicMarkup"}],"beginCaptures":{"0":{"name":"punctuation.section.quote.savane"}}},"richMarkup":{"patterns":[{"include":"#basicMarkup"},{"include":"#lists"},{"include":"#ruler"},{"include":"#verbatim"},{"include":"#quote"}]},"ruler":{"name":"meta.separator.horizontal-rule.ruler.savane","match":"^-{4}(?=\\s*$)","captures":{"0":{"name":"punctuation.definition.divider.savane"}}},"verbatim":{"name":"meta.verbatim-block.savane","contentName":"markup.raw.code.monospace.savane","begin":"^\\s*((\\+)verbatim(\\+))(?:\\s*(\\S.*?))?[ \\t]*$","end":"^\\s*((-)verbatim(-))(?:\\s*(\\S.*?))?[ \\t]*$","patterns":[{"include":"#verbatimInnards"}],"beginCaptures":{"1":{"name":"keyword.control.verbatim.block.begin.savane"},"2":{"name":"punctuation.definition.keyword.begin.savane"},"3":{"name":"punctuation.definition.keyword.end.savane"},"4":{"name":"invalid.illegal.unexpected-characters.savane"}},"endCaptures":{"1":{"name":"keyword.control.verbatim.block.end.savane"},"2":{"name":"punctuation.definition.keyword.begin.savane"},"3":{"name":"punctuation.definition.keyword.end.savane"},"4":{"name":"invalid.illegal.unexpected-characters.savane"}}},"verbatimInnards":{"begin":"\\+verbatim\\+","end":"\\-verbatim-","patterns":[{"include":"#verbatimInnards"}]}}}
|
data/grammars/text.srt.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"
|
1
|
+
{"name":"SubRip Text","scopeName":"text.srt","patterns":[{"include":"#main"}],"repository":{"action":{"patterns":[{"name":"string.quoted.other.sound.action.square-brackets.srt","begin":"\\[","end":"\\]|(?=^[ \\t]*$)","patterns":[{"include":"#formatting"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.srt"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.srt"}}},{"name":"string.quoted.other.sound.action.round-brackets.srt","begin":"\\(","end":"\\)|(?=^[ \\t]*$)","patterns":[{"include":"#formatting"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.srt"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.srt"}}}]},"arrow":{"name":"keyword.operator.timespan.srt","match":"--\u003e","captures":{"0":{"name":"punctuation.definition.separator.srt"}}},"bold":{"contentName":"markup.bold.srt","begin":"(\u003c)([Bb])(?=$|\u003e|\\s)([^\u003e]*)(\u003e)","end":"(\u003c/)([Bb])[ \\t]*(\u003e)|(?=^[ \\t]*$)","patterns":[{"include":"#text"}],"beginCaptures":{"0":{"name":"meta.tag.inline.b.html.srt"},"1":{"name":"punctuation.definition.tag.begin.html.srt"},"2":{"name":"entity.name.tag.inline.b.html.srt"},"3":{"patterns":[{"include":"text.html.basic#tag-stuff"}]},"4":{"name":"punctuation.definition.tag.end.html.srt"}},"endCaptures":{"0":{"name":"meta.tag.inline.b.html.srt"},"1":{"name":"punctuation.definition.tag.begin.html.srt"},"2":{"name":"entity.name.tag.inline.b.html"},"3":{"name":"punctuation.definition.tag.end.html.srt"}}},"dash":{"name":"markup.quote.quotation-dash.srt","match":"(?:^|\\G)(-)","captures":{"1":{"name":"punctuation.section.quote.srt"}}},"escapes":{"patterns":[{"name":"constant.character.whitespace.escape.hard-space.srt","match":"(\\\\)h","captures":{"1":{"name":"punctuation.definition.escape.backslash.srt"}}},{"name":"constant.character.whitespace.escape.forced-newline.srt","match":"(\\\\)N","captures":{"1":{"name":"punctuation.definition.escape.backslash.srt"}}}]},"font":{"contentName":"markup.other.font.srt","begin":"(?i)(\u003c)(font)(?=$|\u003e|\\s)([^\u003e]*)(\u003e)","end":"(?i)(\u003c/)(font)[ \\t]*(\u003e)|(?=^[ \\t]*$)","patterns":[{"include":"#text"}],"beginCaptures":{"0":{"name":"meta.tag.inline.font.html.srt"},"1":{"name":"punctuation.definition.tag.begin.html.srt"},"2":{"name":"entity.name.tag.inline.font.html.srt"},"3":{"patterns":[{"include":"text.html.basic#tag-stuff"}]},"4":{"name":"punctuation.definition.tag.end.html.srt"}},"endCaptures":{"0":{"name":"meta.tag.inline.font.html.srt"},"1":{"name":"punctuation.definition.tag.begin.html.srt"},"2":{"name":"entity.name.tag.inline.font.html.srt"},"3":{"name":"punctuation.definition.tag.end.html.srt"}}},"formatting":{"patterns":[{"include":"#bold"},{"include":"#italic"},{"include":"#underline"},{"include":"#strike"},{"include":"#font"}]},"italic":{"contentName":"markup.italic.srt","begin":"(\u003c)([Ii])(?=$|\u003e|\\s)([^\u003e]*)(\u003e)","end":"(\u003c/)([Ii])[ \\t]*(\u003e)|(?=^[ \\t]*$)","patterns":[{"include":"#text"}],"beginCaptures":{"0":{"name":"meta.tag.inline.i.html.srt"},"1":{"name":"punctuation.definition.tag.begin.html.srt"},"2":{"name":"entity.name.tag.inline.i.html.srt"},"3":{"patterns":[{"include":"text.html.basic#tag-stuff"}]},"4":{"name":"punctuation.definition.tag.end.html.srt"}},"endCaptures":{"0":{"name":"meta.tag.inline.i.html.srt"},"1":{"name":"punctuation.definition.tag.begin.html.srt"},"2":{"name":"entity.name.tag.inline.i.html"},"3":{"name":"punctuation.definition.tag.end.html.srt"}}},"linePosition":{"name":"meta.line-position.${2:/downcase}-axis.srt","match":"\\b(([XY])[0-9]+)(:)(?:([-+]?[0-9]+\\.[0-9]+)|([-+]?[0-9]+))\\b","captures":{"1":{"name":"variable.parameter.position.srt"},"3":{"name":"keyword.operator.assignment.key-value.colon.srt"},"4":{"name":"constant.numeric.float.srt"},"5":{"name":"constant.numeric.integer.srt"}}},"lyrics":{"name":"markup.quote.lyrics.srt","begin":"(♪+)[ \\t]*","end":"[ \\t]*(♪+)|(?=^-|^[ \\t]*$|\\s*\u003c/)","patterns":[{"include":"#formatting"}],"beginCaptures":{"1":{"name":"punctuation.definition.lyrics.begin.srt"}},"endCaptures":{"1":{"name":"punctuation.definition.lyrics.end.srt"}}},"main":{"patterns":[{"include":"#subtitle"}]},"speaker":{"match":"(?:^|\\G)(-[ \\t]*)?((?:[^-\u003c\u003e\\s:][^:]*(?=:[ \\t]*\\S)|[^-\u003c\u003e\\s:a-z][^:a-z]*)(:))(?=$|\\s)","captures":{"1":{"patterns":[{"include":"#dash"}]},"2":{"name":"entity.name.speaker.srt","patterns":[{"include":"#formatting"},{"include":"#action"}]},"3":{"name":"punctuation.separator.speaker.colon.srt"}}},"strike":{"contentName":"markup.strike.srt","begin":"(\u003c)([Ss])(?=$|\u003e|\\s)([^\u003e]*)(\u003e)","end":"(\u003c/)([Ss])[ \\t]*(\u003e)|(?=^[ \\t]*$)","patterns":[{"include":"#text"}],"beginCaptures":{"0":{"name":"meta.tag.inline.s.html.srt"},"1":{"name":"punctuation.definition.tag.begin.html.srt"},"2":{"name":"entity.name.tag.inline.s.html.srt"},"3":{"patterns":[{"include":"text.html.basic#tag-stuff"}]},"4":{"name":"punctuation.definition.tag.end.html.srt"}},"endCaptures":{"0":{"name":"meta.tag.inline.s.html.srt"},"1":{"name":"punctuation.definition.tag.begin.html.srt"},"2":{"name":"entity.name.tag.inline.s.html"},"3":{"name":"punctuation.definition.tag.end.html.srt"}}},"subtitle":{"name":"meta.subtitle.srt","begin":"^(?:?)(\\d+)$","end":"^[ \\t]*$","patterns":[{"begin":"\\G\\s*","end":"(?!\\G)$","patterns":[{"name":"meta.timespan.empty.srt","contentName":"comment.block.ignored.hidden-subtitle.srt","begin":"(?x) ^\n([0-9]{2}:[0-9]{2}:[0-9]{2}[,.][0-9]{3}) \\x20(--\u003e)\\x20 (\\1)\n((?:\\s*[XY][0-9]+:[-+]?[0-9]+(?:\\.[0-9]+)?)++)?\n[ \\t]* $ ","end":"(?=^[ \\t]*$)","beginCaptures":{"1":{"name":"constant.numeric.time.timecode.start.srt","patterns":[{"include":"#timecode"}]},"2":{"patterns":[{"include":"#arrow"}]},"3":{"name":"constant.numeric.time.timecode.end.srt","patterns":[{"include":"#timecode"}]},"4":{"patterns":[{"include":"#linePosition"}]}}},{"name":"meta.timespan.srt","match":"(?x) ^\n([0-9]{2}:[0-9]{2}:[0-9]{2}[,.][0-9]{3}) \\x20(--\u003e)\\x20\n([0-9]{2}:[0-9]{2}:[0-9]{2}[,.][0-9]{3})\n((?:\\s*[XY][0-9]+:[-+]?[0-9]+(?:\\.[0-9]+)?)++)?\n[ \\t]* $ ","captures":{"1":{"name":"constant.numeric.time.timecode.start.srt","patterns":[{"include":"#timecode"}]},"2":{"patterns":[{"include":"#arrow"}]},"3":{"name":"constant.numeric.time.timecode.end.srt","patterns":[{"include":"#timecode"}]},"4":{"patterns":[{"include":"#linePosition"}]}}},{"include":"#text"}]},{"include":"#text"}],"beginCaptures":{"1":{"name":"entity.name.section.srt"}}},"text":{"patterns":[{"include":"#speaker"},{"include":"#dash"},{"include":"#action"},{"include":"#lyrics"},{"include":"#formatting"},{"include":"#escapes"}]},"timecode":{"patterns":[{"name":"invalid.illegal.syntax.decimal-separator.srt","match":"\\."},{"name":"invalid.illegal.value.out-of-range.vtt","match":"(?\u003c=:)([6-9][0-9])"}]},"underline":{"contentName":"markup.underline.srt","begin":"(\u003c)([Uu])(?=$|\u003e|\\s)([^\u003e]*)(\u003e)","end":"(\u003c/)([Uu])[ \\t]*(\u003e)|(?=^[ \\t]*$)","patterns":[{"include":"#text"}],"beginCaptures":{"0":{"name":"meta.tag.inline.u.html.srt"},"1":{"name":"punctuation.definition.tag.begin.html.srt"},"2":{"name":"entity.name.tag.inline.u.html.srt"},"3":{"patterns":[{"include":"text.html.basic#tag-stuff"}]},"4":{"name":"punctuation.definition.tag.end.html.srt"}},"endCaptures":{"0":{"name":"meta.tag.inline.u.html.srt"},"1":{"name":"punctuation.definition.tag.begin.html.srt"},"2":{"name":"entity.name.tag.inline.u.html"},"3":{"name":"punctuation.definition.tag.end.html.srt"}}}}}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"name":"WebVTT","scopeName":"text.vtt","patterns":[{"name":"meta.file-body.vtt","begin":"\\A?(WEBVTT)(?=$|[ \\t])","end":"(?=A)B","patterns":[{"name":"meta.header.vtt","contentName":"comment.line.ignored.vtt","begin":"\\G","end":"^[ \\t]*$","patterns":[{"include":"#setting"}]},{"include":"#main"}],"beginCaptures":{"1":{"name":"keyword.control.start-file.vtt"}}},{"include":"#main"}],"repository":{"badArrow":{"name":"invalid.illegal.syntax.unexpected-separator.vtt","match":"\\S*?--\u003e\\S*"},"charRef":{"patterns":[{"include":"text.html.basic#character-reference"}]},"class":{"patterns":[{"name":"support.constant.colour.foreground.$2.vtt","match":"(\\.)(black|blue|cyan|lime|magenta|red|white|yellow)(?=$|[\\s\u0026\u003c\u003e.])","captures":{"1":{"name":"punctuation.definition.entity.class.vtt"}}},{"name":"support.constant.colour.background.$2.vtt","match":"(\\.)bg_(black|blue|cyan|lime|magenta|red|white|yellow)(?=$|[\\s\u0026\u003c\u003e.])","captures":{"1":{"name":"punctuation.definition.entity.class.vtt"}}},{"name":"entity.other.attribute-name.class.vtt","match":"(\\.)[^\\s\u0026\u003c\u003e.]+","captures":{"1":{"name":"punctuation.definition.entity.class.vtt"}}}]},"comment":{"name":"comment.block.vtt","begin":"^NOTE(?=$|\\s)","end":"^[ \\t]*$","beginCaptures":{"0":{"name":"storage.type.start-comment.vtt"}}},"cue":{"name":"meta.cue.block.vtt","begin":"(?x)\n(?=\n\t^\n\t(?:\\d{2,}:)?\\d{2}:\\d{2}\\.\\d{3} # Start time\n\t[ \\t]+ --\u003e [ \\t]+ # Separator\n\t(?:\\d{2,}:)?\\d{2}:\\d{2}\\.\\d{3} # End time\n\t(?:$|[ \\t])\n)\n|\n# Cue identifier\n^((?!.*?--\u003e)[^\\r\\n]+)$","end":"^[ \\t]*$","patterns":[{"include":"#cueTimings"},{"include":"#cuePayload"}],"beginCaptures":{"1":{"name":"entity.name.cue.vtt"}}},"cueComponents":{"patterns":[{"include":"#cueSpan"},{"include":"#cueTimestamp"},{"include":"#cueDash"},{"include":"#charRef"}]},"cueDash":{"name":"markup.quote.quotation-dash.vtt","match":"(?:^|\\G)([-–—―⸺⸻〜〰︱︲﹘﹣-])","captures":{"1":{"name":"punctuation.section.quote.vtt"}}},"cuePayload":{"name":"meta.cue.payload.vtt","begin":"^(?=[ \\t]*\\S)","end":"(?=^[ \\t]*$)(?!\\G)","patterns":[{"include":"#cueComponents"}]},"cueSettings":{"name":"meta.cue.settings-list.vtt","begin":"(?\u003c=[ \\t]|^)(?!$)","end":"$","patterns":[{"include":"#badArrow"},{"include":"#setting"}]},"cueSpan":{"patterns":[{"name":"meta.span.class-span.vtt","begin":"(\u003c)(c)(?=$|\\s|/?\u003e|\\.)","end":"(?=^[ \\t]*$)|((\u003c/)(c)\\s*(\u003e))|(/\u003e)","patterns":[{"include":"#cueSpanStart"},{"include":"#cueSpanBody"}],"beginCaptures":{"0":{"name":"meta.tag.opening.vtt"},"1":{"name":"punctuation.definition.tag.begin.vtt"},"2":{"name":"entity.name.tag.localname.vtt"}},"endCaptures":{"1":{"name":"meta.tag.closing.vtt"},"2":{"name":"punctuation.definition.tag.begin.vtt"},"3":{"name":"entity.name.tag.localname.vtt"},"4":{"name":"punctuation.definition.tag.end.vtt"},"5":{"name":"punctuation.definition.tag.end.self-closing.vtt"}}},{"name":"meta.span.italics-span.vtt","begin":"(\u003c)(i)(?=$|\\s|/?\u003e|\\.)","end":"(?=^[ \\t]*$)|((\u003c/)(i)\\s*(\u003e))|(/\u003e)","patterns":[{"include":"#cueSpanStart"},{"name":"markup.italic.vtt","begin":"(?\u003c=\u003e)","end":"(?=\u003c/[A-Za-z_:]|^[ \\t]*$)","patterns":[{"include":"#cueComponents"}]}],"beginCaptures":{"0":{"name":"meta.tag.opening.vtt"},"1":{"name":"punctuation.definition.tag.begin.vtt"},"2":{"name":"entity.name.tag.localname.vtt"}},"endCaptures":{"1":{"name":"meta.tag.closing.vtt"},"2":{"name":"punctuation.definition.tag.begin.vtt"},"3":{"name":"entity.name.tag.localname.vtt"},"4":{"name":"punctuation.definition.tag.end.vtt"},"5":{"name":"punctuation.definition.tag.end.self-closing.vtt"}}},{"name":"meta.span.bold-span.vtt","begin":"(\u003c)(b)(?=$|\\s|/?\u003e|\\.)","end":"(?=^[ \\t]*$)|((\u003c/)(b)\\s*(\u003e))|(/\u003e)","patterns":[{"include":"#cueSpanStart"},{"name":"markup.bold.vtt","begin":"(?\u003c=\u003e)","end":"(?=\u003c/[A-Za-z_:]|^[ \\t]*$)","patterns":[{"include":"#cueComponents"}]}],"beginCaptures":{"0":{"name":"meta.tag.opening.vtt"},"1":{"name":"punctuation.definition.tag.begin.vtt"},"2":{"name":"entity.name.tag.localname.vtt"}},"endCaptures":{"1":{"name":"meta.tag.closing.vtt"},"2":{"name":"punctuation.definition.tag.begin.vtt"},"3":{"name":"entity.name.tag.localname.vtt"},"4":{"name":"punctuation.definition.tag.end.vtt"},"5":{"name":"punctuation.definition.tag.end.self-closing.vtt"}}},{"name":"meta.span.underline-span.vtt","begin":"(\u003c)(u)(?=$|\\s|/?\u003e|\\.)","end":"(?=^[ \\t]*$)|((\u003c/)(u)\\s*(\u003e))|(/\u003e)","patterns":[{"include":"#cueSpanStart"},{"name":"markup.underline.vtt","contentName":"string.other.link.vtt","begin":"(?\u003c=\u003e)","end":"(?=\u003c/[A-Za-z_:]|^[ \\t]*$)","patterns":[{"include":"#cueComponents"}]}],"beginCaptures":{"0":{"name":"meta.tag.opening.vtt"},"1":{"name":"punctuation.definition.tag.begin.vtt"},"2":{"name":"entity.name.tag.localname.vtt"}},"endCaptures":{"1":{"name":"meta.tag.closing.vtt"},"2":{"name":"punctuation.definition.tag.begin.vtt"},"3":{"name":"entity.name.tag.localname.vtt"},"4":{"name":"punctuation.definition.tag.end.vtt"},"5":{"name":"punctuation.definition.tag.end.self-closing.vtt"}}},{"name":"meta.span.ruby-span.vtt","begin":"(\u003c)(ruby)(?=$|\\s|/?\u003e|\\.)","end":"(?=^[ \\t]*$)|((\u003c/)(ruby)\\s*(\u003e))|(/\u003e)","patterns":[{"include":"#cueSpanStart"},{"include":"#cueSpanBody"}],"beginCaptures":{"0":{"name":"meta.tag.opening.vtt"},"1":{"name":"punctuation.definition.tag.begin.vtt"},"2":{"name":"entity.name.tag.localname.vtt"}},"endCaptures":{"1":{"name":"meta.tag.closing.vtt"},"2":{"name":"punctuation.definition.tag.begin.vtt"},"3":{"name":"entity.name.tag.localname.vtt"},"4":{"name":"punctuation.definition.tag.end.vtt"},"5":{"name":"punctuation.definition.tag.end.self-closing.vtt"}}},{"name":"meta.span.ruby-text-span.vtt","begin":"(\u003c)(rt)(?=$|\\s|/?\u003e|\\.)","end":"(?=^[ \\t]*$)|((\u003c/)(rt)\\s*(\u003e))|(/\u003e)|(?=\\s*\u003c/ruby\\s*\u003e)","patterns":[{"include":"#cueSpanStart"},{"include":"#cueSpanBody"}],"beginCaptures":{"0":{"name":"meta.tag.opening.vtt"},"1":{"name":"punctuation.definition.tag.begin.vtt"},"2":{"name":"entity.name.tag.localname.vtt"}},"endCaptures":{"1":{"name":"meta.tag.closing.vtt"},"2":{"name":"punctuation.definition.tag.begin.vtt"},"3":{"name":"entity.name.tag.localname.vtt"},"4":{"name":"punctuation.definition.tag.end.vtt"},"5":{"name":"punctuation.definition.tag.end.self-closing.vtt"}}},{"name":"meta.span.voice-span.vtt","begin":"(\u003c)(v)(?=$|\\s|/?\u003e|\\.)","end":"(?=^[ \\t]*$)|((\u003c/)(v)\\s*(\u003e))|(/\u003e)","patterns":[{"name":"meta.tag.opening.vtt","begin":"\\G(?!\\s*/\u003e)((?:\\.[^\\s\u0026\u003c\u003e.]+)*\\.?)?","end":"\u003e|(?=\\s*/\u003e|^[ \\t]*$)","patterns":[{"name":"meta.annotation.vtt","contentName":"entity.name.voice.vtt","begin":"(?:[ \\t]|^|\\G)(?=\\S)(?!\u003e|\u0026)","end":"(?=$|\u003e|\u0026|^[ \\t]*$)","patterns":[{"include":"#charRef"}]}],"beginCaptures":{"1":{"patterns":[{"include":"#class"}]}},"endCaptures":{"0":{"name":"punctuation.definition.tag.end.vtt"}}},{"include":"#cueSpanBody"}],"beginCaptures":{"0":{"name":"meta.tag.opening.vtt"},"1":{"name":"punctuation.definition.tag.begin.vtt"},"2":{"name":"entity.name.tag.localname.vtt"}},"endCaptures":{"1":{"name":"meta.tag.closing.vtt"},"2":{"name":"punctuation.definition.tag.begin.vtt"},"3":{"name":"entity.name.tag.localname.vtt"},"4":{"name":"punctuation.definition.tag.end.vtt"},"5":{"name":"punctuation.definition.tag.end.self-closing.vtt"}}},{"name":"meta.span.language-span.vtt","begin":"(\u003c)(lang)(?=$|\\s|/?\u003e|\\.)","end":"(?=^[ \\t]*$)|((\u003c/)(lang)\\s*(\u003e))|(/\u003e)","patterns":[{"name":"meta.tag.opening.vtt","begin":"\\G(?!\\s*/\u003e)((?:\\.[^\\s\u0026\u003c\u003e.]+)*\\.?)?","end":"\u003e|(?=\\s*/\u003e|^[ \\t]*$)","patterns":[{"name":"meta.annotation.vtt","contentName":"constant.language.locale.bcp47.vtt","begin":"(?:[ \\t]|^|\\G)(?=\\S)(?!\u003e|\u0026)","end":"(?=$|\u003e|\u0026|^[ \\t]*$)","patterns":[{"include":"#charRef"}]}],"beginCaptures":{"1":{"patterns":[{"include":"#class"}]}},"endCaptures":{"0":{"name":"punctuation.definition.tag.end.vtt"}}},{"include":"#cueSpanBody"}],"beginCaptures":{"0":{"name":"meta.tag.opening.vtt"},"1":{"name":"punctuation.definition.tag.begin.vtt"},"2":{"name":"entity.name.tag.localname.vtt"}},"endCaptures":{"1":{"name":"meta.tag.closing.vtt"},"2":{"name":"punctuation.definition.tag.begin.vtt"},"3":{"name":"entity.name.tag.localname.vtt"},"4":{"name":"punctuation.definition.tag.end.vtt"},"5":{"name":"punctuation.definition.tag.end.self-closing.vtt"}}},{"name":"meta.span.$2-span.vtt","begin":"(\u003c)([A-Za-z_:][-\\w:]*)(?=$|\\s|/?\u003e|\\.)","end":"(?=^[ \\t]*$)|((\u003c/)(\\2)\\s*(\u003e))|(/\u003e)","patterns":[{"name":"meta.tag.opening.vtt","begin":"\\G(?!\\s*/\u003e)((?:\\.[^\\s\u0026\u003c\u003e.]+)*\\.?)?","end":"\u003e|(?=\\s*/\u003e|^[ \\t]*$)","patterns":[{"name":"meta.annotation.vtt","contentName":"string.unquoted.annotation.vtt","begin":"(?:[ \\t]|^|\\G)(?=\\S)(?!\u003e|\u0026)","end":"(?=$|\u003e|\u0026|^[ \\t]*$)","patterns":[{"include":"#charRef"}]}],"beginCaptures":{"1":{"patterns":[{"include":"#class"}]}},"endCaptures":{"0":{"name":"punctuation.definition.tag.end.vtt"}}},{"include":"#cueSpanBody"}],"beginCaptures":{"0":{"name":"meta.tag.opening.vtt"},"1":{"name":"punctuation.definition.tag.begin.vtt"},"2":{"name":"entity.name.tag.localname.vtt"}},"endCaptures":{"1":{"name":"meta.tag.closing.vtt"},"2":{"name":"punctuation.definition.tag.begin.vtt"},"3":{"name":"entity.name.tag.localname.vtt"},"4":{"name":"punctuation.definition.tag.end.vtt"},"5":{"name":"punctuation.definition.tag.end.self-closing.vtt"}}}]},"cueSpanBody":{"name":"meta.content.vtt","begin":"(?\u003c=\u003e)","end":"(?=\u003c/[A-Za-z_:]|^[ \\t]*$)","patterns":[{"include":"#cueComponents"}]},"cueSpanStart":{"name":"meta.tag.opening.vtt","contentName":"invalid.illegal.unexpected-annotation.vtt","begin":"\\G(?!\\s*/\u003e)((?:\\.[^\\s\u0026\u003c\u003e.]+)*\\.?)?","end":"\u003e|(?=\\s*/\u003e|^[ \\t]*$)","patterns":[{"include":"#charRef"}],"beginCaptures":{"1":{"patterns":[{"include":"#class"}]}},"endCaptures":{"0":{"name":"punctuation.definition.tag.end.vtt"}}},"cueTimestamp":{"name":"constant.other.cue-timestamp.vtt","match":"(\u003c)((?:\\d{2,}:)?\\d{2}:\\d{2}\\.\\d{3})(\u003e)","captures":{"1":{"name":"punctuation.definition.timestamp.begin.vtt"},"2":{"patterns":[{"include":"#timestamp"}]},"3":{"name":"punctuation.definition.timestamp.end.vtt"}}},"cueTimings":{"name":"meta.cue.timings.vtt","begin":"(?x) (?:^|\\G)\n((?:\\d{2,}:)?\\d{2}:\\d{2}\\.\\d{3}) # Start time\n[ \\t]+ (--\u003e) [ \\t]+ # Separator\n((?:\\d{2,}:)?\\d{2}:\\d{2}\\.\\d{3}) # End time\n(?=$|[ \\t]) [ \\t]* # Gap before “#cueSettings”","end":"$","patterns":[{"include":"#cueSettings"}],"beginCaptures":{"1":{"name":"meta.start-time.vtt","patterns":[{"include":"#timestamp"}]},"2":{"name":"keyword.operator.timespan.vtt"},"3":{"name":"meta.end-time.vtt","patterns":[{"include":"#timestamp"}]}}},"main":{"patterns":[{"include":"#comment"},{"include":"#region"},{"include":"#style"},{"include":"#cue"}]},"region":{"name":"meta.region-definition.block.vtt","begin":"^(REGION)[ \\t]*$","end":"^[ \\t]*$","patterns":[{"name":"meta.setting.with-value.vtt","match":"^(id)(:)(?:(.*?--\u003e.*?)|(\\S+))","captures":{"1":{"name":"variable.assignment.setting-name.vtt"},"2":{"name":"keyword.operator.assignment.key-value.colon.vtt"},"3":{"patterns":[{"include":"#badArrow"}]},"4":{"name":"entity.name.region.vtt"}}},{"include":"#setting"}],"beginCaptures":{"1":{"name":"storage.type.region.vtt"}}},"setting":{"name":"meta.setting.generic.vtt","begin":"([^\\s:]+?)(:)","end":"(?!\\G)","patterns":[{"begin":"\\G(?=[ \\t]*\\S)","end":"(?!\\G)(?=\\s|$)","patterns":[{"match":"(?\u003c=scroll:)\\G([ \\t]*)(up)(?=$|\\s)","captures":{"1":{"name":"punctuation.whitespace.inline.vtt"},"2":{"name":"constant.language.scroll-setting.vtt"}}},{"match":"(?\u003c=vertical:)\\G([ \\t]*)(rl|lr)(?=$|\\s)","captures":{"1":{"name":"punctuation.whitespace.inline.vtt"},"2":{"name":"constant.language.vertical-setting.vtt"}}},{"match":"(?\u003c=line:)\\G([ \\t]*)(start|center|end)(?=$|\\s)","captures":{"1":{"name":"punctuation.whitespace.inline.vtt"},"2":{"name":"constant.language.line-setting.vtt"}}},{"match":"(?\u003c=position:)\\G([ \\t]*)([0-9]+%,)(center|line-left|line-right)(?=$|\\s)","captures":{"1":{"name":"punctuation.whitespace.inline.vtt"},"2":{"patterns":[{"include":"#settingValue"}]},"3":{"name":"constant.language.position-setting.vtt"}}},{"match":"(?\u003c=align:)\\G([ \\t]*)(center|end|left|right|start)(?=$|\\s)","captures":{"1":{"name":"punctuation.whitespace.inline.vtt"},"2":{"patterns":[{"include":"#settingValue"}]},"3":{"name":"constant.language.align-setting.vtt"}}},{"include":"#settingValue"}]}],"beginCaptures":{"1":{"name":"variable.assignment.setting-name.vtt"},"2":{"name":"keyword.operator.assignment.key-value.colon.vtt"}}},"settingValue":{"patterns":[{"name":"constant.numeric.percentage.vtt","match":"[0-9]+(?:\\.[0-9]+)?(%)","captures":{"1":{"name":"punctuation.definition.percentage.vtt"}}},{"name":"constant.numeric.integer.int.vtt","match":"[0-9]+\\b(?!%|\\.[0-9])"},{"name":"constant.language.auto.vtt","match":"\\bauto\\b(?=$|\\s|,)"},{"name":"punctuation.separator.delimiter.comma.vtt","match":","},{"include":"#badArrow"},{"name":"constant.other.setting-value.vtt","match":".+"}]},"style":{"name":"meta.style.block.vtt","contentName":"source.embedded.css","begin":"^(STYLE)[ \\t]*$","end":"^[ \\t]*$","patterns":[{"include":"source.css"}],"beginCaptures":{"1":{"name":"storage.type.style.vtt"}}},"timestamp":{"name":"meta.timestamp.vtt","match":"(?x)\n(?:(\\d{2,})(:))? # Hours (≥ 00)\n(?:([0-5]\\d)|(\\d{2}))(:) # Minutes (00-59)\n(?:([0-5]\\d)|(\\d{2}))(\\.) # Seconds (00-59)\n(\\d{3}) # Milliseconds (000-999)","captures":{"1":{"name":"constant.numeric.timestamp.unit.hour.vtt"},"2":{"patterns":[{"include":"#timestampColon"}]},"3":{"name":"constant.numeric.timestamp.unit.minute.vtt"},"4":{"name":"invalid.illegal.value.out-of-range.vtt"},"5":{"patterns":[{"include":"#timestampColon"}]},"6":{"name":"constant.numeric.timestamp.unit.second.vtt"},"7":{"name":"invalid.illegal.value.out-of-range.vtt"},"8":{"patterns":[{"include":"#timestampDecimal"}]},"9":{"name":"constant.numeric.timestamp.unit.millisecond.vtt"}}},"timestampColon":{"name":"meta.separator.colon.vtt","match":":","captures":{"0":{"name":"punctuation.separator.delimiter.vtt"}}},"timestampDecimal":{"name":"meta.separator.decimal.fraction.radix-point.vtt","match":"\\.","captures":{"0":{"name":"punctuation.separator.decimal.vtt"}}}}}
|
data/grammars/version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
7.
|
1
|
+
7.21.0
|
data/lib/linguist/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
7.
|
1
|
+
7.21.0
|
data/lib/linguist/generated.rb
CHANGED
@@ -80,6 +80,7 @@ module Linguist
|
|
80
80
|
compiled_cython_file? ||
|
81
81
|
pipenv_lock? ||
|
82
82
|
generated_go? ||
|
83
|
+
generated_protocol_buffer_from_go? ||
|
83
84
|
generated_protocol_buffer? ||
|
84
85
|
generated_javascript_protocol_buffer? ||
|
85
86
|
generated_apache_thrift? ||
|
@@ -321,6 +322,17 @@ module Linguist
|
|
321
322
|
return lines.first(40).any? { |l| l.include? "Code generated by" }
|
322
323
|
end
|
323
324
|
|
325
|
+
# Internal: Is the blob a protocol buffer file generated by the
|
326
|
+
# go-to-protobuf tool?
|
327
|
+
#
|
328
|
+
# Returns true or false
|
329
|
+
def generated_protocol_buffer_from_go?
|
330
|
+
return false unless extname == '.proto'
|
331
|
+
return false unless lines.count > 1
|
332
|
+
|
333
|
+
return lines.first(20).any? { |l| l.include? "This file was autogenerated by go-to-protobuf" }
|
334
|
+
end
|
335
|
+
|
324
336
|
PROTOBUF_EXTENSIONS = ['.py', '.java', '.h', '.cc', '.cpp', '.m', '.rb', '.php']
|
325
337
|
|
326
338
|
# Internal: Is the blob a C++, Java or Python source file generated by the
|
@@ -413,7 +425,7 @@ module Linguist
|
|
413
425
|
#
|
414
426
|
# Returns true or false.
|
415
427
|
def generated_yarn_plugnplay?
|
416
|
-
!!name.match(/(^|\/)\.pnp
|
428
|
+
!!name.match(/(^|\/)\.pnp\..*$/)
|
417
429
|
end
|
418
430
|
|
419
431
|
# Internal: Is the blob part of Godeps/,
|
data/lib/linguist/generic.yml
CHANGED
data/lib/linguist/heuristics.yml
CHANGED
@@ -94,10 +94,22 @@ disambiguations:
|
|
94
94
|
pattern: '(<^\s*; |End Function)'
|
95
95
|
- language: BitBake
|
96
96
|
pattern: '^\s*(# |include|require)\b'
|
97
|
+
- language: Clojure
|
98
|
+
pattern: '\((def|defn|defmacro|let)\s'
|
97
99
|
- extensions: ['.bi']
|
98
100
|
rules:
|
99
101
|
- language: FreeBasic
|
100
102
|
pattern: '^[ \t]*#(?:define|endif|endmacro|ifn?def|if|include|lang|macro)\s'
|
103
|
+
- extensions: ['.bs']
|
104
|
+
rules:
|
105
|
+
- language: Bikeshed
|
106
|
+
pattern: '^(?i:<pre\s+class)\s*=\s*(''|\"|\b)metadata\b\1[^>\r\n]*>'
|
107
|
+
- language: BrighterScript
|
108
|
+
pattern:
|
109
|
+
- (?i:^\s*(?=^sub\s)(?:sub\s*\w+\(.*?\))|(?::\s*sub\(.*?\))$)
|
110
|
+
- (?i:^\s*(end\ssub)$)
|
111
|
+
- (?i:^\s*(?=^function\s)(?:function\s*\w+\(.*?\)\s*as\s*\w*)|(?::\s*function\(.*?\)\s*as\s*\w*)$)
|
112
|
+
- (?i:^\s*(end\sfunction)$)
|
101
113
|
- extensions: ['.builds']
|
102
114
|
rules:
|
103
115
|
- language: XML
|
@@ -130,6 +142,10 @@ disambiguations:
|
|
130
142
|
pattern: '![\w\s]+methodsFor: '
|
131
143
|
- language: 'C#'
|
132
144
|
pattern: '^(\s*namespace\s*[\w\.]+\s*{|\s*\/\/)'
|
145
|
+
- extensions: ['.csc']
|
146
|
+
rules:
|
147
|
+
- language: GSC
|
148
|
+
named_pattern: gsc
|
133
149
|
- extensions: ['.csl']
|
134
150
|
rules:
|
135
151
|
- language: XML
|
@@ -157,6 +173,20 @@ disambiguations:
|
|
157
173
|
pattern: '# Microsoft Developer Studio Generated Build File'
|
158
174
|
- language: Faust
|
159
175
|
pattern: '\bprocess\s*[(=]|\b(library|import)\s*\(\s*"|\bdeclare\s+(name|version|author|copyright|license)\s+"'
|
176
|
+
- extensions: ['.e']
|
177
|
+
rules:
|
178
|
+
- language: E
|
179
|
+
pattern:
|
180
|
+
- '^\s*(def|var)\s+(.+):='
|
181
|
+
- '^\s*(def|to)\s+(\w+)(\(.+\))?\s+{'
|
182
|
+
- '^\s*(when)\s+(\(.+\))\s+->\s+{'
|
183
|
+
- language: Eiffel
|
184
|
+
pattern:
|
185
|
+
- '^\s*\w+\s*(?:,\s*\w+)*[:]\s*\w+\s'
|
186
|
+
- '^\s*\w+\s*(?:\(\s*\w+[:][^)]+\))?(?:[:]\s*\w+)?(?:--.+\s+)*\s+(?:do|local)\s'
|
187
|
+
- '^\s*(?:across|deferred|elseif|ensure|feature|from|inherit|inspect|invariant|note|once|require|undefine|variant|when)\s*$'
|
188
|
+
- language: Euphoria
|
189
|
+
named_pattern: euphoria
|
160
190
|
- extensions: ['.ecl']
|
161
191
|
rules:
|
162
192
|
- language: ECLiPSe
|
@@ -169,6 +199,15 @@ disambiguations:
|
|
169
199
|
pattern: '^\s*(?:%%|main\s*\(.*?\)\s*->)'
|
170
200
|
- language: JavaScript
|
171
201
|
pattern: '(?m:\/\/|("|'')use strict\1|export\s+default\s|\/\*.*?\*\/)'
|
202
|
+
- extensions: ['.ex']
|
203
|
+
rules:
|
204
|
+
- language: Elixir
|
205
|
+
pattern:
|
206
|
+
- '^\s*@moduledoc\s'
|
207
|
+
- '^\s*(?:cond|import|quote|unless)\s'
|
208
|
+
- '^\s*def(?:exception|impl|macro|module|protocol)[(\s]'
|
209
|
+
- language: Euphoria
|
210
|
+
named_pattern: euphoria
|
172
211
|
- extensions: ['.f']
|
173
212
|
rules:
|
174
213
|
- language: Forth
|
@@ -229,6 +268,14 @@ disambiguations:
|
|
229
268
|
pattern: '^uses (java|gw)\.'
|
230
269
|
- language: Genie
|
231
270
|
pattern: '^\[indent=[0-9]+\]'
|
271
|
+
- extensions: ['.gsc']
|
272
|
+
rules:
|
273
|
+
- language: GSC
|
274
|
+
named_pattern: gsc
|
275
|
+
- extensions: ['.gsh']
|
276
|
+
rules:
|
277
|
+
- language: GSC
|
278
|
+
named_pattern: gsc
|
232
279
|
- extensions: ['.h']
|
233
280
|
rules:
|
234
281
|
- language: Objective-C
|
@@ -323,8 +370,16 @@ disambiguations:
|
|
323
370
|
- language: 'M4'
|
324
371
|
- extensions: ['.mask']
|
325
372
|
rules:
|
326
|
-
- language:
|
373
|
+
- language: Unity3D Asset
|
327
374
|
pattern: 'tag:unity3d.com'
|
375
|
+
- extensions: ['.mc']
|
376
|
+
rules:
|
377
|
+
- language: Win32 Message File
|
378
|
+
pattern: '(?i)^[ \t]*(?>\/\*\s*)?MessageId=|^\.$'
|
379
|
+
- language: M4
|
380
|
+
pattern: '^dnl|^divert\((?:-?\d+)?\)|^\w+\(`[^\n]*?''[),]'
|
381
|
+
- language: Monkey C
|
382
|
+
pattern: '\b(?:using|module|function|class|var)\s+\w'
|
328
383
|
- extensions: ['.md']
|
329
384
|
rules:
|
330
385
|
- language: Markdown
|
@@ -549,6 +604,15 @@ disambiguations:
|
|
549
604
|
pattern: '\$\w+[($]|(.)!\s*.+?\s*!\1|<!\s*.+?\s*!>|\[!\s*.+?\s*!\]|\{!\s*.+?\s*!\}'
|
550
605
|
- language: Smalltalk
|
551
606
|
pattern: '\A\s*[\[{(^"''\w#]|[a-zA-Z_]\w*\s*:=\s*[a-zA-Z_]\w*|class\s*>>\s*[a-zA-Z_]\w*|^[a-zA-Z_]\w*\s+[a-zA-Z_]\w*:|^Class\s*{|if(?:True|False):\s*\['
|
607
|
+
- extensions: ['.star']
|
608
|
+
rules:
|
609
|
+
- language: STAR
|
610
|
+
pattern: '^loop_\s*$'
|
611
|
+
- language: Starlark
|
612
|
+
- extensions: ['.stl']
|
613
|
+
rules:
|
614
|
+
- language: STL
|
615
|
+
pattern: '\A\s*solid(?=$|\s)(?m:.*?)\Rendsolid(?:$|\s)'
|
552
616
|
- extensions: ['.t']
|
553
617
|
rules:
|
554
618
|
- language: Perl
|
@@ -589,6 +653,10 @@ disambiguations:
|
|
589
653
|
# HACK: This is a contrived use of heuristics needed to address
|
590
654
|
# an unusual edge-case. See https://git.io/JULye for discussion.
|
591
655
|
- language: Text
|
656
|
+
- extensions: ['.url']
|
657
|
+
rules:
|
658
|
+
- language: INI
|
659
|
+
pattern: '^\[InternetShortcut\]\R(?>[^\s\[][^\n]*\R)*URL='
|
592
660
|
- extensions: ['.v']
|
593
661
|
rules:
|
594
662
|
- language: Coq
|
@@ -618,6 +686,12 @@ disambiguations:
|
|
618
686
|
pattern: '^%(end|ctor|hook|group)\b'
|
619
687
|
- language: Linker Script
|
620
688
|
pattern: 'OUTPUT_ARCH\(|OUTPUT_FORMAT\(|SECTIONS'
|
689
|
+
- extensions: ['.yaml']
|
690
|
+
rules:
|
691
|
+
- language: MiniYAML
|
692
|
+
pattern: '^\t+.*?[^\s:].*?:'
|
693
|
+
negative_pattern: '---'
|
694
|
+
- language: YAML
|
621
695
|
- extensions: ['.yy']
|
622
696
|
rules:
|
623
697
|
- language: JSON
|
@@ -632,7 +706,16 @@ named_patterns:
|
|
632
706
|
- '^[ \t]*(class|(using[ \t]+)?namespace)\s+\w+'
|
633
707
|
- '^[ \t]*(private|public|protected):$'
|
634
708
|
- 'std::\w+'
|
709
|
+
euphoria:
|
710
|
+
- '^\s*namespace\s'
|
711
|
+
- '^\s*(?:public\s+)?include\s'
|
712
|
+
- '^\s*(?:(?:public|export|global)\s+)?(?:atom|constant|enum|function|integer|object|procedure|sequence|type)\s'
|
635
713
|
fortran: '^(?i:[c*][^abd-z]| (subroutine|program|end|data)\s|\s*!)'
|
714
|
+
gsc:
|
715
|
+
- '^\s*#\s*(?:using|insert|include|define|namespace)[ \t]+\w'
|
716
|
+
- '^\s*(?>(?:autoexec|private)\s+){0,2}function\s+(?>(?:autoexec|private)\s+){0,2}\w+\s*\('
|
717
|
+
- '\b(?:level|self)[ \t]+thread[ \t]+(?:\[\[[ \t]*(?>\w+\.)*\w+[ \t]*\]\]|\w+)[ \t]*\([^\r\n\)]*\)[ \t]*;'
|
718
|
+
- '^[ \t]*#[ \t]*(?:precache|using_animtree)[ \t]*\('
|
636
719
|
key_equals_value: '^[^#!;][^=]*='
|
637
720
|
m68k:
|
638
721
|
- '(?im)\bmoveq(?:\.l)?\s+#(?:\$-?[0-9a-f]{1,3}|%[0-1]{1,8}|-?[0-9]{1,3}),\s*d[0-7]\b'
|