github-linguist-grammars 4.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/grammars/file.lasso.json +713 -0
- data/grammars/module.ceylon.json +54 -0
- data/grammars/objdump.x86asm.json +73 -0
- data/grammars/source.Inform7.json +45 -0
- data/grammars/source.Kotlin.json +774 -0
- data/grammars/source.LS.json +104 -0
- data/grammars/source.MCPOST.json +68 -0
- data/grammars/source.MOD.json +70 -0
- data/grammars/source.abap.json +176 -0
- data/grammars/source.abl.json +138 -0
- data/grammars/source.actionscript.3.json +1571 -0
- data/grammars/source.acucobol.json +16 -0
- data/grammars/source.ada.json +140 -0
- data/grammars/source.agda.json +254 -0
- data/grammars/source.ahk.json +171 -0
- data/grammars/source.alloy.json +44 -0
- data/grammars/source.ampl.json +157 -0
- data/grammars/source.antlr.json +300 -0
- data/grammars/source.apache-config.json +352 -0
- data/grammars/source.apache-config.mod_perl.json +70 -0
- data/grammars/source.apl.json +442 -0
- data/grammars/source.applescript.json +1385 -0
- data/grammars/source.apt.json +25 -0
- data/grammars/source.asm.x86.json +182 -0
- data/grammars/source.asp.json +157 -0
- data/grammars/source.aspectj.json +963 -0
- data/grammars/source.ats.json +170 -0
- data/grammars/source.autoit.3.json +132 -0
- data/grammars/source.awk.json +388 -0
- data/grammars/source.befunge.json +38 -0
- data/grammars/source.bf.json +36 -0
- data/grammars/source.bison.json +59 -0
- data/grammars/source.blitzmax.json +912 -0
- data/grammars/source.boo.json +452 -0
- data/grammars/source.brightauthorproject.json +29 -0
- data/grammars/source.brightscript.json +158 -0
- data/grammars/source.bro.json +409 -0
- data/grammars/source.bsv.json +283 -0
- data/grammars/source.c++.json +364 -0
- data/grammars/source.c++.qt.json +37 -0
- data/grammars/source.c.ec.json +39 -0
- data/grammars/source.c.json +727 -0
- data/grammars/source.c.platform.json +154 -0
- data/grammars/source.cache.cmake.json +75 -0
- data/grammars/source.cake.json +16 -0
- data/grammars/source.camlp4.ocaml.json +63 -0
- data/grammars/source.capnp.json +93 -0
- data/grammars/source.ceylon.json +77 -0
- data/grammars/source.cfscript.cfc.json +170 -0
- data/grammars/source.cfscript.json +744 -0
- data/grammars/source.chapel.json +240 -0
- data/grammars/source.cirru.json +66 -0
- data/grammars/source.clarion.json +159 -0
- data/grammars/source.clips.json +80 -0
- data/grammars/source.clojure.json +397 -0
- data/grammars/source.cm.json +54 -0
- data/grammars/source.cmake.json +181 -0
- data/grammars/source.cobol.json +528 -0
- data/grammars/source.coffee.json +678 -0
- data/grammars/source.compiled-papyrus.json +11 -0
- data/grammars/source.cool.json +103 -0
- data/grammars/source.coq.json +62 -0
- data/grammars/source.crystal.json +2760 -0
- data/grammars/source.cs.json +556 -0
- data/grammars/source.css.json +630 -0
- data/grammars/source.css.less.json +276 -0
- data/grammars/source.css.mss.json +256 -0
- data/grammars/source.csx.json +16 -0
- data/grammars/source.cuda-c++.json +137 -0
- data/grammars/source.cython.json +2108 -0
- data/grammars/source.d.json +722 -0
- data/grammars/source.dart.json +763 -0
- data/grammars/source.desktop.json +90 -0
- data/grammars/source.diff.json +162 -0
- data/grammars/source.dockerfile.json +89 -0
- data/grammars/source.dosbatch.json +70 -0
- data/grammars/source.dot.json +126 -0
- data/grammars/source.dylan.json +217 -0
- data/grammars/source.eiffel.json +138 -0
- data/grammars/source.elixir.json +737 -0
- data/grammars/source.elm.json +355 -0
- data/grammars/source.erazor.json +126 -0
- data/grammars/source.erlang.json +1674 -0
- data/grammars/source.essl.json +50 -0
- data/grammars/source.factor.json +260 -0
- data/grammars/source.fan.json +188 -0
- data/grammars/source.fancy.json +270 -0
- data/grammars/source.fish.json +214 -0
- data/grammars/source.forth.json +101 -0
- data/grammars/source.fortran.json +499 -0
- data/grammars/source.fortran.modern.json +226 -0
- data/grammars/source.fsharp.json +403 -0
- data/grammars/source.gap.json +167 -0
- data/grammars/source.gcode.json +25 -0
- data/grammars/source.gdscript.json +154 -0
- data/grammars/source.gfm.json +1270 -0
- data/grammars/source.glsl.json +71 -0
- data/grammars/source.gnuplot.json +276 -0
- data/grammars/source.go.json +552 -0
- data/grammars/source.golo.json +182 -0
- data/grammars/source.gosu.2.json +163 -0
- data/grammars/source.grace.json +679 -0
- data/grammars/source.groovy.gradle.json +73 -0
- data/grammars/source.groovy.json +1385 -0
- data/grammars/source.harbour.json +450 -0
- data/grammars/source.haskell.json +449 -0
- data/grammars/source.haxe.2.json +1243 -0
- data/grammars/source.hss.1.json +464 -0
- data/grammars/source.httpspec.json +287 -0
- data/grammars/source.hxml.json +26 -0
- data/grammars/source.hy.json +270 -0
- data/grammars/source.idl-dlm.json +112 -0
- data/grammars/source.idl.json +267 -0
- data/grammars/source.idris.json +537 -0
- data/grammars/source.ini.json +113 -0
- data/grammars/source.inno.json +65 -0
- data/grammars/source.io.json +164 -0
- data/grammars/source.ioke.json +272 -0
- data/grammars/source.isabelle.root.json +68 -0
- data/grammars/source.isabelle.theory.json +106 -0
- data/grammars/source.j.json +49 -0
- data/grammars/source.jade.json +1009 -0
- data/grammars/source.jasmin.json +299 -0
- data/grammars/source.java-properties.json +97 -0
- data/grammars/source.java.json +1026 -0
- data/grammars/source.jcl.json +49 -0
- data/grammars/source.jflex.json +490 -0
- data/grammars/source.jq.json +218 -0
- data/grammars/source.js.json +948 -0
- data/grammars/source.js.jsx.json +2937 -0
- data/grammars/source.js.objj.json +424 -0
- data/grammars/source.js.regexp.json +150 -0
- data/grammars/source.js.regexp.replacement.json +30 -0
- data/grammars/source.json.json +149 -0
- data/grammars/source.julia.json +407 -0
- data/grammars/source.lean.json +145 -0
- data/grammars/source.lid.json +23 -0
- data/grammars/source.lilypond.json +623 -0
- data/grammars/source.lisp.json +111 -0
- data/grammars/source.litcoffee.json +669 -0
- data/grammars/source.livescript.json +616 -0
- data/grammars/source.llvm.json +71 -0
- data/grammars/source.logos.json +31 -0
- data/grammars/source.logtalk.json +315 -0
- data/grammars/source.loomscript.json +214 -0
- data/grammars/source.lsl.json +216 -0
- data/grammars/source.lua.json +191 -0
- data/grammars/source.makefile.json +474 -0
- data/grammars/source.makegen.json +13 -0
- data/grammars/source.man.json +53 -0
- data/grammars/source.mask.json +701 -0
- data/grammars/source.mata.json +133 -0
- data/grammars/source.mathematica.json +429 -0
- data/grammars/source.matlab.json +776 -0
- data/grammars/source.mercury.json +251 -0
- data/grammars/source.ml.json +291 -0
- data/grammars/source.modelica.json +142 -0
- data/grammars/source.modula2.json +103 -0
- data/grammars/source.monkey.json +701 -0
- data/grammars/source.moonscript.json +149 -0
- data/grammars/source.mupad.json +149 -0
- data/grammars/source.nant-build.json +86 -0
- data/grammars/source.ncl.json +66 -0
- data/grammars/source.nemerle.json +137 -0
- data/grammars/source.nesc.json +27 -0
- data/grammars/source.netlinx.erb.json +47 -0
- data/grammars/source.netlinx.json +768 -0
- data/grammars/source.nginx.json +797 -0
- data/grammars/source.nim.json +1150 -0
- data/grammars/source.nim_filter.json +133 -0
- data/grammars/source.nimcfg.json +116 -0
- data/grammars/source.ninja.json +66 -0
- data/grammars/source.nit.json +238 -0
- data/grammars/source.nix.json +1200 -0
- data/grammars/source.nmml.json +87 -0
- data/grammars/source.nsis.json +150 -0
- data/grammars/source.objc++.json +19 -0
- data/grammars/source.objc.json +918 -0
- data/grammars/source.objc.platform.json +277 -0
- data/grammars/source.ocaml.json +1426 -0
- data/grammars/source.ocamllex.json +305 -0
- data/grammars/source.ocamlyacc.json +346 -0
- data/grammars/source.octave.json +451 -0
- data/grammars/source.ooc.json +692 -0
- data/grammars/source.opa.json +206 -0
- data/grammars/source.opal.json +415 -0
- data/grammars/source.opalsysdefs.json +70 -0
- data/grammars/source.opencobol.json +65 -0
- data/grammars/source.ox.json +97 -0
- data/grammars/source.oz.json +84 -0
- data/grammars/source.papyrus-assembly.json +266 -0
- data/grammars/source.papyrus.json +231 -0
- data/grammars/source.parrot.pir.json +117 -0
- data/grammars/source.pascal.json +150 -0
- data/grammars/source.perl.6.json +310 -0
- data/grammars/source.perl.json +2413 -0
- data/grammars/source.php.zephir.json +362 -0
- data/grammars/source.pig_latin.json +172 -0
- data/grammars/source.pike.json +62 -0
- data/grammars/source.plsql.oracle.json +642 -0
- data/grammars/source.po.json +232 -0
- data/grammars/source.pogoscript.json +85 -0
- data/grammars/source.postscript.json +231 -0
- data/grammars/source.powershell.json +755 -0
- data/grammars/source.processing.json +885 -0
- data/grammars/source.prolog.eclipse.json +206 -0
- data/grammars/source.prolog.json +292 -0
- data/grammars/source.protobuf.json +395 -0
- data/grammars/source.pubspec.json +13 -0
- data/grammars/source.puppet.json +494 -0
- data/grammars/source.purescript.json +818 -0
- data/grammars/source.pyjade.json +1010 -0
- data/grammars/source.python.django.json +34 -0
- data/grammars/source.python.json +1960 -0
- data/grammars/source.python.salt.json +13 -0
- data/grammars/source.qmake.json +217 -0
- data/grammars/source.qml.json +195 -0
- data/grammars/source.r.json +203 -0
- data/grammars/source.racket.json +119 -0
- data/grammars/source.rebol.json +647 -0
- data/grammars/source.red.json +652 -0
- data/grammars/source.regexp.babel.json +190 -0
- data/grammars/source.regexp.python.json +187 -0
- data/grammars/source.regexp.spin.json +188 -0
- data/grammars/source.ruby.json +1956 -0
- data/grammars/source.ruby.rspec.cucumber.steps.json +274 -0
- data/grammars/source.rust.json +269 -0
- data/grammars/source.sas.json +322 -0
- data/grammars/source.sas_log.json +26 -0
- data/grammars/source.sass.json +248 -0
- data/grammars/source.sbt.json +36 -0
- data/grammars/source.scad.json +152 -0
- data/grammars/source.scala.json +739 -0
- data/grammars/source.scaml.json +466 -0
- data/grammars/source.scheme.json +370 -0
- data/grammars/source.scilab.json +103 -0
- data/grammars/source.scss.json +1321 -0
- data/grammars/source.shell.json +1212 -0
- data/grammars/source.smali.json +1668 -0
- data/grammars/source.smalltalk.json +135 -0
- data/grammars/source.smt.json +173 -0
- data/grammars/source.sp.json +118 -0
- data/grammars/source.sparql.json +23 -0
- data/grammars/source.spin.json +936 -0
- data/grammars/source.sqf.json +112 -0
- data/grammars/source.sql.json +473 -0
- data/grammars/source.stata.json +208 -0
- data/grammars/source.strings.json +53 -0
- data/grammars/source.stylus.json +1021 -0
- data/grammars/source.swift.json +965 -0
- data/grammars/source.systemverilog.json +1050 -0
- data/grammars/source.tcl.json +277 -0
- data/grammars/source.tea.json +180 -0
- data/grammars/source.thrift.json +704 -0
- data/grammars/source.toml.json +327 -0
- data/grammars/source.ts.json +1094 -0
- data/grammars/source.tsx.json +1324 -0
- data/grammars/source.turtle.json +505 -0
- data/grammars/source.txl.json +62 -0
- data/grammars/source.ucfconstraints.json +72 -0
- data/grammars/source.vala.json +814 -0
- data/grammars/source.varnish.vcl.json +343 -0
- data/grammars/source.vbnet.json +338 -0
- data/grammars/source.verilog.json +302 -0
- data/grammars/source.vhdl.json +1349 -0
- data/grammars/source.viml.json +224 -0
- data/grammars/source.webidl.json +814 -0
- data/grammars/source.x10.json +68 -0
- data/grammars/source.x86asm.json +47 -0
- data/grammars/source.xc.json +379 -0
- data/grammars/source.xq.json +241 -0
- data/grammars/source.xquery.json +193 -0
- data/grammars/source.xtend.json +733 -0
- data/grammars/source.yaml.json +334 -0
- data/grammars/source.yaml.salt.json +348 -0
- data/grammars/text.bibtex.json +251 -0
- data/grammars/text.cfml.basic.json +736 -0
- data/grammars/text.dart-analysis-output.json +162 -0
- data/grammars/text.dart-doccomments.json +19 -0
- data/grammars/text.elixir.json +45 -0
- data/grammars/text.gherkin.feature.json +135 -0
- data/grammars/text.groff.json +113 -0
- data/grammars/text.haml.json +299 -0
- data/grammars/text.html.abl.json +24 -0
- data/grammars/text.html.asciidoc.json +492 -0
- data/grammars/text.html.asdoc.json +541 -0
- data/grammars/text.html.asp.json +58 -0
- data/grammars/text.html.basic.json +552 -0
- data/grammars/text.html.cfm.json +811 -0
- data/grammars/text.html.creole.json +329 -0
- data/grammars/text.html.django.json +69 -0
- data/grammars/text.html.elixir.json +18 -0
- data/grammars/text.html.erb.json +157 -0
- data/grammars/text.html.erlang.yaws.json +72 -0
- data/grammars/text.html.factor.json +27 -0
- data/grammars/text.html.handlebars.json +783 -0
- data/grammars/text.html.jsp.json +1203 -0
- data/grammars/text.html.liquid.json +35 -0
- data/grammars/text.html.mako.json +729 -0
- data/grammars/text.html.markdown.source.gfm.apib.json +1297 -0
- data/grammars/text.html.markdown.source.gfm.mson.json +1165 -0
- data/grammars/text.html.mediawiki.json +972 -0
- data/grammars/text.html.php.json +2607 -0
- data/grammars/text.html.slash.json +313 -0
- data/grammars/text.html.smarty.json +216 -0
- data/grammars/text.html.ssp.json +49 -0
- data/grammars/text.html.tcl.json +44 -0
- data/grammars/text.html.twig.json +1353 -0
- data/grammars/text.html.vue.json +642 -0
- data/grammars/text.idl-idldoc.json +14 -0
- data/grammars/text.junit-test-report.json +92 -0
- data/grammars/text.log.latex.json +86 -0
- data/grammars/text.python.console.json +25 -0
- data/grammars/text.python.traceback.json +46 -0
- data/grammars/text.rdoc.json +48 -0
- data/grammars/text.restructuredtext.json +561 -0
- data/grammars/text.robot.json +73 -0
- data/grammars/text.shell-session.json +48 -0
- data/grammars/text.slim.json +527 -0
- data/grammars/text.tex.json +271 -0
- data/grammars/text.tex.latex.beamer.json +63 -0
- data/grammars/text.tex.latex.haskell.json +56 -0
- data/grammars/text.tex.latex.json +1013 -0
- data/grammars/text.tex.latex.memoir.json +99 -0
- data/grammars/text.tex.latex.rd.json +117 -0
- data/grammars/text.xml.ant.json +202 -0
- data/grammars/text.xml.flex-config.json +2634 -0
- data/grammars/text.xml.genshi.json +34 -0
- data/grammars/text.xml.json +364 -0
- data/grammars/text.xml.pom.json +774 -0
- data/grammars/text.xml.xsl.json +94 -0
- data/grammars/text.zone_file.json +72 -0
- data/lib/linguist/grammars.rb +13 -0
- metadata +389 -0
@@ -0,0 +1,72 @@
|
|
1
|
+
{
|
2
|
+
"fileTypes": [
|
3
|
+
"yaws"
|
4
|
+
],
|
5
|
+
"keyEquivalent": "^~E",
|
6
|
+
"name": "HTML (Erlang)",
|
7
|
+
"patterns": [
|
8
|
+
{
|
9
|
+
"begin": "(^\\s*)?(?=<erl>)",
|
10
|
+
"beginCaptures": {
|
11
|
+
"1": {
|
12
|
+
"name": "punctuation.whitespace.embedded.leading.html"
|
13
|
+
}
|
14
|
+
},
|
15
|
+
"contentName": "meta.embedded.erlang",
|
16
|
+
"end": "(?!\\G)(\\s*\\n)?",
|
17
|
+
"endCaptures": {
|
18
|
+
"1": {
|
19
|
+
"name": "punctuation.whitespace.embedded.trailing.html"
|
20
|
+
}
|
21
|
+
},
|
22
|
+
"patterns": [
|
23
|
+
{
|
24
|
+
"begin": "(<)(erl)(>)",
|
25
|
+
"beginCaptures": {
|
26
|
+
"0": {
|
27
|
+
"name": "meta.tag.template.html"
|
28
|
+
},
|
29
|
+
"1": {
|
30
|
+
"name": "punctuation.definition.tag.begin.html"
|
31
|
+
},
|
32
|
+
"2": {
|
33
|
+
"name": "entity.name.tag.html"
|
34
|
+
},
|
35
|
+
"3": {
|
36
|
+
"name": "punctuation.definition.tag.end.html"
|
37
|
+
}
|
38
|
+
},
|
39
|
+
"contentName": "source.erlang",
|
40
|
+
"end": "((</))(erl)(>)",
|
41
|
+
"endCaptures": {
|
42
|
+
"0": {
|
43
|
+
"name": "meta.tag.template.html"
|
44
|
+
},
|
45
|
+
"1": {
|
46
|
+
"name": "punctuation.definition.tag.begin.html"
|
47
|
+
},
|
48
|
+
"2": {
|
49
|
+
"name": "source.erlang"
|
50
|
+
},
|
51
|
+
"3": {
|
52
|
+
"name": "entity.name.tag.html"
|
53
|
+
},
|
54
|
+
"4": {
|
55
|
+
"name": "punctuation.definition.tag.end.html"
|
56
|
+
}
|
57
|
+
},
|
58
|
+
"patterns": [
|
59
|
+
{
|
60
|
+
"include": "source.erlang"
|
61
|
+
}
|
62
|
+
]
|
63
|
+
}
|
64
|
+
]
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"include": "text.html.basic"
|
68
|
+
}
|
69
|
+
],
|
70
|
+
"scopeName": "text.html.erlang.yaws",
|
71
|
+
"uuid": "3FBFF015-B650-4734-848C-47B53ACD5E32"
|
72
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
{
|
2
|
+
"fileTypes": [
|
3
|
+
"furnace",
|
4
|
+
"fhtml"
|
5
|
+
],
|
6
|
+
"foldingStartMarker": "(?x)\n\t\t(<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)\\b.*?>\n\t\t|<!--(?!.*-->)\n\t\t|\\{\\s*($|\\?>\\s*$|//|/\\*(.*\\*/\\s*$|(?!.*?\\*/)))\n\t\t)",
|
7
|
+
"foldingStopMarker": "(?x)\n\t\t(</(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)>\n\t\t|^\\s*-->\n\t\t|(^|\\s)\\}\n\t\t)",
|
8
|
+
"keyEquivalent": "^~F",
|
9
|
+
"name": "HTML (Factor)",
|
10
|
+
"patterns": [
|
11
|
+
{
|
12
|
+
"begin": "<%\\s",
|
13
|
+
"end": "(?<=\\s)%>",
|
14
|
+
"name": "source.factor.embedded.html",
|
15
|
+
"patterns": [
|
16
|
+
{
|
17
|
+
"include": "source.factor"
|
18
|
+
}
|
19
|
+
]
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"include": "text.html.basic"
|
23
|
+
}
|
24
|
+
],
|
25
|
+
"scopeName": "text.html.factor",
|
26
|
+
"uuid": "141517D7-73E0-4475-A481-71102575A175"
|
27
|
+
}
|
@@ -0,0 +1,783 @@
|
|
1
|
+
{
|
2
|
+
"fileTypes": [
|
3
|
+
"handlebars",
|
4
|
+
"handlebars.html",
|
5
|
+
"hbr",
|
6
|
+
"hbrs",
|
7
|
+
"hbs",
|
8
|
+
"hdbs",
|
9
|
+
"hjs",
|
10
|
+
"mu",
|
11
|
+
"mustache",
|
12
|
+
"rac",
|
13
|
+
"stache",
|
14
|
+
"template",
|
15
|
+
"tmpl"
|
16
|
+
],
|
17
|
+
"name": "Handlebars",
|
18
|
+
"patterns": [
|
19
|
+
{
|
20
|
+
"include": "#yfm"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"include": "#block_comments"
|
24
|
+
},
|
25
|
+
{
|
26
|
+
"include": "#comments"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"include": "#block_helper"
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"include": "#end_block"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"include": "#else_token"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"include": "#partial_and_var"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"include": "#inline_script"
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"include": "#html_tags"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"include": "text.html.basic"
|
48
|
+
}
|
49
|
+
],
|
50
|
+
"repository": {
|
51
|
+
"block_comments": {
|
52
|
+
"patterns": [
|
53
|
+
{
|
54
|
+
"begin": "\\{\\{!--",
|
55
|
+
"end": "--\\}\\}",
|
56
|
+
"name": "comment.block.handlebars",
|
57
|
+
"patterns": [
|
58
|
+
{
|
59
|
+
"match": "@\\w*",
|
60
|
+
"name": "keyword.annotation.handlebars"
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"include": "#comments"
|
64
|
+
}
|
65
|
+
]
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"begin": "<!--",
|
69
|
+
"captures": {
|
70
|
+
"0": {
|
71
|
+
"name": "punctuation.definition.comment.html"
|
72
|
+
}
|
73
|
+
},
|
74
|
+
"end": "-{2,3}\\s*>",
|
75
|
+
"name": "comment.block.html",
|
76
|
+
"patterns": [
|
77
|
+
{
|
78
|
+
"match": "--",
|
79
|
+
"name": "invalid.illegal.bad-comments-or-CDATA.html"
|
80
|
+
}
|
81
|
+
]
|
82
|
+
}
|
83
|
+
]
|
84
|
+
},
|
85
|
+
"block_helper": {
|
86
|
+
"begin": "(\\{\\{~?\\#)([-a-zA-Z0-9_\\./]+)\\s?(@?[-a-zA-Z0-9_\\./]+)*\\s?(@?[-a-zA-Z0-9_\\./]+)*\\s?(@?[-a-zA-Z0-9_\\./]+)*",
|
87
|
+
"beginCaptures": {
|
88
|
+
"1": {
|
89
|
+
"name": "support.constant.handlebars"
|
90
|
+
},
|
91
|
+
"2": {
|
92
|
+
"name": "support.constant.handlebars"
|
93
|
+
},
|
94
|
+
"3": {
|
95
|
+
"name": "variable.parameter.handlebars"
|
96
|
+
},
|
97
|
+
"4": {
|
98
|
+
"name": "support.constant.handlebars"
|
99
|
+
},
|
100
|
+
"5": {
|
101
|
+
"name": "variable.parameter.handlebars"
|
102
|
+
},
|
103
|
+
"6": {
|
104
|
+
"name": "support.constant.handlebars"
|
105
|
+
}
|
106
|
+
},
|
107
|
+
"end": "(~?\\}\\})",
|
108
|
+
"endCaptures": {
|
109
|
+
"1": {
|
110
|
+
"name": "support.constant.handlebars"
|
111
|
+
}
|
112
|
+
},
|
113
|
+
"name": "meta.function.block.start.handlebars",
|
114
|
+
"patterns": [
|
115
|
+
{
|
116
|
+
"include": "#string"
|
117
|
+
}
|
118
|
+
]
|
119
|
+
},
|
120
|
+
"comments": {
|
121
|
+
"patterns": [
|
122
|
+
{
|
123
|
+
"begin": "\\{\\{!",
|
124
|
+
"end": "\\}\\}",
|
125
|
+
"name": "comment.block.handlebars",
|
126
|
+
"patterns": [
|
127
|
+
{
|
128
|
+
"match": "@\\w*",
|
129
|
+
"name": "keyword.annotation.handlebars"
|
130
|
+
},
|
131
|
+
{
|
132
|
+
"include": "#comments"
|
133
|
+
}
|
134
|
+
]
|
135
|
+
},
|
136
|
+
{
|
137
|
+
"begin": "<!--",
|
138
|
+
"captures": {
|
139
|
+
"0": {
|
140
|
+
"name": "punctuation.definition.comment.html"
|
141
|
+
}
|
142
|
+
},
|
143
|
+
"end": "-{2,3}\\s*>",
|
144
|
+
"name": "comment.block.html",
|
145
|
+
"patterns": [
|
146
|
+
{
|
147
|
+
"match": "--",
|
148
|
+
"name": "invalid.illegal.bad-comments-or-CDATA.html"
|
149
|
+
}
|
150
|
+
]
|
151
|
+
}
|
152
|
+
]
|
153
|
+
},
|
154
|
+
"else_token": {
|
155
|
+
"begin": "(\\{\\{~?else)",
|
156
|
+
"beginCaptures": {
|
157
|
+
"1": {
|
158
|
+
"name": "support.constant.handlebars"
|
159
|
+
}
|
160
|
+
},
|
161
|
+
"end": "(~?\\}\\}\\}*)",
|
162
|
+
"endCaptures": {
|
163
|
+
"1": {
|
164
|
+
"name": "support.constant.handlebars"
|
165
|
+
}
|
166
|
+
},
|
167
|
+
"name": "meta.function.inline.else.handlebars"
|
168
|
+
},
|
169
|
+
"end_block": {
|
170
|
+
"begin": "(\\{\\{~?/)([a-zA-Z0-9_\\.-]+)\\s*",
|
171
|
+
"beginCaptures": {
|
172
|
+
"1": {
|
173
|
+
"name": "support.constant.handlebars"
|
174
|
+
},
|
175
|
+
"2": {
|
176
|
+
"name": "support.constant.handlebars"
|
177
|
+
}
|
178
|
+
},
|
179
|
+
"end": "(~?\\}\\})",
|
180
|
+
"endCaptures": {
|
181
|
+
"1": {
|
182
|
+
"name": "support.constant.handlebars"
|
183
|
+
}
|
184
|
+
},
|
185
|
+
"name": "meta.function.block.end.handlebars",
|
186
|
+
"patterns": [
|
187
|
+
|
188
|
+
]
|
189
|
+
},
|
190
|
+
"entities": {
|
191
|
+
"patterns": [
|
192
|
+
{
|
193
|
+
"captures": {
|
194
|
+
"1": {
|
195
|
+
"name": "punctuation.definition.entity.html"
|
196
|
+
},
|
197
|
+
"3": {
|
198
|
+
"name": "punctuation.definition.entity.html"
|
199
|
+
}
|
200
|
+
},
|
201
|
+
"match": "(&)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)",
|
202
|
+
"name": "constant.character.entity.html"
|
203
|
+
},
|
204
|
+
{
|
205
|
+
"match": "&",
|
206
|
+
"name": "invalid.illegal.bad-ampersand.html"
|
207
|
+
}
|
208
|
+
]
|
209
|
+
},
|
210
|
+
"escaped-double-quote": {
|
211
|
+
"match": "\\\\\"",
|
212
|
+
"name": "constant.character.escape.js"
|
213
|
+
},
|
214
|
+
"escaped-single-quote": {
|
215
|
+
"match": "\\\\'",
|
216
|
+
"name": "constant.character.escape.js"
|
217
|
+
},
|
218
|
+
"html_tags": {
|
219
|
+
"patterns": [
|
220
|
+
{
|
221
|
+
"begin": "(<)([a-zA-Z0-9:-]+)(?=[^>]*></\\2>)",
|
222
|
+
"beginCaptures": {
|
223
|
+
"1": {
|
224
|
+
"name": "punctuation.definition.tag.html"
|
225
|
+
},
|
226
|
+
"2": {
|
227
|
+
"name": "entity.name.tag.html"
|
228
|
+
}
|
229
|
+
},
|
230
|
+
"end": "(>(<)/)(\\2)(>)",
|
231
|
+
"endCaptures": {
|
232
|
+
"1": {
|
233
|
+
"name": "punctuation.definition.tag.html"
|
234
|
+
},
|
235
|
+
"2": {
|
236
|
+
"name": "meta.scope.between-tag-pair.html"
|
237
|
+
},
|
238
|
+
"3": {
|
239
|
+
"name": "entity.name.tag.html"
|
240
|
+
},
|
241
|
+
"4": {
|
242
|
+
"name": "punctuation.definition.tag.html"
|
243
|
+
}
|
244
|
+
},
|
245
|
+
"name": "meta.tag.any.html",
|
246
|
+
"patterns": [
|
247
|
+
{
|
248
|
+
"include": "#tag-stuff"
|
249
|
+
}
|
250
|
+
]
|
251
|
+
},
|
252
|
+
{
|
253
|
+
"begin": "(<\\?)(xml)",
|
254
|
+
"captures": {
|
255
|
+
"1": {
|
256
|
+
"name": "punctuation.definition.tag.html"
|
257
|
+
},
|
258
|
+
"2": {
|
259
|
+
"name": "entity.name.tag.xml.html"
|
260
|
+
}
|
261
|
+
},
|
262
|
+
"end": "(\\?>)",
|
263
|
+
"name": "meta.tag.preprocessor.xml.html",
|
264
|
+
"patterns": [
|
265
|
+
{
|
266
|
+
"include": "#tag-generic-attribute"
|
267
|
+
},
|
268
|
+
{
|
269
|
+
"include": "#string"
|
270
|
+
}
|
271
|
+
]
|
272
|
+
},
|
273
|
+
{
|
274
|
+
"begin": "<!--",
|
275
|
+
"captures": {
|
276
|
+
"0": {
|
277
|
+
"name": "punctuation.definition.comment.html"
|
278
|
+
}
|
279
|
+
},
|
280
|
+
"end": "--\\s*>",
|
281
|
+
"name": "comment.block.html",
|
282
|
+
"patterns": [
|
283
|
+
{
|
284
|
+
"match": "--",
|
285
|
+
"name": "invalid.illegal.bad-comments-or-CDATA.html"
|
286
|
+
}
|
287
|
+
]
|
288
|
+
},
|
289
|
+
{
|
290
|
+
"begin": "<!",
|
291
|
+
"captures": {
|
292
|
+
"0": {
|
293
|
+
"name": "punctuation.definition.tag.html"
|
294
|
+
}
|
295
|
+
},
|
296
|
+
"end": ">",
|
297
|
+
"name": "meta.tag.sgml.html",
|
298
|
+
"patterns": [
|
299
|
+
{
|
300
|
+
"begin": "(DOCTYPE|doctype)",
|
301
|
+
"captures": {
|
302
|
+
"1": {
|
303
|
+
"name": "entity.name.tag.doctype.html"
|
304
|
+
}
|
305
|
+
},
|
306
|
+
"end": "(?=>)",
|
307
|
+
"name": "meta.tag.sgml.doctype.html",
|
308
|
+
"patterns": [
|
309
|
+
{
|
310
|
+
"match": "\"[^\">]*\"",
|
311
|
+
"name": "string.quoted.double.doctype.identifiers-and-DTDs.html"
|
312
|
+
}
|
313
|
+
]
|
314
|
+
},
|
315
|
+
{
|
316
|
+
"begin": "\\[CDATA\\[",
|
317
|
+
"end": "]](?=>)",
|
318
|
+
"name": "constant.other.inline-data.html"
|
319
|
+
},
|
320
|
+
{
|
321
|
+
"match": "(\\s*)(?!--|>)\\S(\\s*)",
|
322
|
+
"name": "invalid.illegal.bad-comments-or-CDATA.html"
|
323
|
+
}
|
324
|
+
]
|
325
|
+
},
|
326
|
+
{
|
327
|
+
"begin": "(?:^\\s+)?(<)((?i:style))\\b(?![^>]*/>)",
|
328
|
+
"captures": {
|
329
|
+
"1": {
|
330
|
+
"name": "punctuation.definition.tag.html"
|
331
|
+
},
|
332
|
+
"2": {
|
333
|
+
"name": "entity.name.tag.style.html"
|
334
|
+
},
|
335
|
+
"3": {
|
336
|
+
"name": "punctuation.definition.tag.html"
|
337
|
+
}
|
338
|
+
},
|
339
|
+
"end": "(</)((?i:style))(>)(?:\\s*\\n)?",
|
340
|
+
"name": "source.css.embedded.html",
|
341
|
+
"patterns": [
|
342
|
+
{
|
343
|
+
"include": "#tag-stuff"
|
344
|
+
},
|
345
|
+
{
|
346
|
+
"begin": "(>)",
|
347
|
+
"beginCaptures": {
|
348
|
+
"1": {
|
349
|
+
"name": "punctuation.definition.tag.html"
|
350
|
+
}
|
351
|
+
},
|
352
|
+
"end": "(?=</(?i:style))",
|
353
|
+
"patterns": [
|
354
|
+
{
|
355
|
+
"include": "source.css"
|
356
|
+
}
|
357
|
+
]
|
358
|
+
}
|
359
|
+
]
|
360
|
+
},
|
361
|
+
{
|
362
|
+
"begin": "(?:^\\s+)?(<)((?i:script))\\b(?![^>]*/>)",
|
363
|
+
"beginCaptures": {
|
364
|
+
"1": {
|
365
|
+
"name": "punctuation.definition.tag.html"
|
366
|
+
},
|
367
|
+
"2": {
|
368
|
+
"name": "entity.name.tag.script.html"
|
369
|
+
}
|
370
|
+
},
|
371
|
+
"end": "(?<=</(script|SCRIPT))(>)(?:\\s*\\n)?",
|
372
|
+
"endCaptures": {
|
373
|
+
"2": {
|
374
|
+
"name": "punctuation.definition.tag.html"
|
375
|
+
}
|
376
|
+
},
|
377
|
+
"name": "source.js.embedded.html",
|
378
|
+
"patterns": [
|
379
|
+
{
|
380
|
+
"include": "#tag-stuff"
|
381
|
+
},
|
382
|
+
{
|
383
|
+
"begin": "(?<!</(?:script|SCRIPT))(>)",
|
384
|
+
"captures": {
|
385
|
+
"1": {
|
386
|
+
"name": "punctuation.definition.tag.html"
|
387
|
+
},
|
388
|
+
"2": {
|
389
|
+
"name": "entity.name.tag.script.html"
|
390
|
+
}
|
391
|
+
},
|
392
|
+
"end": "(</)((?i:script))",
|
393
|
+
"patterns": [
|
394
|
+
{
|
395
|
+
"captures": {
|
396
|
+
"1": {
|
397
|
+
"name": "punctuation.definition.comment.js"
|
398
|
+
}
|
399
|
+
},
|
400
|
+
"match": "(//).*?((?=</script)|$\\n?)",
|
401
|
+
"name": "comment.line.double-slash.js"
|
402
|
+
},
|
403
|
+
{
|
404
|
+
"begin": "/\\*",
|
405
|
+
"captures": {
|
406
|
+
"0": {
|
407
|
+
"name": "punctuation.definition.comment.js"
|
408
|
+
}
|
409
|
+
},
|
410
|
+
"end": "\\*/|(?=</script)",
|
411
|
+
"name": "comment.block.js"
|
412
|
+
},
|
413
|
+
{
|
414
|
+
"include": "source.js"
|
415
|
+
}
|
416
|
+
]
|
417
|
+
}
|
418
|
+
]
|
419
|
+
},
|
420
|
+
{
|
421
|
+
"begin": "(</?)((?i:body|head|html)\\b)",
|
422
|
+
"captures": {
|
423
|
+
"1": {
|
424
|
+
"name": "punctuation.definition.tag.html"
|
425
|
+
},
|
426
|
+
"2": {
|
427
|
+
"name": "entity.name.tag.structure.any.html"
|
428
|
+
}
|
429
|
+
},
|
430
|
+
"end": "(>)",
|
431
|
+
"name": "meta.tag.structure.any.html",
|
432
|
+
"patterns": [
|
433
|
+
{
|
434
|
+
"include": "#tag-stuff"
|
435
|
+
}
|
436
|
+
]
|
437
|
+
},
|
438
|
+
{
|
439
|
+
"begin": "(</?)((?i:address|blockquote|dd|div|header|section|footer|aside|nav|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre)\\b)",
|
440
|
+
"captures": {
|
441
|
+
"1": {
|
442
|
+
"name": "punctuation.definition.tag.html"
|
443
|
+
},
|
444
|
+
"2": {
|
445
|
+
"name": "entity.name.tag.block.any.html"
|
446
|
+
}
|
447
|
+
},
|
448
|
+
"end": "(>)",
|
449
|
+
"name": "meta.tag.block.any.html",
|
450
|
+
"patterns": [
|
451
|
+
{
|
452
|
+
"include": "#tag-stuff"
|
453
|
+
}
|
454
|
+
]
|
455
|
+
},
|
456
|
+
{
|
457
|
+
"begin": "(</?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|q|s|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var)\\b)",
|
458
|
+
"captures": {
|
459
|
+
"1": {
|
460
|
+
"name": "punctuation.definition.tag.html"
|
461
|
+
},
|
462
|
+
"2": {
|
463
|
+
"name": "entity.name.tag.inline.any.html"
|
464
|
+
}
|
465
|
+
},
|
466
|
+
"end": "((?: ?/)?>)",
|
467
|
+
"name": "meta.tag.inline.any.html",
|
468
|
+
"patterns": [
|
469
|
+
{
|
470
|
+
"include": "#tag-stuff"
|
471
|
+
}
|
472
|
+
]
|
473
|
+
},
|
474
|
+
{
|
475
|
+
"begin": "(</?)([a-zA-Z0-9:-]+)",
|
476
|
+
"captures": {
|
477
|
+
"1": {
|
478
|
+
"name": "punctuation.definition.tag.html"
|
479
|
+
},
|
480
|
+
"2": {
|
481
|
+
"name": "entity.name.tag.other.html"
|
482
|
+
}
|
483
|
+
},
|
484
|
+
"end": "(>)",
|
485
|
+
"name": "meta.tag.other.html",
|
486
|
+
"patterns": [
|
487
|
+
{
|
488
|
+
"include": "#tag-stuff"
|
489
|
+
}
|
490
|
+
]
|
491
|
+
},
|
492
|
+
{
|
493
|
+
"begin": "(</?)([a-zA-Z0-9{}:-]+)",
|
494
|
+
"captures": {
|
495
|
+
"1": {
|
496
|
+
"name": "punctuation.definition.tag.html"
|
497
|
+
},
|
498
|
+
"2": {
|
499
|
+
"name": "entity.name.tag.tokenised.html"
|
500
|
+
}
|
501
|
+
},
|
502
|
+
"end": "(>)",
|
503
|
+
"name": "meta.tag.tokenised.html",
|
504
|
+
"patterns": [
|
505
|
+
{
|
506
|
+
"include": "#tag-stuff"
|
507
|
+
}
|
508
|
+
]
|
509
|
+
},
|
510
|
+
{
|
511
|
+
"include": "#entities"
|
512
|
+
},
|
513
|
+
{
|
514
|
+
"match": "<>",
|
515
|
+
"name": "invalid.illegal.incomplete.html"
|
516
|
+
},
|
517
|
+
{
|
518
|
+
"match": "<",
|
519
|
+
"name": "invalid.illegal.bad-angle-bracket.html"
|
520
|
+
}
|
521
|
+
]
|
522
|
+
},
|
523
|
+
"inline_script": {
|
524
|
+
"begin": "(?:^\\s+)?(<)((?i:script))\\b(?:.*(type)=([\"'](?:text/x-handlebars-template|text/x-handlebars|text/template|x-tmpl-handlebars)[\"']))(?![^>]*/>)",
|
525
|
+
"beginCaptures": {
|
526
|
+
"1": {
|
527
|
+
"name": "punctuation.definition.tag.html"
|
528
|
+
},
|
529
|
+
"2": {
|
530
|
+
"name": "entity.name.tag.script.html"
|
531
|
+
},
|
532
|
+
"3": {
|
533
|
+
"name": "entity.other.attribute-name.html"
|
534
|
+
},
|
535
|
+
"4": {
|
536
|
+
"name": "string.quoted.double.html"
|
537
|
+
}
|
538
|
+
},
|
539
|
+
"end": "(?<=</(script|SCRIPT))(>)(?:\\s*\\n)?",
|
540
|
+
"endCaptures": {
|
541
|
+
"2": {
|
542
|
+
"name": "punctuation.definition.tag.html"
|
543
|
+
}
|
544
|
+
},
|
545
|
+
"name": "source.handlebars.embedded.html",
|
546
|
+
"patterns": [
|
547
|
+
{
|
548
|
+
"include": "#tag-stuff"
|
549
|
+
},
|
550
|
+
{
|
551
|
+
"begin": "(?<!</(?:script|SCRIPT))(>)",
|
552
|
+
"captures": {
|
553
|
+
"1": {
|
554
|
+
"name": "punctuation.definition.tag.html"
|
555
|
+
},
|
556
|
+
"2": {
|
557
|
+
"name": "entity.name.tag.script.html"
|
558
|
+
}
|
559
|
+
},
|
560
|
+
"end": "(</)((?i:script))",
|
561
|
+
"patterns": [
|
562
|
+
{
|
563
|
+
"include": "#block_comments"
|
564
|
+
},
|
565
|
+
{
|
566
|
+
"include": "#comments"
|
567
|
+
},
|
568
|
+
{
|
569
|
+
"include": "#block_helper"
|
570
|
+
},
|
571
|
+
{
|
572
|
+
"include": "#end_block"
|
573
|
+
},
|
574
|
+
{
|
575
|
+
"include": "#else_token"
|
576
|
+
},
|
577
|
+
{
|
578
|
+
"include": "#partial_and_var"
|
579
|
+
},
|
580
|
+
{
|
581
|
+
"include": "#html_tags"
|
582
|
+
},
|
583
|
+
{
|
584
|
+
"include": "text.html.basic"
|
585
|
+
}
|
586
|
+
]
|
587
|
+
}
|
588
|
+
]
|
589
|
+
},
|
590
|
+
"partial_and_var": {
|
591
|
+
"begin": "(\\{\\{~?\\{*(>|!<)*)\\s*(@?[-a-zA-Z0-9_\\./]+)*",
|
592
|
+
"beginCaptures": {
|
593
|
+
"1": {
|
594
|
+
"name": "support.constant.handlebars"
|
595
|
+
},
|
596
|
+
"3": {
|
597
|
+
"name": "variable.parameter.handlebars"
|
598
|
+
}
|
599
|
+
},
|
600
|
+
"end": "(~?\\}\\}\\}*)",
|
601
|
+
"endCaptures": {
|
602
|
+
"1": {
|
603
|
+
"name": "support.constant.handlebars"
|
604
|
+
}
|
605
|
+
},
|
606
|
+
"name": "meta.function.inline.other.handlebars",
|
607
|
+
"patterns": [
|
608
|
+
{
|
609
|
+
"include": "#string"
|
610
|
+
}
|
611
|
+
]
|
612
|
+
},
|
613
|
+
"string": {
|
614
|
+
"patterns": [
|
615
|
+
{
|
616
|
+
"include": "#string-single-quoted"
|
617
|
+
},
|
618
|
+
{
|
619
|
+
"include": "#string-double-quoted"
|
620
|
+
}
|
621
|
+
]
|
622
|
+
},
|
623
|
+
"string-double-quoted": {
|
624
|
+
"begin": "\"",
|
625
|
+
"beginCaptures": {
|
626
|
+
"0": {
|
627
|
+
"name": "punctuation.definition.string.begin.html"
|
628
|
+
}
|
629
|
+
},
|
630
|
+
"end": "\"",
|
631
|
+
"endCaptures": {
|
632
|
+
"0": {
|
633
|
+
"name": "punctuation.definition.string.end.html"
|
634
|
+
}
|
635
|
+
},
|
636
|
+
"name": "string.quoted.double.handlebars",
|
637
|
+
"patterns": [
|
638
|
+
{
|
639
|
+
"include": "#escaped-double-quote"
|
640
|
+
},
|
641
|
+
{
|
642
|
+
"include": "#block_comments"
|
643
|
+
},
|
644
|
+
{
|
645
|
+
"include": "#comments"
|
646
|
+
},
|
647
|
+
{
|
648
|
+
"include": "#block_helper"
|
649
|
+
},
|
650
|
+
{
|
651
|
+
"include": "#else_token"
|
652
|
+
},
|
653
|
+
{
|
654
|
+
"include": "#end_block"
|
655
|
+
},
|
656
|
+
{
|
657
|
+
"include": "#partial_and_var"
|
658
|
+
}
|
659
|
+
]
|
660
|
+
},
|
661
|
+
"string-single-quoted": {
|
662
|
+
"begin": "'",
|
663
|
+
"beginCaptures": {
|
664
|
+
"0": {
|
665
|
+
"name": "punctuation.definition.string.begin.html"
|
666
|
+
}
|
667
|
+
},
|
668
|
+
"end": "'",
|
669
|
+
"endCaptures": {
|
670
|
+
"0": {
|
671
|
+
"name": "punctuation.definition.string.end.html"
|
672
|
+
}
|
673
|
+
},
|
674
|
+
"name": "string.quoted.single.handlebars",
|
675
|
+
"patterns": [
|
676
|
+
{
|
677
|
+
"include": "#escaped-single-quote"
|
678
|
+
},
|
679
|
+
{
|
680
|
+
"include": "#block_comments"
|
681
|
+
},
|
682
|
+
{
|
683
|
+
"include": "#comments"
|
684
|
+
},
|
685
|
+
{
|
686
|
+
"include": "#block_helper"
|
687
|
+
},
|
688
|
+
{
|
689
|
+
"include": "#else_token"
|
690
|
+
},
|
691
|
+
{
|
692
|
+
"include": "#end_block"
|
693
|
+
},
|
694
|
+
{
|
695
|
+
"include": "#partial_and_var"
|
696
|
+
}
|
697
|
+
]
|
698
|
+
},
|
699
|
+
"tag-stuff": {
|
700
|
+
"patterns": [
|
701
|
+
{
|
702
|
+
"include": "#tag_id_attribute"
|
703
|
+
},
|
704
|
+
{
|
705
|
+
"include": "#tag_generic_attribute"
|
706
|
+
},
|
707
|
+
{
|
708
|
+
"include": "#string"
|
709
|
+
},
|
710
|
+
{
|
711
|
+
"include": "#block_comments"
|
712
|
+
},
|
713
|
+
{
|
714
|
+
"include": "#comments"
|
715
|
+
},
|
716
|
+
{
|
717
|
+
"include": "#block_helper"
|
718
|
+
},
|
719
|
+
{
|
720
|
+
"include": "#end_block"
|
721
|
+
},
|
722
|
+
{
|
723
|
+
"include": "#else_token"
|
724
|
+
},
|
725
|
+
{
|
726
|
+
"include": "#partial_and_var"
|
727
|
+
}
|
728
|
+
]
|
729
|
+
},
|
730
|
+
"tag_generic_attribute": {
|
731
|
+
"begin": "\\b([a-zA-Z0-9_-]+)\\b\\s*(=)",
|
732
|
+
"captures": {
|
733
|
+
"1": {
|
734
|
+
"name": "entity.other.attribute-name.generic.html"
|
735
|
+
},
|
736
|
+
"2": {
|
737
|
+
"name": "punctuation.separator.key-value.html"
|
738
|
+
}
|
739
|
+
},
|
740
|
+
"end": "(?<='|\"|)",
|
741
|
+
"name": "entity.other.attribute-name.html",
|
742
|
+
"patterns": [
|
743
|
+
{
|
744
|
+
"include": "#string"
|
745
|
+
}
|
746
|
+
]
|
747
|
+
},
|
748
|
+
"tag_id_attribute": {
|
749
|
+
"begin": "\\b(id)\\b\\s*(=)",
|
750
|
+
"captures": {
|
751
|
+
"1": {
|
752
|
+
"name": "entity.other.attribute-name.id.html"
|
753
|
+
},
|
754
|
+
"2": {
|
755
|
+
"name": "punctuation.separator.key-value.html"
|
756
|
+
}
|
757
|
+
},
|
758
|
+
"end": "(?<='|\"|)",
|
759
|
+
"name": "meta.attribute-with-value.id.html",
|
760
|
+
"patterns": [
|
761
|
+
{
|
762
|
+
"include": "#string"
|
763
|
+
}
|
764
|
+
]
|
765
|
+
},
|
766
|
+
"yfm": {
|
767
|
+
"patterns": [
|
768
|
+
{
|
769
|
+
"begin": "(?<!\\s)---\\n$",
|
770
|
+
"end": "^---\\s",
|
771
|
+
"name": "markup.raw.yaml.front-matter",
|
772
|
+
"patterns": [
|
773
|
+
{
|
774
|
+
"include": "source.yaml"
|
775
|
+
}
|
776
|
+
]
|
777
|
+
}
|
778
|
+
]
|
779
|
+
}
|
780
|
+
},
|
781
|
+
"scopeName": "text.html.handlebars",
|
782
|
+
"uuid": "70E91676-DE0A-4266-A2B9-3AD2E535E484"
|
783
|
+
}
|