github-linguist 7.28.0 → 7.29.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/grammars/etc.json +1 -1
- data/grammars/inline.edgeql.json +1 -1
- data/grammars/inline.graphql.json +1 -1
- data/grammars/inline.graphql.markdown.codeblock.json +1 -0
- data/grammars/inline.graphql.rb.json +1 -0
- data/grammars/inline.hbs.json +1 -1
- data/grammars/markdown.commonlisp.codeblock.json +1 -0
- data/grammars/markdown.glimmer.codeblock.json +1 -0
- data/grammars/markdown.move.codeblock.json +1 -1
- data/grammars/source.8xp.json +1 -0
- data/grammars/source.abl.json +1 -1
- data/grammars/source.amxxpawn.json +1 -0
- data/grammars/source.astro.json +1 -1
- data/grammars/source.bb.json +1 -0
- data/grammars/source.bh.json +1 -0
- data/grammars/source.brs.json +1 -1
- data/grammars/source.cobol.json +1 -1
- data/grammars/source.commonlisp.json +1 -0
- data/grammars/source.cs.json +1 -1
- data/grammars/source.csound.json +1 -1
- data/grammars/source.dart.json +1 -1
- data/grammars/source.did.json +1 -1
- data/grammars/source.elvish-transcript.json +1 -1
- data/grammars/source.fsharp.json +1 -1
- data/grammars/source.gdscript.json +1 -1
- data/grammars/source.gjs.json +1 -1
- data/grammars/source.gts.json +1 -1
- data/grammars/source.hcl.json +1 -1
- data/grammars/source.hcl.terraform.json +1 -1
- data/grammars/source.ice.json +1 -1
- data/grammars/source.julia.json +1 -1
- data/grammars/source.lean4.json +1 -1
- data/grammars/source.lua.json +1 -1
- data/grammars/source.matlab.json +1 -1
- data/grammars/source.mdx.json +1 -1
- data/grammars/source.mojo.json +1 -0
- data/grammars/source.nasal.json +1 -1
- data/grammars/source.nushell.json +1 -1
- data/grammars/source.p4.json +1 -1
- data/grammars/source.pip-requirements.json +1 -0
- data/grammars/source.praat.json +1 -1
- data/grammars/source.rascal.json +1 -1
- data/grammars/source.rescript.json +1 -1
- data/grammars/source.roc.json +1 -0
- data/grammars/source.rust.json +1 -1
- data/grammars/source.scala.json +1 -1
- data/grammars/source.slice.json +1 -1
- data/grammars/source.slint.json +1 -0
- data/grammars/source.sourcepawn.json +1 -1
- data/grammars/source.swift.json +1 -1
- data/grammars/source.toit.json +1 -1
- data/grammars/source.ts.json +1 -1
- data/grammars/source.tsx.json +1 -1
- data/grammars/source.vba.json +1 -1
- data/grammars/sp-jsdoc.injection.json +1 -0
- data/grammars/text.html.edge.json +1 -0
- data/grammars/text.html.ember-handlebars.json +1 -1
- data/grammars/text.md.json +1 -1
- data/grammars/text.srt.json +1 -1
- data/grammars/text.valve-cfg.json +1 -0
- data/grammars/text.valve-kv.json +1 -0
- data/grammars/version +1 -1
- data/lib/linguist/VERSION +1 -1
- data/lib/linguist/generated.rb +23 -1
- data/lib/linguist/heuristics.yml +17 -2
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +90 -8
- data/lib/linguist/samples.json +1 -1
- metadata +20 -4
- data/grammars/markdown.graphql.codeblock.json +0 -1
data/grammars/source.vba.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"Visual Basic for Applications","scopeName":"source.vba","patterns":[{"include":"#comments"},{"include":"#
|
1
|
+
{"name":"Visual Basic for Applications","scopeName":"source.vba","patterns":[{"include":"#comments"},{"include":"#functions"},{"include":"#keywords"},{"include":"#metadata"},{"include":"#numbers"},{"include":"#storage"},{"include":"#strings"},{"include":"#types"},{"name":"constant.other.vba","match":"_(?=\\s*\\n)"}],"repository":{"comments":{"begin":"(?=')|(?:^(?:(\\d*)\\s*|[a-zA-Z][a-zA-Z0-9]{0,254}:\\s*)|:\\s*)(?=(?i:Rem ))","end":"(?\u003c!\\s_)$\\n","patterns":[{"name":"comment.line.quote","match":"\\'.*"},{"name":"comment.line.rem","match":"Rem .*"},{"name":"comment.line.continuation","match":"^.*"}],"beginCaptures":{"1":{"name":"constant.numeric.decimal"}}},"functions":{"name":"entity.name.function.vba"},"keywords":{"patterns":[{"name":"keyword.conditional.vba","match":"(?i:\\b(Do( While| Until)?|While|Case( Else)?|Else(If)?|For( Each)?|(I)?If|In|New|(Select )?Case|Then|To|Step|With)\\b)"},{"name":"keyword.conditional.end.vba","match":"(?i:\\b(End( )?If|End (Select|With)|Next|Wend|Loop( While| Until)?|Exit (For|Do|While))\\b)"},{"name":"keyword.control.vba","match":"(?i:\\b(Exit (Function|Property|Sub)|As|And|By(Ref|Val)|Goto|Is|Like|Mod|Not|On Error|Optional|Or|Resume Next|Stop|Xor|Eqv|Imp|TypeOf|AddressOf)\\b|(\\b(End)\\b(?=\\n)))"},{"name":"keyword.io.vba","match":"(?i:\\b(Open|Close|Line Input|Lock|Unlock|Print|Seek|Get|Put|Write)\\b)"},{"name":"keyword.io.vba","match":"(?i:\\b(Input)(?= \\#))"},{"name":"keyword.other.vba","match":"(?i:\\b(Attribute|Call|End (Function|Property|Sub|Type|Enum)|(Const|Function|Property|Sub|Type|Enum)|Declare|PtrSafe|WithEvents|Event|RaiseEvent|Implements)\\b)"},{"name":"keyword.other.option.vba","match":"(?i)\\bOption (Base [01]|Compare (Binary|Text)|Explicit|Private Module)\\b"},{"name":"keyword.other.visibility.vba","match":"(?i:\\b(Private|Public|Friend)\\b)"},{"name":"constant.language.vba","match":"(?i)\\b(Empty|False|Nothing|Null|True)\\b"}]},"metadata":{"name":"metadata.vba","begin":"(?i)^\\s*(BEGIN)\\b","end":"(?i)^\\s*(END)\\b","patterns":[{"include":"source.vba"}],"beginCaptures":{"1":{"name":"keyword.metadata.vba"}},"endCaptures":{"0":{"name":"keyword.metadata.vba"}}},"numbers":{"patterns":[{"name":"constant.numeric.date","match":"(?i)\\#((Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)|[0-9]{1,2})(-|\\/)[0-9]{1,2}((-|\\/)[0-9]{1,4})?\\#"},{"name":"constant.numeric.decimal","match":"(?\u003c!\\w)-?\\d+(\\.\\d+)?"},{"name":"constant.numeric.octal","match":"(?i)-?\u0026O[0-7]+"},{"name":"constant.numeric.hexadecimal","match":"(?i)-?\u0026H[0-9A-F]+"}]},"storage":{"patterns":[{"name":"storage.modifier.vba","match":"(?i)\\b(Class|Const|Dim|(G|L|S)et|ReDim( Preserve)?|Erase|Static)\\b"}]},"strings":{"patterns":[{"name":"string.quoted.double","match":"\\\"[^\\n\\r\\\"]*\""}]},"types":{"patterns":[{"name":"support.type.builtin.vba","match":"(?i)\\b(Any|Byte|Boolean|Currency|Collection|Date|Double|Integer|Long(Long|Ptr)?|Object|Single|String|Variant)\\b"},{"match":"(?i)(?\u003c= As )([a-zA-Z][a-zA-Z0-9_]*)","captures":{"1":{"name":"support.type"}}}]}}}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"scopeName":"sp-jsdoc.injection","patterns":[{"include":"#spdoc-keyword"}],"repository":{"spdoc-keyword":{"patterns":[{"match":"(@param)\\s+([\\w\\.]+)","captures":{"1":{"name":"storage.type.class.spdoc"},"2":{"name":"support.variable.spdoc"}}},{"name":"keyword.control.spdoc","match":"@return|@noreturn"},{"name":"string.regexp.spdoc","match":"@error"},{"name":"support.function.spdoc","match":"@(note|deprecated)"}]}}}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"name":"Edge","scopeName":"text.html.edge","patterns":[{"include":"text.html.basic"},{}],"repository":{"comment":{"name":"comment.block","begin":"\\{{--","end":"\\--}}","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.edge"}},"endCaptures":{"0":{"name":"punctuation.definition.comment.end.edge"}}},"escapedMustache":{"name":"comment.block","begin":"\\@{{","end":"\\}}","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.edge"}},"endCaptures":{"0":{"name":"punctuation.definition.comment.end.edge"}}},"mustache":{"name":"meta.embedded.block.javascript","begin":"\\{{","end":"\\}}","patterns":[{"include":"source.ts#expression"}],"beginCaptures":{"0":{"name":"punctuation.mustache.begin"}},"endCaptures":{"0":{"name":"punctuation.mustache.end"}}},"nonSeekableTag":{"name":"meta.embedded.block.javascript","match":"^(\\s*)((@{1,2})(!)?([a-zA-Z._]+))(~)?$","patterns":[{"include":"source.ts#expression"}],"captures":{"2":{"name":"support.function.edge"}}},"safeMustache":{"name":"meta.embedded.block.javascript","begin":"\\{{{","end":"\\}}}","patterns":[{"include":"source.ts#expression"}],"beginCaptures":{"0":{"name":"punctuation.mustache.begin"}},"endCaptures":{"0":{"name":"punctuation.mustache.end"}}},"tag":{"name":"meta.embedded.block.javascript","begin":"^(\\s*)((@{1,2})(!)?([a-zA-Z._]+)(\\s{0,2}))(\\()","end":"\\)","patterns":[{"include":"source.ts#expression"}],"beginCaptures":{"2":{"name":"support.function.edge"},"7":{"name":"punctuation.paren.open"}},"endCaptures":{"0":{"name":"punctuation.paren.close"}}}},"injections":{"text.html.edge - (meta.embedded | meta.tag | comment.block.edge), L:(text.html.edge meta.tag - (comment.block.edge | meta.embedded.block.edge)), L:(source.ts.embedded.html - (comment.block.edge | meta.embedded.block.edge))":{"patterns":[{"include":"#comment"},{"include":"#escapedMustache"},{"include":"#safeMustache"},{"include":"#mustache"},{"include":"#nonSeekableTag"},{"include":"#tag"}]}}}
|
@@ -1 +1 @@
|
|
1
|
-
{"name":"Glimmer","scopeName":"text.html.ember-handlebars","patterns":[{"include":"#style"},{"include":"#script"},{"include":"#glimmer-else-block"},{"include":"#glimmer-bools"},{"include":"#glimmer-special-block"},{"include":"#glimmer-unescaped-expression"},{"include":"#glimmer-comment-block"},{"include":"#glimmer-comment-inline"},{"include":"#glimmer-expression-property"},{"include":"#glimmer-control-expression"},{"include":"#glimmer-expression"},{"include":"#glimmer-block"},{"include":"#html-tag"},{"include":"#component-tag"},{"include":"#html-comment"},{"include":"#entities"}],"repository":{"as-keyword":{"name":"keyword.control","match":"\\s\\b(as)\\b(?=\\s\\|)"},"as-params":{"name":"keyword.block-params.ember-handlebars","begin":"(?\u003c!\\|)(\\|)","end":"(\\|)(?!\\|)","patterns":[{"include":"#variable"}],"beginCaptures":{"1":{"name":"constant.other.symbol.begin.ember-handlebars"}},"endCaptures":{"1":{"name":"constant.other.symbol.end.ember-handlebars"}}},"attention":{"name":"storage.type.class.${1:/downcase}","match":"@?(TODO|FIXME|CHANGED|XXX|IDEA|HACK|NOTE|REVIEW|NB|BUG|QUESTION|TEMP)\\b"},"boolean":{"match":"true|false|undefined|null","captures":{"0":{"name":"string.regexp"},"1":{"name":"string.regexp"},"2":{"name":"string.regexp"}}},"component-tag":{"name":"meta.tag.any.ember-handlebars","begin":"(\u003c\\/?)(@|this.)?([a-zA-Z0-9-\\$:\\.]+)\\b","end":"(\\/?)(\u003e)","patterns":[{"include":"#tag-like-content"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag"},"2":{"name":"support.function","patterns":[{"name":"variable.language","match":"(@|this)"},{"name":"punctuation.definition.tag","match":"(\\.)+"}]},"3":{"name":"entity.name.type","patterns":[{"include":"#glimmer-component-path"},{"name":"markup.bold","match":"(@|:|\\$)"}]}},"endCaptures":{"1":{"name":"punctuation.definition.tag"},"2":{"name":"punctuation.definition.tag"}}},"digit":{"match":"\\d*(\\.)?\\d+","captures":{"0":{"name":"constant.numeric"},"1":{"name":"constant.numeric"},"2":{"name":"constant.numeric"}}},"entities":{"patterns":[{"name":"constant.character.entity.html.ember-handlebars","match":"(\u0026)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)","captures":{"1":{"name":"punctuation.definition.entity.html.ember-handlebars"},"3":{"name":"punctuation.definition.entity.html.ember-handlebars"}}},{"name":"invalid.illegal.bad-ampersand.html.ember-handlebars","match":"\u0026"}]},"glimmer-argument":{"match":"\\s(@[a-zA-Z0-9:_.-]+)(=)?","captures":{"1":{"name":"entity.other.attribute-name.ember-handlebars.argument","patterns":[{"name":"markup.italic","match":"(@)"}]},"2":{"name":"punctuation.separator.key-value.html.ember-handlebars"}}},"glimmer-as-stuff":{"patterns":[{"include":"#as-keyword"},{"include":"#as-params"}]},"glimmer-block":{"name":"entity.expression.ember-handlebars","begin":"({{~?)(#|/)(([@\\$a-zA-Z0-9_/.-]+))","end":"(~?}})","patterns":[{"include":"#glimmer-as-stuff"},{"include":"#glimmer-supexp-content"}],"captures":{"1":{"name":"punctuation.definition.tag"},"2":{"name":"punctuation.definition.tag"},"3":{"name":"keyword.control","patterns":[{"include":"#glimmer-component-path"},{"name":"punctuation.definition.tag","match":"(\\/)+"},{"name":"punctuation.definition.tag","match":"(\\.)+"}]}}},"glimmer-bools":{"name":"entity.expression.ember-handlebars","match":"({{~?)(true|false|null|undefined|\\d*(\\.)?\\d+)(~?}})","captures":{"0":{"name":"keyword.operator"},"1":{"name":"keyword.operator"},"2":{"name":"string.regexp"},"3":{"name":"string.regexp"},"4":{"name":"keyword.operator"}}},"glimmer-comment-block":{"name":"comment.block.glimmer","begin":"{{!--","end":"--}}","patterns":[{"include":"#script"},{"include":"#attention"}],"captures":{"0":{"name":"punctuation.definition.block.comment.glimmer"}}},"glimmer-comment-inline":{"name":"comment.inline.glimmer","begin":"{{!","end":"}}","patterns":[{"include":"#script"},{"include":"#attention"}],"captures":{"0":{"name":"punctuation.definition.block.comment.glimmer"}}},"glimmer-component-path":{"match":"(::|\\$|\\.)","captures":{"1":{"name":"punctuation.definition.tag"}}},"glimmer-control-expression":{"name":"entity.expression.ember-handlebars","begin":"({{~?)(([-a-z/]+)\\s)","end":"(~?}})","patterns":[{"include":"#glimmer-supexp-content"}],"captures":{"1":{"name":"keyword.operator"},"2":{"name":"keyword.operator"},"3":{"name":"keyword.control"}}},"glimmer-else-block":{"name":"entity.expression.ember-handlebars","match":"({{~?)(else\\s[a-z]+\\s|else)([()@a-zA-Z0-9\\.\\s\\b]+)?(~?}})","captures":{"0":{"name":"punctuation.definition.tag"},"1":{"name":"punctuation.definition.tag"},"2":{"name":"keyword.control"},"3":{"name":"keyword.control","patterns":[{"include":"#glimmer-subexp"},{"include":"#string-single-quoted-handlebars"},{"include":"#string-double-quoted-handlebars"},{"include":"#boolean"},{"include":"#digit"},{"include":"#param"},{"include":"#glimmer-parameter-name"},{"include":"#glimmer-parameter-value"}]},"4":{"name":"punctuation.definition.tag"}}},"glimmer-expression":{"name":"entity.expression.ember-handlebars","begin":"({{~?)(([()\\s@a-zA-Z0-9_.-]+))","end":"(~?}})","patterns":[{"include":"#glimmer-supexp-content"}],"captures":{"1":{"name":"keyword.operator"},"2":{"name":"keyword.operator"},"3":{"name":"support.function","patterns":[{"name":"string.regexp","match":"[(]+"},{"name":"string.regexp","match":"[)]+"},{"name":"punctuation.definition.tag","match":"(\\.)+"},{"include":"#glimmer-supexp-content"}]}}},"glimmer-expression-property":{"name":"entity.expression.ember-handlebars","begin":"({{~?)((@|this.)([a-zA-Z0-9_.-]+))","end":"(~?}})","patterns":[{"include":"#glimmer-supexp-content"}],"captures":{"1":{"name":"keyword.operator"},"2":{"name":"keyword.operator"},"3":{"name":"support.function","patterns":[{"name":"variable.language","match":"(@|this)"},{"name":"punctuation.definition.tag","match":"(\\.)+"}]},"4":{"name":"support.function","patterns":[{"name":"punctuation.definition.tag","match":"(\\.)+"}]}}},"glimmer-parameter-name":{"match":"\\b([a-zA-Z0-9_-]+)(\\s?=)","captures":{"1":{"name":"variable.parameter.name.ember-handlebars"},"2":{"name":"punctuation.definition.expression.ember-handlebars"}}},"glimmer-parameter-value":{"match":"\\b([a-zA-Z0-9:_.-]+)\\b(?!=)","captures":{"1":{"name":"support.function","patterns":[{"name":"punctuation.definition.tag","match":"(\\.)+"}]}}},"glimmer-special-block":{"name":"entity.expression.ember-handlebars","match":"({{~?)(yield|outlet)(~?}})","captures":{"0":{"name":"keyword.operator"},"1":{"name":"keyword.operator"},"2":{"name":"keyword.control"},"3":{"name":"keyword.operator"}}},"glimmer-subexp":{"name":"entity.subexpression.ember-handlebars","begin":"(\\()([@a-zA-Z0-9.-]+)","end":"(\\))","patterns":[{"include":"#glimmer-supexp-content"}],"captures":{"1":{"name":"keyword.other"},"2":{"name":"keyword.control"}}},"glimmer-supexp-content":{"patterns":[{"include":"#glimmer-subexp"},{"include":"#string-single-quoted-handlebars"},{"include":"#string-double-quoted-handlebars"},{"include":"#boolean"},{"include":"#digit"},{"include":"#param"},{"include":"#glimmer-parameter-name"},{"include":"#glimmer-parameter-value"}]},"glimmer-unescaped-expression":{"name":"entity.unescaped.expression.ember-handlebars","begin":"{{{","end":"}}}","patterns":[{"include":"#string-single-quoted-handlebars"},{"include":"#string-double-quoted-handlebars"},{"include":"#glimmer-subexp"},{"include":"#param"}],"captures":{"0":{"name":"keyword.operator"}}},"html-attribute":{"match":"\\s([a-zA-Z0-9:_.-]+)(=)?","captures":{"1":{"name":"entity.other.attribute-name.ember-handlebars","patterns":[{"name":"markup.bold","match":"(\\.\\.\\.attributes)"}]},"2":{"name":"punctuation.separator.key-value.html.ember-handlebars"}}},"html-comment":{"name":"comment.block.html.ember-handlebars","begin":"\u003c!--","end":"--\\s*\u003e","patterns":[{"include":"#attention"},{"name":"invalid.illegal.bad-comments-or-CDATA.html.ember-handlebars","match":"--"}],"captures":{"0":{"name":"punctuation.definition.comment.html.ember-handlebars"}}},"html-tag":{"name":"meta.tag.any.ember-handlebars","begin":"(\u003c\\/?)([a-z0-9-]+)(?!\\.|:)\\b","end":"(\\/?)(\u003e)","patterns":[{"include":"#tag-like-content"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag"},"2":{"name":"entity.name.tag.html.ember-handlebars"}},"endCaptures":{"1":{"name":"punctuation.definition.tag"},"2":{"name":"punctuation.definition.tag"}}},"param":{"match":"(@|this.)([a-zA-Z0-9_.-]+)","captures":{"0":{"name":"support.function","patterns":[{"name":"variable.language","match":"(@|this)"},{"name":"punctuation.definition.tag","match":"(\\.)+"}]},"1":{"name":"support.function","patterns":[{"name":"punctuation.definition.tag","match":"(\\.)+"}]}}},"script":{"begin":"(^[ \\t]+)?(?=\u003c(?i:script)\\b(?!-))","end":"(?!\\G)([ \\t]*$\\n?)?","patterns":[{"name":"meta.embedded.block.html","begin":"(\u003c)((?i:script))\\b","end":"(/)((?i:script))(\u003e)","patterns":[{"begin":"\\G","end":"(?=/)","patterns":[{"begin":"(\u003e)","end":"((\u003c))(?=/(?i:script))","patterns":[{"name":"source.js","begin":"\\G","end":"(?=\u003c/(?i:script))","patterns":[{"begin":"(^[ \\t]+)?(?=//)","end":"(?!\\G)","patterns":[{"name":"comment.line.double-slash.js","begin":"//","end":"(?=\u003c/script)|\\n","beginCaptures":{"0":{"name":"punctuation.definition.comment.js"}}}],"beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.js"}}},{"name":"comment.block.js","begin":"/\\*","end":"\\*/|(?=\u003c/script)","captures":{"0":{"name":"punctuation.definition.comment.js"}}},{"include":"source.js"}]}],"beginCaptures":{"0":{"name":"meta.tag.metadata.script.start.html"},"1":{"name":"punctuation.definition.tag.end.html"}},"endCaptures":{"0":{"name":"meta.tag.metadata.script.end.html"},"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"source.js-ignored-vscode"}}},{"begin":"(?ix:\n\t\t\t\t\t\t\t\t\t\t\t\t(?=\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype\\s*=\\s*\n\t\t\t\t\t\t\t\t\t\t\t\t\t('|\"|)\n\t\t\t\t\t\t\t\t\t\t\t\t\ttext/\n\t\t\t\t\t\t\t\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tx-handlebars\n\t\t\t\t\t\t\t\t\t\t\t\t\t | (x-(handlebars-)?|ng-)?template\n\t\t\t\t\t\t\t\t\t\t\t\t\t | html\n\t\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t\t\t[\\s\"'\u003e]\n\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t)","end":"((\u003c))(?=/(?i:script))","patterns":[{"name":"text.html.basic","begin":"(?!\\G)","end":"(?=\u003c/(?i:script))","patterns":[{"include":"text.html.basic"}]}],"endCaptures":{"0":{"name":"meta.tag.metadata.script.end.html"},"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"text.html.basic"}}},{"begin":"(?=(?i:type))","end":"(\u003c)(?=/(?i:script))","endCaptures":{"0":{"name":"meta.tag.metadata.script.end.html"},"1":{"name":"punctuation.definition.tag.begin.html"}}},{"include":"#string-double-quoted-html"},{"include":"#string-single-quoted-html"},{"include":"#glimmer-argument"},{"include":"#html-attribute"}]}],"beginCaptures":{"0":{"name":"meta.tag.metadata.script.start.html"},"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.html"}},"endCaptures":{"0":{"name":"meta.tag.metadata.script.end.html"},"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.html"},"3":{"name":"punctuation.definition.tag.end.html"}}}],"beginCaptures":{"1":{"name":"punctuation.whitespace.embedded.leading.html"}},"endCaptures":{"1":{"name":"punctuation.whitespace.embedded.trailing.html"}}},"string-double-quoted-handlebars":{"name":"string.quoted.double.ember-handlebars","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.ember-handlebars","match":"\\\\\""}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ember-handlebars"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ember-handlebars"}}},"string-double-quoted-html":{"name":"string.quoted.double.html.ember-handlebars","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.ember-handlebars","match":"\\\\\""},{"include":"#glimmer-bools"},{"include":"#glimmer-expression-property"},{"include":"#glimmer-control-expression"},{"include":"#glimmer-expression"},{"include":"#glimmer-block"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ember-handlebars"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ember-handlebars"}}},"string-single-quoted-handlebars":{"name":"string.quoted.single.ember-handlebars","begin":"'","end":"'","patterns":[{"name":"constant.character.escape.ember-handlebars","match":"\\\\'"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ember-handlebars"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ember-handlebars"}}},"string-single-quoted-html":{"name":"string.quoted.single.html.ember-handlebars","begin":"'","end":"'","patterns":[{"name":"constant.character.escape.ember-handlebars","match":"\\\\'"},{"include":"#glimmer-bools"},{"include":"#glimmer-expression-property"},{"include":"#glimmer-control-expression"},{"include":"#glimmer-expression"},{"include":"#glimmer-block"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ember-handlebars"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ember-handlebars"}}},"style":{"begin":"(^[ \\t]+)?(?=\u003c(?i:style)\\b(?!-))","end":"(?!\\G)([ \\t]*$\\n?)?","patterns":[{"name":"meta.embedded.block.html","begin":"(?i)(\u003c)(style)(?=\\s|/?\u003e)","end":"(?i)((\u003c)/)(style)\\s*(\u003e)","patterns":[{"name":"meta.tag.metadata.style.start.html","begin":"\\G","end":"(\u003e)","patterns":[{"include":"#glimmer-argument"},{"include":"#html-attribute"}],"captures":{"1":{"name":"punctuation.definition.tag.end.html"}}},{"name":"source.css","begin":"(?!\\G)","end":"(?=\u003c/(?i:style))","patterns":[{"include":"source.css"}]}],"beginCaptures":{"0":{"name":"meta.tag.metadata.style.start.html"},"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.html"}},"endCaptures":{"0":{"name":"meta.tag.metadata.style.end.html"},"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"source.css-ignored-vscode"},"3":{"name":"entity.name.tag.html"},"4":{"name":"punctuation.definition.tag.end.html"}}}],"beginCaptures":{"1":{"name":"punctuation.whitespace.embedded.leading.html"}},"endCaptures":{"1":{"name":"punctuation.whitespace.embedded.trailing.html"}}},"tag-like-content":{"patterns":[{"include":"#glimmer-bools"},{"include":"#glimmer-unescaped-expression"},{"include":"#glimmer-comment-block"},{"include":"#glimmer-comment-inline"},{"include":"#glimmer-expression-property"},{"include":"#boolean"},{"include":"#digit"},{"include":"#glimmer-control-expression"},{"include":"#glimmer-expression"},{"include":"#glimmer-block"},{"include":"#string-double-quoted-html"},{"include":"#string-single-quoted-html"},{"include":"#glimmer-as-stuff"},{"include":"#glimmer-argument"},{"include":"#html-attribute"}]},"variable":{"name":"support.function","match":"\\b([a-zA-Z0-9-_]+)\\b"}}}
|
1
|
+
{"name":"Glimmer","scopeName":"text.html.ember-handlebars","patterns":[{"include":"#style"},{"include":"#script"},{"include":"#glimmer-else-block"},{"include":"#glimmer-bools"},{"include":"#glimmer-special-block"},{"include":"#glimmer-unescaped-expression"},{"include":"#glimmer-comment-block"},{"include":"#glimmer-comment-inline"},{"include":"#glimmer-expression-property"},{"include":"#glimmer-control-expression"},{"include":"#glimmer-expression"},{"include":"#glimmer-block"},{"include":"#html-tag"},{"include":"#component-tag"},{"include":"#html-comment"},{"include":"#entities"}],"repository":{"as-keyword":{"name":"keyword.control","match":"\\s\\b(as)\\b(?=\\s\\|)"},"as-params":{"name":"keyword.block-params.ember-handlebars","begin":"(?\u003c!\\|)(\\|)","end":"(\\|)(?!\\|)","patterns":[{"include":"#variable"}],"beginCaptures":{"1":{"name":"constant.other.symbol.begin.ember-handlebars"}},"endCaptures":{"1":{"name":"constant.other.symbol.end.ember-handlebars"}}},"attention":{"name":"storage.type.class.${1:/downcase}","match":"@?(TODO|FIXME|CHANGED|XXX|IDEA|HACK|NOTE|REVIEW|NB|BUG|QUESTION|TEMP)\\b"},"boolean":{"match":"true|false|undefined|null","captures":{"0":{"name":"string.regexp"},"1":{"name":"string.regexp"},"2":{"name":"string.regexp"}}},"component-tag":{"name":"meta.tag.any.ember-handlebars","begin":"(\u003c\\/?)(@|this.)?([a-zA-Z0-9-_\\$:\\.]+)\\b","end":"(\\/?)(\u003e)","patterns":[{"include":"#tag-like-content"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag"},"2":{"name":"support.function","patterns":[{"name":"variable.language","match":"(@|this)"},{"name":"punctuation.definition.tag","match":"(\\.)+"}]},"3":{"name":"entity.name.type","patterns":[{"include":"#glimmer-component-path"},{"name":"markup.bold","match":"(@|:|\\$)"}]}},"endCaptures":{"1":{"name":"punctuation.definition.tag"},"2":{"name":"punctuation.definition.tag"}}},"digit":{"match":"\\d*(\\.)?\\d+","captures":{"0":{"name":"constant.numeric"},"1":{"name":"constant.numeric"},"2":{"name":"constant.numeric"}}},"entities":{"patterns":[{"name":"constant.character.entity.html.ember-handlebars","match":"(\u0026)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)","captures":{"1":{"name":"punctuation.definition.entity.html.ember-handlebars"},"3":{"name":"punctuation.definition.entity.html.ember-handlebars"}}},{"name":"invalid.illegal.bad-ampersand.html.ember-handlebars","match":"\u0026"}]},"glimmer-argument":{"match":"\\s(@[a-zA-Z0-9:_.-]+)(=)?","captures":{"1":{"name":"entity.other.attribute-name.ember-handlebars.argument","patterns":[{"name":"markup.italic","match":"(@)"}]},"2":{"name":"punctuation.separator.key-value.html.ember-handlebars"}}},"glimmer-as-stuff":{"patterns":[{"include":"#as-keyword"},{"include":"#as-params"}]},"glimmer-block":{"name":"entity.expression.ember-handlebars","begin":"({{~?)(#|/)(([@\\$a-zA-Z0-9_/.-]+))","end":"(~?}})","patterns":[{"include":"#glimmer-as-stuff"},{"include":"#glimmer-supexp-content"}],"captures":{"1":{"name":"punctuation.definition.tag"},"2":{"name":"punctuation.definition.tag"},"3":{"name":"keyword.control","patterns":[{"include":"#glimmer-component-path"},{"name":"punctuation.definition.tag","match":"(\\/)+"},{"name":"punctuation.definition.tag","match":"(\\.)+"}]}}},"glimmer-bools":{"name":"entity.expression.ember-handlebars","match":"({{~?)(true|false|null|undefined|\\d*(\\.)?\\d+)(~?}})","captures":{"0":{"name":"keyword.operator"},"1":{"name":"keyword.operator"},"2":{"name":"string.regexp"},"3":{"name":"string.regexp"},"4":{"name":"keyword.operator"}}},"glimmer-comment-block":{"name":"comment.block.glimmer","begin":"{{!--","end":"--}}","patterns":[{"include":"#script"},{"include":"#attention"}],"captures":{"0":{"name":"punctuation.definition.block.comment.glimmer"}}},"glimmer-comment-inline":{"name":"comment.inline.glimmer","begin":"{{!","end":"}}","patterns":[{"include":"#script"},{"include":"#attention"}],"captures":{"0":{"name":"punctuation.definition.block.comment.glimmer"}}},"glimmer-component-path":{"match":"(::|_|\\$|\\.)","captures":{"1":{"name":"punctuation.definition.tag"}}},"glimmer-control-expression":{"name":"entity.expression.ember-handlebars","begin":"({{~?)(([-a-zA-Z_0-9/]+)\\s)","end":"(~?}})","patterns":[{"include":"#glimmer-supexp-content"}],"captures":{"1":{"name":"keyword.operator"},"2":{"name":"keyword.operator"},"3":{"name":"keyword.control"}}},"glimmer-else-block":{"name":"entity.expression.ember-handlebars","match":"({{~?)(else\\s[a-z]+\\s|else)([()@a-zA-Z0-9\\.\\s\\b]+)?(~?}})","captures":{"0":{"name":"punctuation.definition.tag"},"1":{"name":"punctuation.definition.tag"},"2":{"name":"keyword.control"},"3":{"name":"keyword.control","patterns":[{"include":"#glimmer-subexp"},{"include":"#string-single-quoted-handlebars"},{"include":"#string-double-quoted-handlebars"},{"include":"#boolean"},{"include":"#digit"},{"include":"#param"},{"include":"#glimmer-parameter-name"},{"include":"#glimmer-parameter-value"}]},"4":{"name":"punctuation.definition.tag"}}},"glimmer-expression":{"name":"entity.expression.ember-handlebars","begin":"({{~?)(([()\\s@a-zA-Z0-9_.-]+))","end":"(~?}})","patterns":[{"include":"#glimmer-supexp-content"}],"captures":{"1":{"name":"keyword.operator"},"2":{"name":"keyword.operator"},"3":{"name":"support.function","patterns":[{"name":"string.regexp","match":"[(]+"},{"name":"string.regexp","match":"[)]+"},{"name":"punctuation.definition.tag","match":"(\\.)+"},{"include":"#glimmer-supexp-content"}]}}},"glimmer-expression-property":{"name":"entity.expression.ember-handlebars","begin":"({{~?)((@|this.)([a-zA-Z0-9_.-]+))","end":"(~?}})","patterns":[{"include":"#glimmer-supexp-content"}],"captures":{"1":{"name":"keyword.operator"},"2":{"name":"keyword.operator"},"3":{"name":"support.function","patterns":[{"name":"variable.language","match":"(@|this)"},{"name":"punctuation.definition.tag","match":"(\\.)+"}]},"4":{"name":"support.function","patterns":[{"name":"punctuation.definition.tag","match":"(\\.)+"}]}}},"glimmer-parameter-name":{"match":"\\b([a-zA-Z0-9_-]+)(\\s?=)","captures":{"1":{"name":"variable.parameter.name.ember-handlebars"},"2":{"name":"punctuation.definition.expression.ember-handlebars"}}},"glimmer-parameter-value":{"match":"\\b([a-zA-Z0-9:_.-]+)\\b(?!=)","captures":{"1":{"name":"support.function","patterns":[{"name":"punctuation.definition.tag","match":"(\\.)+"}]}}},"glimmer-special-block":{"name":"entity.expression.ember-handlebars","match":"({{~?)(yield|outlet)(~?}})","captures":{"0":{"name":"keyword.operator"},"1":{"name":"keyword.operator"},"2":{"name":"keyword.control"},"3":{"name":"keyword.operator"}}},"glimmer-subexp":{"name":"entity.subexpression.ember-handlebars","begin":"(\\()([@a-zA-Z0-9.-]+)","end":"(\\))","patterns":[{"include":"#glimmer-supexp-content"}],"captures":{"1":{"name":"keyword.other"},"2":{"name":"keyword.control"}}},"glimmer-supexp-content":{"patterns":[{"include":"#glimmer-subexp"},{"include":"#string-single-quoted-handlebars"},{"include":"#string-double-quoted-handlebars"},{"include":"#boolean"},{"include":"#digit"},{"include":"#param"},{"include":"#glimmer-parameter-name"},{"include":"#glimmer-parameter-value"}]},"glimmer-unescaped-expression":{"name":"entity.unescaped.expression.ember-handlebars","begin":"{{{","end":"}}}","patterns":[{"include":"#string-single-quoted-handlebars"},{"include":"#string-double-quoted-handlebars"},{"include":"#glimmer-subexp"},{"include":"#param"}],"captures":{"0":{"name":"keyword.operator"}}},"html-attribute":{"match":"\\s([a-zA-Z0-9:_.-]+)(=)?","captures":{"1":{"name":"entity.other.attribute-name.ember-handlebars","patterns":[{"name":"markup.bold","match":"(\\.\\.\\.attributes)"}]},"2":{"name":"punctuation.separator.key-value.html.ember-handlebars"}}},"html-comment":{"name":"comment.block.html.ember-handlebars","begin":"\u003c!--","end":"--\\s*\u003e","patterns":[{"include":"#attention"},{"name":"invalid.illegal.bad-comments-or-CDATA.html.ember-handlebars","match":"--"}],"captures":{"0":{"name":"punctuation.definition.comment.html.ember-handlebars"}}},"html-tag":{"name":"meta.tag.any.ember-handlebars","begin":"(\u003c\\/?)([a-z0-9-]+)(?!\\.|:)\\b","end":"(\\/?)(\u003e)","patterns":[{"include":"#tag-like-content"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag"},"2":{"name":"entity.name.tag.html.ember-handlebars"}},"endCaptures":{"1":{"name":"punctuation.definition.tag"},"2":{"name":"punctuation.definition.tag"}}},"param":{"match":"(@|this.)([a-zA-Z0-9_.-]+)","captures":{"0":{"name":"support.function","patterns":[{"name":"variable.language","match":"(@|this)"},{"name":"punctuation.definition.tag","match":"(\\.)+"}]},"1":{"name":"support.function","patterns":[{"name":"punctuation.definition.tag","match":"(\\.)+"}]}}},"script":{"begin":"(^[ \\t]+)?(?=\u003c(?i:script)\\b(?!-))","end":"(?!\\G)([ \\t]*$\\n?)?","patterns":[{"name":"meta.embedded.block.html","begin":"(\u003c)((?i:script))\\b","end":"(/)((?i:script))(\u003e)","patterns":[{"begin":"\\G","end":"(?=/)","patterns":[{"begin":"(\u003e)","end":"((\u003c))(?=/(?i:script))","patterns":[{"name":"source.js","begin":"\\G","end":"(?=\u003c/(?i:script))","patterns":[{"begin":"(^[ \\t]+)?(?=//)","end":"(?!\\G)","patterns":[{"name":"comment.line.double-slash.js","begin":"//","end":"(?=\u003c/script)|\\n","beginCaptures":{"0":{"name":"punctuation.definition.comment.js"}}}],"beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.js"}}},{"name":"comment.block.js","begin":"/\\*","end":"\\*/|(?=\u003c/script)","captures":{"0":{"name":"punctuation.definition.comment.js"}}},{"include":"source.js"}]}],"beginCaptures":{"0":{"name":"meta.tag.metadata.script.start.html"},"1":{"name":"punctuation.definition.tag.end.html"}},"endCaptures":{"0":{"name":"meta.tag.metadata.script.end.html"},"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"source.js-ignored-vscode"}}},{"begin":"(?ix:\n\t\t\t\t\t\t\t\t\t\t\t\t(?=\n\t\t\t\t\t\t\t\t\t\t\t\t\ttype\\s*=\\s*\n\t\t\t\t\t\t\t\t\t\t\t\t\t('|\"|)\n\t\t\t\t\t\t\t\t\t\t\t\t\ttext/\n\t\t\t\t\t\t\t\t\t\t\t\t\t(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tx-handlebars\n\t\t\t\t\t\t\t\t\t\t\t\t\t | (x-(handlebars-)?|ng-)?template\n\t\t\t\t\t\t\t\t\t\t\t\t\t | html\n\t\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t\t\t[\\s\"'\u003e]\n\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t)","end":"((\u003c))(?=/(?i:script))","patterns":[{"name":"text.html.basic","begin":"(?!\\G)","end":"(?=\u003c/(?i:script))","patterns":[{"include":"text.html.basic"}]}],"endCaptures":{"0":{"name":"meta.tag.metadata.script.end.html"},"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"text.html.basic"}}},{"begin":"(?=(?i:type))","end":"(\u003c)(?=/(?i:script))","endCaptures":{"0":{"name":"meta.tag.metadata.script.end.html"},"1":{"name":"punctuation.definition.tag.begin.html"}}},{"include":"#string-double-quoted-html"},{"include":"#string-single-quoted-html"},{"include":"#glimmer-argument"},{"include":"#html-attribute"}]}],"beginCaptures":{"0":{"name":"meta.tag.metadata.script.start.html"},"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.html"}},"endCaptures":{"0":{"name":"meta.tag.metadata.script.end.html"},"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.html"},"3":{"name":"punctuation.definition.tag.end.html"}}}],"beginCaptures":{"1":{"name":"punctuation.whitespace.embedded.leading.html"}},"endCaptures":{"1":{"name":"punctuation.whitespace.embedded.trailing.html"}}},"string-double-quoted-handlebars":{"name":"string.quoted.double.ember-handlebars","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.ember-handlebars","match":"\\\\\""}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ember-handlebars"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ember-handlebars"}}},"string-double-quoted-html":{"name":"string.quoted.double.html.ember-handlebars","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.ember-handlebars","match":"\\\\\""},{"include":"#glimmer-bools"},{"include":"#glimmer-expression-property"},{"include":"#glimmer-control-expression"},{"include":"#glimmer-expression"},{"include":"#glimmer-block"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ember-handlebars"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ember-handlebars"}}},"string-single-quoted-handlebars":{"name":"string.quoted.single.ember-handlebars","begin":"'","end":"'","patterns":[{"name":"constant.character.escape.ember-handlebars","match":"\\\\'"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ember-handlebars"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ember-handlebars"}}},"string-single-quoted-html":{"name":"string.quoted.single.html.ember-handlebars","begin":"'","end":"'","patterns":[{"name":"constant.character.escape.ember-handlebars","match":"\\\\'"},{"include":"#glimmer-bools"},{"include":"#glimmer-expression-property"},{"include":"#glimmer-control-expression"},{"include":"#glimmer-expression"},{"include":"#glimmer-block"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ember-handlebars"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ember-handlebars"}}},"style":{"begin":"(^[ \\t]+)?(?=\u003c(?i:style)\\b(?!-))","end":"(?!\\G)([ \\t]*$\\n?)?","patterns":[{"name":"meta.embedded.block.html","begin":"(?i)(\u003c)(style)(?=\\s|/?\u003e)","end":"(?i)((\u003c)/)(style)\\s*(\u003e)","patterns":[{"name":"meta.tag.metadata.style.start.html","begin":"\\G","end":"(\u003e)","patterns":[{"include":"#glimmer-argument"},{"include":"#html-attribute"}],"captures":{"1":{"name":"punctuation.definition.tag.end.html"}}},{"name":"source.css","begin":"(?!\\G)","end":"(?=\u003c/(?i:style))","patterns":[{"include":"source.css"}]}],"beginCaptures":{"0":{"name":"meta.tag.metadata.style.start.html"},"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.html"}},"endCaptures":{"0":{"name":"meta.tag.metadata.style.end.html"},"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"source.css-ignored-vscode"},"3":{"name":"entity.name.tag.html"},"4":{"name":"punctuation.definition.tag.end.html"}}}],"beginCaptures":{"1":{"name":"punctuation.whitespace.embedded.leading.html"}},"endCaptures":{"1":{"name":"punctuation.whitespace.embedded.trailing.html"}}},"tag-like-content":{"patterns":[{"include":"#glimmer-bools"},{"include":"#glimmer-unescaped-expression"},{"include":"#glimmer-comment-block"},{"include":"#glimmer-comment-inline"},{"include":"#glimmer-expression-property"},{"include":"#boolean"},{"include":"#digit"},{"include":"#glimmer-control-expression"},{"include":"#glimmer-expression"},{"include":"#glimmer-block"},{"include":"#string-double-quoted-html"},{"include":"#string-single-quoted-html"},{"include":"#glimmer-as-stuff"},{"include":"#glimmer-argument"},{"include":"#html-attribute"}]},"variable":{"name":"support.function","match":"\\b([a-zA-Z0-9-_]+)\\b"}}}
|