github-linguist 5.3.3 → 6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/git-linguist +5 -2
- data/ext/linguist/linguist.c +18 -7
- data/grammars/annotation.liquidhaskell.haskell.json +969 -862
- data/grammars/config.xcompose.json +22 -25
- data/grammars/file.lasso.json +296 -309
- data/grammars/hint.haskell.json +867 -766
- data/grammars/hint.message.haskell.json +867 -766
- data/grammars/hint.type.haskell.json +867 -766
- data/grammars/objdump.x86asm.json +20 -24
- data/grammars/source.Kotlin.json +220 -225
- data/grammars/source.LS.json +36 -55
- data/grammars/source.MCPOST.json +24 -38
- data/grammars/source.MOD.json +26 -41
- data/grammars/source.SASLog.json +9 -16
- data/grammars/source.abap.json +48 -56
- data/grammars/source.abl.json +8 -14
- data/grammars/source.abnf.json +88 -98
- data/grammars/source.actionscript.3.json +398 -429
- data/grammars/source.acucobol.json +5 -8
- data/grammars/source.ada.json +46 -53
- data/grammars/source.afm.json +548 -554
- data/grammars/source.agc.json +34 -37
- data/grammars/source.agda.json +79 -91
- data/grammars/source.ahk.json +62 -66
- data/grammars/source.alloy.json +16 -20
- data/grammars/source.ampl.json +41 -47
- data/grammars/source.angelscript.json +71 -80
- data/grammars/source.antlr.json +131 -136
- data/grammars/source.apache-config.json +93 -99
- data/grammars/source.apache-config.mod_perl.json +19 -24
- data/grammars/source.apl.json +1038 -1029
- data/grammars/source.applescript.json +501 -523
- data/grammars/source.apt.json +9 -16
- data/grammars/source.asn.json +27 -31
- data/grammars/source.asp.json +61 -67
- data/grammars/source.aspectj.json +385 -391
- data/grammars/source.assembly.json +49 -55
- data/grammars/source.ats.json +45 -121
- data/grammars/source.autoit.json +64 -69
- data/grammars/source.awk.json +172 -176
- data/grammars/source.ballerina.json +48 -395
- data/grammars/source.batchfile.json +269 -269
- data/grammars/source.befunge.json +17 -21
- data/grammars/source.bf.json +5 -11
- data/grammars/source.bison.json +10 -14
- data/grammars/source.blitzmax.json +300 -305
- data/grammars/source.boo.json +189 -193
- data/grammars/source.brightauthorproject.json +8 -13
- data/grammars/source.brightscript.json +37 -47
- data/grammars/source.bro.json +134 -140
- data/grammars/source.bsl.json +152 -193
- data/grammars/source.bsv.json +96 -102
- data/grammars/source.c++.json +176 -193
- data/grammars/source.c++.qt.json +13 -21
- data/grammars/source.c.ec.json +15 -21
- data/grammars/source.c.json +237 -251
- data/grammars/source.c.platform.json +153 -159
- data/grammars/source.c2hs.json +3 -6
- data/grammars/source.cabal.json +17 -20
- data/grammars/source.cache.cmake.json +18 -23
- data/grammars/source.cake.json +4 -7
- data/grammars/source.camlp4.ocaml.json +24 -27
- data/grammars/source.capnp.json +33 -38
- data/grammars/source.ceylon.json +44 -50
- data/grammars/source.cfscript.cfc.json +78 -86
- data/grammars/source.cfscript.json +513 -520
- data/grammars/source.changelogs.rpm-spec.json +8 -16
- data/grammars/source.chapel.json +109 -87
- data/grammars/source.cirru.json +25 -30
- data/grammars/source.clarion.json +41 -54
- data/grammars/source.clean.json +90 -95
- data/grammars/source.click.json +25 -28
- data/grammars/source.clips.json +10 -23
- data/grammars/source.clojure.json +151 -168
- data/grammars/source.cm.json +14 -19
- data/grammars/source.cmake.json +53 -61
- data/grammars/source.cobol.json +165 -180
- data/grammars/source.coffee.json +454 -462
- data/grammars/source.cool.json +36 -43
- data/grammars/source.coq.json +17 -21
- data/grammars/source.crystal.json +889 -983
- data/grammars/source.cs.json +739 -740
- data/grammars/source.csound-document.json +69 -73
- data/grammars/source.csound-score.json +52 -55
- data/grammars/source.csound.json +167 -171
- data/grammars/source.css.json +683 -688
- data/grammars/source.css.less.json +211 -511
- data/grammars/source.css.mss.json +94 -101
- data/grammars/source.css.postcss.sugarss.json +260 -0
- data/grammars/source.csx.json +4 -7
- data/grammars/source.cuda-c++.json +47 -81
- data/grammars/source.cwl.json +103 -0
- data/grammars/source.cython.json +536 -582
- data/grammars/source.d.json +243 -252
- data/grammars/source.dart.json +161 -166
- data/grammars/source.data-weave.json +901 -905
- data/grammars/source.desktop.json +29 -33
- data/grammars/source.diff.json +43 -52
- data/grammars/source.disasm.json +15 -16
- data/grammars/source.ditroff.desc.json +73 -84
- data/grammars/source.ditroff.json +60 -61
- data/grammars/source.dm.json +202 -213
- data/grammars/source.dmf.json +44 -47
- data/grammars/source.dockerfile.json +29 -34
- data/grammars/source.dot.json +46 -55
- data/grammars/source.dylan.json +63 -68
- data/grammars/source.ebnf.json +55 -62
- data/grammars/source.eiffel.json +57 -62
- data/grammars/source.elixir.json +321 -366
- data/grammars/source.emacs.lisp.json +458 -249
- data/grammars/source.erazor.json +49 -57
- data/grammars/source.erlang.json +508 -515
- data/grammars/source.essl.json +17 -30
- data/grammars/source.factor.json +85 -91
- data/grammars/source.fan.json +92 -96
- data/grammars/source.fancy.json +93 -118
- data/grammars/source.fish.json +74 -98
- data/grammars/source.fontforge.json +142 -146
- data/grammars/source.forth.json +42 -57
- data/grammars/source.fortran.json +193 -231
- data/grammars/source.fortran.modern.json +77 -103
- data/grammars/source.fsharp.fsi.json +1 -6
- data/grammars/source.fsharp.fsl.json +1 -6
- data/grammars/source.fsharp.fsx.json +1 -6
- data/grammars/source.fsharp.json +148 -153
- data/grammars/source.gap.json +60 -70
- data/grammars/source.gcode.json +9 -16
- data/grammars/source.gdb.json +63 -79
- data/grammars/source.gdb.session.json +27 -28
- data/grammars/source.gdbregs.json +7 -8
- data/grammars/source.gdscript.json +92 -96
- data/grammars/source.gerber.json +38 -56
- data/grammars/source.gfm.json +447 -462
- data/grammars/source.glsl.json +58 -83
- data/grammars/source.gn.json +188 -193
- data/grammars/source.gnuplot.json +104 -120
- data/grammars/source.go.json +169 -181
- data/grammars/source.golo.json +82 -87
- data/grammars/source.gosu.2.json +58 -68
- data/grammars/source.grace.json +266 -270
- data/grammars/source.graphql.json +586 -596
- data/grammars/source.groovy.gradle.json +18 -22
- data/grammars/source.groovy.json +422 -433
- data/grammars/source.harbour.json +129 -173
- data/grammars/source.haskell.json +871 -772
- data/grammars/source.haxe.2.json +402 -413
- data/grammars/source.hlsl.json +6 -16
- data/grammars/source.hsc2hs.json +1 -4
- data/grammars/source.hsig.json +871 -770
- data/grammars/source.hss.1.json +122 -144
- data/grammars/source.httpspec.json +119 -123
- data/grammars/source.hxml.json +8 -15
- data/grammars/source.ideal.json +125 -125
- data/grammars/source.idl-dlm.json +25 -32
- data/grammars/source.idl.json +59 -80
- data/grammars/source.idris.json +171 -185
- data/grammars/source.inform7.json +117 -121
- data/grammars/source.ini.json +37 -43
- data/grammars/source.io.json +65 -73
- data/grammars/source.ioke.json +72 -78
- data/grammars/source.isabelle.root.json +26 -30
- data/grammars/source.isabelle.theory.json +46 -50
- data/grammars/source.j.json +18 -21
- data/grammars/source.jasmin.json +45 -50
- data/grammars/source.java-properties.json +31 -41
- data/grammars/source.java.json +333 -342
- data/grammars/source.jcl.json +15 -18
- data/grammars/source.jflex.json +166 -172
- data/grammars/source.jison.json +331 -334
- data/grammars/source.jisonlex-injection.json +1 -2
- data/grammars/source.jisonlex.json +148 -151
- data/grammars/source.jolie.json +37 -43
- data/grammars/source.jq.json +80 -87
- data/grammars/source.js.json +798 -818
- data/grammars/source.js.jsx.json +2115 -2225
- data/grammars/source.js.objj.json +167 -172
- data/grammars/source.js.regexp.json +50 -50
- data/grammars/source.js.regexp.replacement.json +7 -7
- data/grammars/source.jsdoc.json +94 -94
- data/grammars/source.json.json +61 -71
- data/grammars/source.julia.console.json +5 -6
- data/grammars/source.julia.json +237 -234
- data/grammars/source.lean.json +55 -67
- data/grammars/source.lid.json +6 -10
- data/grammars/source.lilypond.json +181 -195
- data/grammars/source.lisp.json +40 -50
- data/grammars/source.litcoffee.json +169 -183
- data/grammars/source.livescript.json +207 -220
- data/grammars/source.llvm.json +28 -38
- data/grammars/source.logos.json +7 -14
- data/grammars/source.logtalk.json +136 -141
- data/grammars/source.loomscript.json +77 -83
- data/grammars/source.lsl.json +90 -106
- data/grammars/source.lua.json +100 -109
- data/grammars/source.makefile.json +181 -188
- data/grammars/source.makegen.json +3 -7
- data/grammars/source.mask.json +260 -265
- data/grammars/source.mata.json +38 -46
- data/grammars/source.mathematica.json +155 -167
- data/grammars/source.matlab.json +407 -684
- data/grammars/source.maxscript.json +293 -281
- data/grammars/source.mercury.json +179 -184
- data/grammars/source.meson.json +52 -58
- data/grammars/source.meta-info.json +64 -74
- data/grammars/source.ml.json +107 -113
- data/grammars/source.modelica.json +51 -59
- data/grammars/source.modula2.json +33 -42
- data/grammars/source.monkey.json +234 -241
- data/grammars/source.moonscript.json +51 -56
- data/grammars/source.mql5.json +74 -101
- data/grammars/source.mupad.json +30 -72
- data/grammars/source.ncl.json +1 -14
- data/grammars/source.ne.json +39 -42
- data/grammars/source.nemerle.json +58 -63
- data/grammars/source.nesc.json +9 -15
- data/grammars/source.netlinx.erb.json +13 -25
- data/grammars/source.netlinx.json +231 -292
- data/grammars/source.nextflow-groovy.json +1360 -0
- data/grammars/source.nextflow.json +74 -0
- data/grammars/source.nginx.json +274 -287
- data/grammars/source.nim.json +442 -483
- data/grammars/source.nim_filter.json +6 -26
- data/grammars/source.nimcfg.json +38 -51
- data/grammars/source.ninja.json +64 -70
- data/grammars/source.nit.json +60 -64
- data/grammars/source.nix.json +269 -273
- data/grammars/source.nmml.json +31 -37
- data/grammars/source.nsis.json +66 -72
- data/grammars/source.nu.json +129 -139
- data/grammars/source.nut.json +129 -133
- data/grammars/source.objc++.json +3 -10
- data/grammars/source.objc.json +303 -314
- data/grammars/source.objc.platform.json +145 -151
- data/grammars/source.ocaml.json +506 -514
- data/grammars/source.ocamllex.json +108 -115
- data/grammars/source.ocamlyacc.json +116 -123
- data/grammars/source.ooc.json +148 -155
- data/grammars/source.opa.json +39 -49
- data/grammars/source.opal.json +84 -89
- data/grammars/source.opalsysdefs.json +9 -13
- data/grammars/source.opencobol.json +22 -25
- data/grammars/source.opentype.json +148 -152
- data/grammars/source.ox.json +36 -44
- data/grammars/source.oz.json +31 -38
- data/grammars/source.p4.json +49 -59
- data/grammars/source.pan.json +273 -278
- data/grammars/source.papyrus.skyrim.json +705 -781
- data/grammars/source.parrot.pir.json +59 -65
- data/grammars/source.pascal.json +54 -61
- data/grammars/source.pawn.json +835 -849
- data/grammars/source.pcb.board.json +153 -158
- data/grammars/source.pcb.schematic.json +134 -138
- data/grammars/source.pcb.sexp.json +64 -74
- data/grammars/source.pep8.json +28 -32
- data/grammars/source.perl.6.json +83 -92
- data/grammars/source.perl.json +711 -737
- data/grammars/source.perl6fe.json +1204 -1218
- data/grammars/source.php.zephir.json +80 -89
- data/grammars/source.pic.json +137 -142
- data/grammars/source.pig_latin.json +76 -80
- data/grammars/source.pike.json +23 -36
- data/grammars/source.po.json +74 -84
- data/grammars/source.pogoscript.json +23 -29
- data/grammars/source.pony.json +98 -108
- data/grammars/source.postcss.json +370 -0
- data/grammars/source.postscript.json +88 -97
- data/grammars/source.pov-ray sdl.json +36 -42
- data/grammars/source.powershell.json +175 -197
- data/grammars/source.processing.json +236 -249
- data/grammars/source.prolog.eclipse.json +33 -38
- data/grammars/source.prolog.json +66 -72
- data/grammars/source.protobuf.json +88 -94
- data/grammars/source.puppet.json +144 -151
- data/grammars/source.purescript.json +268 -289
- data/grammars/source.pyjade.json +256 -281
- data/grammars/source.python.django.json +13 -18
- data/grammars/source.python.json +3319 -3367
- data/grammars/source.python.salt.json +3 -7
- data/grammars/source.qmake.json +83 -90
- data/grammars/source.qml.json +57 -78
- data/grammars/source.quoting.perl6fe.json +666 -669
- data/grammars/source.r.json +75 -84
- data/grammars/source.racket.json +17 -38
- data/grammars/source.rascal.json +77 -80
- data/grammars/source.reason.hover.type.json +1 -1
- data/grammars/source.reason.json +1025 -1080
- data/grammars/source.rebol.json +167 -177
- data/grammars/source.red.json +169 -177
- data/grammars/source.regexp.babel.json +74 -77
- data/grammars/source.regexp.extended.json +4 -5
- data/grammars/source.regexp.json +260 -264
- data/grammars/source.regexp.perl6fe.json +108 -111
- data/grammars/source.regexp.python.json +210 -215
- data/grammars/source.regexp.spin.json +63 -72
- data/grammars/source.renpy.json +617 -687
- data/grammars/source.rexx.json +25 -32
- data/grammars/source.ring.json +84 -114
- data/grammars/source.rpm-spec.json +392 -401
- data/grammars/source.ruby.gemfile.json +9 -12
- data/grammars/source.ruby.json +862 -952
- data/grammars/source.ruby.rspec.cucumber.steps.json +90 -103
- data/grammars/source.rust.json +223 -281
- data/grammars/source.sas.json +88 -105
- data/grammars/source.sass.json +100 -108
- data/grammars/source.sbt.json +16 -23
- data/grammars/source.scad.json +60 -67
- data/grammars/source.scala.json +215 -228
- data/grammars/source.scaml.json +120 -135
- data/grammars/source.scheme.json +119 -136
- data/grammars/source.scilab.json +40 -47
- data/grammars/source.scss.json +369 -403
- data/grammars/source.sdbl.json +14 -25
- data/grammars/source.shaderlab.json +24 -27
- data/grammars/source.shell.json +409 -440
- data/grammars/source.shen.json +75 -94
- data/grammars/source.smali.json +232 -293
- data/grammars/source.smalltalk.json +60 -75
- data/grammars/source.smt.json +67 -82
- data/grammars/source.solidity.json +35 -54
- data/grammars/source.sp.json +40 -45
- data/grammars/source.sparql.json +3 -8
- data/grammars/source.spin.json +277 -297
- data/grammars/source.sqf.json +34 -44
- data/grammars/source.sql.json +142 -156
- data/grammars/source.stan.json +201 -160
- data/grammars/source.stata.json +57 -68
- data/grammars/source.strings.json +26 -30
- data/grammars/source.stylus.json +558 -565
- data/grammars/source.supercollider.json +33 -40
- data/grammars/source.swift.json +999 -1077
- data/grammars/source.systemverilog.json +351 -365
- data/grammars/source.tcl.json +77 -94
- data/grammars/source.tea.json +61 -67
- data/grammars/source.terra.json +25 -32
- data/grammars/source.terraform.json +68 -88
- data/grammars/source.thrift.json +300 -306
- data/grammars/source.tl.json +112 -117
- data/grammars/source.tla.json +65 -69
- data/grammars/source.toc.json +21 -25
- data/grammars/source.toml.json +117 -122
- data/grammars/source.ts.json +2838 -2774
- data/grammars/source.tsx.json +180 -184
- data/grammars/source.turing.json +970 -974
- data/grammars/source.turtle.json +124 -140
- data/grammars/source.txl.json +23 -37
- data/grammars/source.ucfconstraints.json +16 -21
- data/grammars/source.ur.json +15 -27
- data/grammars/source.vala.json +221 -235
- data/grammars/source.varnish.vcl.json +117 -129
- data/grammars/source.vbnet.json +69 -106
- data/grammars/source.verilog.json +101 -107
- data/grammars/source.vhdl.json +437 -445
- data/grammars/source.viml.json +540 -550
- data/grammars/source.wavefront.mtl.json +274 -277
- data/grammars/source.wavefront.obj.json +781 -784
- data/grammars/source.wdl.json +66 -46
- data/grammars/source.webassembly.json +97 -102
- data/grammars/source.webidl.json +311 -326
- data/grammars/source.x10.json +28 -32
- data/grammars/source.x86asm.json +21 -26
- data/grammars/source.xc.json +164 -172
- data/grammars/source.xq.json +81 -92
- data/grammars/source.xtend.json +199 -208
- data/grammars/source.yaml-ext.json +118 -124
- data/grammars/source.yaml.json +155 -174
- data/grammars/source.yaml.salt.json +113 -116
- data/grammars/source.yang.json +10 -13
- data/grammars/source.yara.json +98 -0
- data/grammars/text.bibtex.json +95 -100
- data/grammars/text.cfml.basic.json +403 -404
- data/grammars/text.elixir.json +18 -23
- data/grammars/text.error-list.json +15 -16
- data/grammars/text.find-refs.json +487 -488
- data/grammars/text.gherkin.feature.json +45 -53
- data/grammars/text.haml.json +176 -189
- data/grammars/text.hamlc.json +82 -88
- data/grammars/text.html.abl.json +16 -21
- data/grammars/text.html.asciidoc.json +139 -153
- data/grammars/text.html.asdoc.json +145 -155
- data/grammars/text.html.asp.json +23 -28
- data/grammars/text.html.basic.json +323 -338
- data/grammars/text.html.cfm.json +316 -325
- data/grammars/text.html.creole.json +177 -189
- data/grammars/text.html.django.json +27 -33
- data/grammars/text.html.ecr.json +21 -25
- data/grammars/text.html.elixir.json +3 -9
- data/grammars/text.html.erb.json +81 -85
- data/grammars/text.html.erlang.yaws.json +24 -29
- data/grammars/text.html.factor.json +5 -11
- data/grammars/text.html.ftl.json +16 -25
- data/grammars/text.html.handlebars.json +579 -598
- data/grammars/text.html.javadoc.json +426 -0
- data/grammars/text.html.js.json +11 -17
- data/grammars/text.html.jsp.json +377 -384
- data/grammars/text.html.liquid.json +8 -18
- data/grammars/text.html.mako.json +257 -275
- data/grammars/text.html.markdown.source.gfm.apib.json +419 -427
- data/grammars/text.html.markdown.source.gfm.mson.json +405 -414
- data/grammars/text.html.mediawiki.json +318 -344
- data/grammars/text.html.php.blade.json +2134 -2140
- data/grammars/text.html.php.json +980 -1013
- data/grammars/text.html.slash.json +101 -107
- data/grammars/text.html.smarty.json +75 -83
- data/grammars/text.html.soy.json +250 -253
- data/grammars/text.html.ssp.json +18 -24
- data/grammars/text.html.tcl.json +17 -24
- data/grammars/text.html.twig.json +712 -718
- data/grammars/text.idl-idldoc.json +5 -9
- data/grammars/text.jade.json +213 -235
- data/grammars/text.junit-test-report.json +25 -28
- data/grammars/text.log.latex.json +44 -46
- data/grammars/text.marko.json +370 -401
- data/grammars/text.python.console.json +3 -7
- data/grammars/text.python.traceback.json +2 -5
- data/grammars/text.rdoc.json +15 -19
- data/grammars/text.restructuredtext.clean.json +8 -11
- data/grammars/text.restructuredtext.json +886 -873
- data/grammars/text.robot.json +26 -36
- data/grammars/text.roff.json +2852 -2915
- data/grammars/text.runoff.json +56 -69
- data/grammars/text.sfd.json +151 -155
- data/grammars/text.shell-session.json +5 -8
- data/grammars/text.slim.json +184 -210
- data/grammars/text.srt.json +54 -57
- data/grammars/text.tex.json +98 -105
- data/grammars/text.tex.latex.beamer.json +14 -20
- data/grammars/text.tex.latex.haskell.json +883 -782
- data/grammars/text.tex.latex.json +281 -291
- data/grammars/text.tex.latex.memoir.json +39 -46
- data/grammars/text.tex.latex.rd.json +32 -38
- data/grammars/text.xml.ant.json +62 -69
- data/grammars/text.xml.flex-config.json +1009 -1013
- data/grammars/text.xml.genshi.json +10 -16
- data/grammars/text.xml.json +117 -130
- data/grammars/text.xml.pom.json +235 -240
- data/grammars/text.xml.xsl.json +31 -37
- data/grammars/text.zone_file.json +24 -29
- data/lib/linguist/blob.rb +10 -1
- data/lib/linguist/blob_helper.rb +4 -1
- data/lib/linguist/file_blob.rb +5 -0
- data/lib/linguist/generated.rb +16 -0
- data/lib/linguist/heuristics.rb +23 -11
- data/lib/linguist/language.rb +3 -6
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +74 -12
- data/lib/linguist/lazy_blob.rb +15 -1
- data/lib/linguist/linguist.bundle +0 -0
- data/lib/linguist/samples.json +1666 -3381
- data/lib/linguist/shebang.rb +2 -0
- data/lib/linguist/strategy/modeline.rb +2 -0
- data/lib/linguist/vendor.yml +5 -6
- data/lib/linguist/version.rb +1 -1
- metadata +12 -11
- data/grammars/source.elm.json +0 -381
- data/grammars/source.nant-build.json +0 -86
- data/grammars/source.octave.json +0 -451
- data/grammars/text.html.mediawiki.elm-build-output.json +0 -111
- data/grammars/text.html.mediawiki.elm-documentation.json +0 -22
- data/grammars/text.html.vue.json +0 -936
data/grammars/source.scss.json
CHANGED
@@ -1,13 +1,6 @@
|
|
1
1
|
{
|
2
|
-
"comment": "SCSS Version 2 Grammar by Mario \"Kuroir\" Ricalde (http://kuroir.com)",
|
3
|
-
"fileTypes": [
|
4
|
-
"scss",
|
5
|
-
"css.scss"
|
6
|
-
],
|
7
|
-
"foldingStartMarker": "\\{\\s*$",
|
8
|
-
"foldingStopMarker": "^\\s*\\}",
|
9
|
-
"keyEquivalent": "^~S",
|
10
2
|
"name": "SCSS",
|
3
|
+
"scopeName": "source.scss",
|
11
4
|
"patterns": [
|
12
5
|
{
|
13
6
|
"include": "#variable_setting"
|
@@ -59,22 +52,11 @@
|
|
59
52
|
}
|
60
53
|
],
|
61
54
|
"repository": {
|
62
|
-
"at_rule__": {
|
63
|
-
"comment": "Note how all @rules are prefixed."
|
64
|
-
},
|
55
|
+
"at_rule__": {},
|
65
56
|
"at_rule_charset": {
|
57
|
+
"name": "meta.at-rule.charset.scss",
|
66
58
|
"begin": "\\s*((@)charset\\b)\\s*",
|
67
|
-
"captures": {
|
68
|
-
"1": {
|
69
|
-
"name": "keyword.control.at-rule.charset.scss"
|
70
|
-
},
|
71
|
-
"2": {
|
72
|
-
"name": "punctuation.definition.keyword.scss"
|
73
|
-
}
|
74
|
-
},
|
75
|
-
"comment": "Charset",
|
76
59
|
"end": "\\s*((?=;|$))",
|
77
|
-
"name": "meta.at-rule.charset.scss",
|
78
60
|
"patterns": [
|
79
61
|
{
|
80
62
|
"include": "#variable"
|
@@ -85,17 +67,20 @@
|
|
85
67
|
{
|
86
68
|
"include": "#string_double"
|
87
69
|
}
|
88
|
-
]
|
89
|
-
},
|
90
|
-
"at_rule_content": {
|
91
|
-
"begin": "\\s*((@)content\\b)\\s*",
|
70
|
+
],
|
92
71
|
"captures": {
|
93
72
|
"1": {
|
94
|
-
"name": "keyword.control.
|
73
|
+
"name": "keyword.control.at-rule.charset.scss"
|
74
|
+
},
|
75
|
+
"2": {
|
76
|
+
"name": "punctuation.definition.keyword.scss"
|
95
77
|
}
|
96
|
-
}
|
97
|
-
|
78
|
+
}
|
79
|
+
},
|
80
|
+
"at_rule_content": {
|
98
81
|
"name": "meta.content.scss",
|
82
|
+
"begin": "\\s*((@)content\\b)\\s*",
|
83
|
+
"end": "\\s*((?=;))",
|
99
84
|
"patterns": [
|
100
85
|
{
|
101
86
|
"include": "#variable"
|
@@ -106,24 +91,21 @@
|
|
106
91
|
{
|
107
92
|
"include": "#property_values"
|
108
93
|
}
|
109
|
-
]
|
110
|
-
},
|
111
|
-
"at_rule_each": {
|
112
|
-
"begin": "\\s*((@)each\\b)\\s*",
|
94
|
+
],
|
113
95
|
"captures": {
|
114
96
|
"1": {
|
115
|
-
"name": "keyword.control.
|
116
|
-
},
|
117
|
-
"2": {
|
118
|
-
"name": "punctuation.definition.keyword.scss"
|
97
|
+
"name": "keyword.control.content.scss"
|
119
98
|
}
|
120
|
-
}
|
121
|
-
|
99
|
+
}
|
100
|
+
},
|
101
|
+
"at_rule_each": {
|
122
102
|
"name": "meta.at-rule.each.scss",
|
103
|
+
"begin": "\\s*((@)each\\b)\\s*",
|
104
|
+
"end": "\\s*((?=\\}))",
|
123
105
|
"patterns": [
|
124
106
|
{
|
125
|
-
"
|
126
|
-
"
|
107
|
+
"name": "keyword.control.operator",
|
108
|
+
"match": "\\b(in|\\,)\\b"
|
127
109
|
},
|
128
110
|
{
|
129
111
|
"include": "#variable"
|
@@ -134,20 +116,20 @@
|
|
134
116
|
{
|
135
117
|
"include": "$self"
|
136
118
|
}
|
137
|
-
]
|
138
|
-
},
|
139
|
-
"at_rule_else": {
|
140
|
-
"begin": "\\s*((@)else(\\s*(if)?))\\s*",
|
119
|
+
],
|
141
120
|
"captures": {
|
142
121
|
"1": {
|
143
|
-
"name": "keyword.control.
|
122
|
+
"name": "keyword.control.each.scss"
|
144
123
|
},
|
145
124
|
"2": {
|
146
125
|
"name": "punctuation.definition.keyword.scss"
|
147
126
|
}
|
148
|
-
}
|
149
|
-
|
127
|
+
}
|
128
|
+
},
|
129
|
+
"at_rule_else": {
|
150
130
|
"name": "meta.at-rule.else.scss",
|
131
|
+
"begin": "\\s*((@)else(\\s*(if)?))\\s*",
|
132
|
+
"end": "\\s*(?=\\{)",
|
151
133
|
"patterns": [
|
152
134
|
{
|
153
135
|
"include": "#logical_operators"
|
@@ -158,20 +140,20 @@
|
|
158
140
|
{
|
159
141
|
"include": "#property_values"
|
160
142
|
}
|
161
|
-
]
|
162
|
-
},
|
163
|
-
"at_rule_extend": {
|
164
|
-
"begin": "\\s*((@)extend\\b)\\s*",
|
143
|
+
],
|
165
144
|
"captures": {
|
166
145
|
"1": {
|
167
|
-
"name": "keyword.control.
|
146
|
+
"name": "keyword.control.else.scss"
|
168
147
|
},
|
169
148
|
"2": {
|
170
149
|
"name": "punctuation.definition.keyword.scss"
|
171
150
|
}
|
172
|
-
}
|
173
|
-
|
151
|
+
}
|
152
|
+
},
|
153
|
+
"at_rule_extend": {
|
174
154
|
"name": "meta.at-rule.import.scss",
|
155
|
+
"begin": "\\s*((@)extend\\b)\\s*",
|
156
|
+
"end": "\\s*(?=\\;)",
|
175
157
|
"patterns": [
|
176
158
|
{
|
177
159
|
"include": "#variable"
|
@@ -182,12 +164,27 @@
|
|
182
164
|
{
|
183
165
|
"include": "#property_values"
|
184
166
|
}
|
185
|
-
]
|
167
|
+
],
|
168
|
+
"captures": {
|
169
|
+
"1": {
|
170
|
+
"name": "keyword.control.at-rule.import.scss"
|
171
|
+
},
|
172
|
+
"2": {
|
173
|
+
"name": "punctuation.definition.keyword.scss"
|
174
|
+
}
|
175
|
+
}
|
186
176
|
},
|
187
177
|
"at_rule_fontface": {
|
188
178
|
"patterns": [
|
189
179
|
{
|
180
|
+
"name": "meta.at-rule.fontface.scss",
|
190
181
|
"begin": "^\\s*((@)font-face)\\s*(?=\\{)",
|
182
|
+
"end": "\\s*(?=\\{)",
|
183
|
+
"patterns": [
|
184
|
+
{
|
185
|
+
"include": "#function_attributes"
|
186
|
+
}
|
187
|
+
],
|
191
188
|
"beginCaptures": {
|
192
189
|
"1": {
|
193
190
|
"name": "keyword.control.at-rule.fontface.scss"
|
@@ -195,33 +192,18 @@
|
|
195
192
|
"2": {
|
196
193
|
"name": "punctuation.definition.keyword.scss"
|
197
194
|
}
|
198
|
-
}
|
199
|
-
"end": "\\s*(?=\\{)",
|
200
|
-
"name": "meta.at-rule.fontface.scss",
|
201
|
-
"patterns": [
|
202
|
-
{
|
203
|
-
"include": "#function_attributes"
|
204
|
-
}
|
205
|
-
]
|
195
|
+
}
|
206
196
|
}
|
207
197
|
]
|
208
198
|
},
|
209
199
|
"at_rule_for": {
|
200
|
+
"name": "meta.at-rule.for.scss",
|
210
201
|
"begin": "\\s*((@)for\\b)\\s*",
|
211
|
-
"captures": {
|
212
|
-
"1": {
|
213
|
-
"name": "keyword.control.for.scss"
|
214
|
-
},
|
215
|
-
"2": {
|
216
|
-
"name": "punctuation.definition.keyword.scss"
|
217
|
-
}
|
218
|
-
},
|
219
202
|
"end": "\\s*(?=\\{)",
|
220
|
-
"name": "meta.at-rule.for.scss",
|
221
203
|
"patterns": [
|
222
204
|
{
|
223
|
-
"
|
224
|
-
"
|
205
|
+
"name": "keyword.control.operator",
|
206
|
+
"match": "(\\=\\=|\\!\\=|\\\u003c\\=|\\\u003e\\=|\\\u003c|\\\u003e|from|through)"
|
225
207
|
},
|
226
208
|
{
|
227
209
|
"include": "#variable"
|
@@ -232,12 +214,27 @@
|
|
232
214
|
{
|
233
215
|
"include": "$self"
|
234
216
|
}
|
235
|
-
]
|
217
|
+
],
|
218
|
+
"captures": {
|
219
|
+
"1": {
|
220
|
+
"name": "keyword.control.for.scss"
|
221
|
+
},
|
222
|
+
"2": {
|
223
|
+
"name": "punctuation.definition.keyword.scss"
|
224
|
+
}
|
225
|
+
}
|
236
226
|
},
|
237
227
|
"at_rule_function": {
|
238
228
|
"patterns": [
|
239
229
|
{
|
230
|
+
"name": "meta.at-rule.function.scss",
|
240
231
|
"begin": "\\s*((@)function\\b)\\s*",
|
232
|
+
"end": "\\s*(?=\\{)",
|
233
|
+
"patterns": [
|
234
|
+
{
|
235
|
+
"include": "#function_attributes"
|
236
|
+
}
|
237
|
+
],
|
241
238
|
"captures": {
|
242
239
|
"1": {
|
243
240
|
"name": "keyword.control.at-rule.function.scss"
|
@@ -248,17 +245,11 @@
|
|
248
245
|
"3": {
|
249
246
|
"name": "entity.name.function.scss"
|
250
247
|
}
|
251
|
-
}
|
252
|
-
"comment": "Function with Attributes",
|
253
|
-
"end": "\\s*(?=\\{)",
|
254
|
-
"name": "meta.at-rule.function.scss",
|
255
|
-
"patterns": [
|
256
|
-
{
|
257
|
-
"include": "#function_attributes"
|
258
|
-
}
|
259
|
-
]
|
248
|
+
}
|
260
249
|
},
|
261
250
|
{
|
251
|
+
"name": "meta.at-rule.function.scss",
|
252
|
+
"match": "\\s*((@)function\\b)\\s*",
|
262
253
|
"captures": {
|
263
254
|
"1": {
|
264
255
|
"name": "keyword.control.at-rule.function.scss"
|
@@ -269,25 +260,14 @@
|
|
269
260
|
"3": {
|
270
261
|
"name": "entity.name.function.scss"
|
271
262
|
}
|
272
|
-
}
|
273
|
-
"comment": "Simple Function",
|
274
|
-
"match": "\\s*((@)function\\b)\\s*",
|
275
|
-
"name": "meta.at-rule.function.scss"
|
263
|
+
}
|
276
264
|
}
|
277
265
|
]
|
278
266
|
},
|
279
267
|
"at_rule_if": {
|
268
|
+
"name": "meta.at-rule.if.scss",
|
280
269
|
"begin": "\\s*((@)if\\b)\\s*",
|
281
|
-
"captures": {
|
282
|
-
"1": {
|
283
|
-
"name": "keyword.control.if.scss"
|
284
|
-
},
|
285
|
-
"2": {
|
286
|
-
"name": "punctuation.definition.keyword.scss"
|
287
|
-
}
|
288
|
-
},
|
289
270
|
"end": "\\s*(?=\\{)",
|
290
|
-
"name": "meta.at-rule.if.scss",
|
291
271
|
"patterns": [
|
292
272
|
{
|
293
273
|
"include": "#logical_operators"
|
@@ -298,20 +278,20 @@
|
|
298
278
|
{
|
299
279
|
"include": "#property_values"
|
300
280
|
}
|
301
|
-
]
|
302
|
-
},
|
303
|
-
"at_rule_import": {
|
304
|
-
"begin": "\\s*((@)import\\b)\\s*",
|
281
|
+
],
|
305
282
|
"captures": {
|
306
283
|
"1": {
|
307
|
-
"name": "keyword.control.
|
284
|
+
"name": "keyword.control.if.scss"
|
308
285
|
},
|
309
286
|
"2": {
|
310
287
|
"name": "punctuation.definition.keyword.scss"
|
311
288
|
}
|
312
|
-
}
|
313
|
-
|
289
|
+
}
|
290
|
+
},
|
291
|
+
"at_rule_import": {
|
314
292
|
"name": "meta.at-rule.import.scss",
|
293
|
+
"begin": "\\s*((@)import\\b)\\s*",
|
294
|
+
"end": "\\s*((?=;|\\}))",
|
315
295
|
"patterns": [
|
316
296
|
{
|
317
297
|
"include": "#string-double"
|
@@ -321,6 +301,19 @@
|
|
321
301
|
},
|
322
302
|
{
|
323
303
|
"begin": "\\s*(url)?\\s*(?:\\(|\"|')\\s*",
|
304
|
+
"end": "\\s*(?:\"|'|\\))\\s*",
|
305
|
+
"patterns": [
|
306
|
+
{
|
307
|
+
"name": "variable.parameter.url.css",
|
308
|
+
"match": "[^'\") \\t]+"
|
309
|
+
},
|
310
|
+
{
|
311
|
+
"include": "#string-single"
|
312
|
+
},
|
313
|
+
{
|
314
|
+
"include": "#string-double"
|
315
|
+
}
|
316
|
+
],
|
324
317
|
"beginCaptures": {
|
325
318
|
"1": {
|
326
319
|
"name": "support.function.url.css"
|
@@ -329,34 +322,39 @@
|
|
329
322
|
"name": "punctuation.section.function.css"
|
330
323
|
}
|
331
324
|
},
|
332
|
-
"end": "\\s*(?:\"|'|\\))\\s*",
|
333
325
|
"endCaptures": {
|
334
326
|
"1": {
|
335
327
|
"name": "punctuation.section.function.css"
|
336
328
|
}
|
337
|
-
}
|
338
|
-
"patterns": [
|
339
|
-
{
|
340
|
-
"match": "[^'\") \\t]+",
|
341
|
-
"name": "variable.parameter.url.css"
|
342
|
-
},
|
343
|
-
{
|
344
|
-
"include": "#string-single"
|
345
|
-
},
|
346
|
-
{
|
347
|
-
"include": "#string-double"
|
348
|
-
}
|
349
|
-
]
|
329
|
+
}
|
350
330
|
},
|
351
331
|
{
|
352
332
|
"include": "#media-query-list"
|
353
333
|
}
|
354
|
-
]
|
334
|
+
],
|
335
|
+
"captures": {
|
336
|
+
"1": {
|
337
|
+
"name": "keyword.control.at-rule.import.scss"
|
338
|
+
},
|
339
|
+
"2": {
|
340
|
+
"name": "punctuation.definition.keyword.scss"
|
341
|
+
}
|
342
|
+
}
|
355
343
|
},
|
356
344
|
"at_rule_include": {
|
357
345
|
"patterns": [
|
358
346
|
{
|
347
|
+
"name": "meta.at-rule.include.scss",
|
359
348
|
"begin": "\\s*((@)include\\b)\\s*",
|
349
|
+
"end": "\\s*[\\)|\\s\\;]",
|
350
|
+
"patterns": [
|
351
|
+
{
|
352
|
+
"include": "#function_attributes"
|
353
|
+
},
|
354
|
+
{
|
355
|
+
"include": "#functions"
|
356
|
+
}
|
357
|
+
],
|
360
358
|
"captures": {
|
361
359
|
"1": {
|
362
360
|
"name": "keyword.control.at-rule.include.scss"
|
@@ -370,24 +368,21 @@
|
|
370
368
|
"4": {
|
371
369
|
"name": "entity.name.text.scss"
|
372
370
|
}
|
373
|
-
}
|
374
|
-
"end": "\\s*[\\)|\\s\\;]",
|
375
|
-
"name": "meta.at-rule.include.scss",
|
376
|
-
"patterns": [
|
377
|
-
{
|
378
|
-
"include": "#function_attributes"
|
379
|
-
},
|
380
|
-
{
|
381
|
-
"include": "#functions"
|
382
|
-
}
|
383
|
-
]
|
371
|
+
}
|
384
372
|
}
|
385
373
|
]
|
386
374
|
},
|
387
375
|
"at_rule_keyframes": {
|
388
376
|
"patterns": [
|
389
377
|
{
|
378
|
+
"name": "meta.at-rule.keyframes.scss",
|
390
379
|
"begin": "^\\s*((@)(\\-[\\w\\-]*\\-)?keyframes\\b)\\s*([\\w-]*)",
|
380
|
+
"end": "\\s*(?=\\{)",
|
381
|
+
"patterns": [
|
382
|
+
{
|
383
|
+
"include": "#function_attributes"
|
384
|
+
}
|
385
|
+
],
|
391
386
|
"captures": {
|
392
387
|
"1": {
|
393
388
|
"name": "keyword.control.at-rule.keyframes.scss"
|
@@ -401,17 +396,11 @@
|
|
401
396
|
"4": {
|
402
397
|
"name": "entity.name.function.scss"
|
403
398
|
}
|
404
|
-
}
|
405
|
-
"comment": "Keyframes with Attributes",
|
406
|
-
"end": "\\s*(?=\\{)",
|
407
|
-
"name": "meta.at-rule.keyframes.scss",
|
408
|
-
"patterns": [
|
409
|
-
{
|
410
|
-
"include": "#function_attributes"
|
411
|
-
}
|
412
|
-
]
|
399
|
+
}
|
413
400
|
},
|
414
401
|
{
|
402
|
+
"name": "meta.at-rule.keyframes.scss",
|
403
|
+
"match": "^\\s*((@)(\\-[\\w\\-]*\\-)?keyframes\\b)\\s*([\\w-]*)",
|
415
404
|
"captures": {
|
416
405
|
"1": {
|
417
406
|
"name": "keyword.control.at-rule.keyframes.scss"
|
@@ -425,30 +414,16 @@
|
|
425
414
|
"4": {
|
426
415
|
"name": "entity.name.function.scss"
|
427
416
|
}
|
428
|
-
}
|
429
|
-
"comment": "Simple Keyframe",
|
430
|
-
"match": "^\\s*((@)(\\-[\\w\\-]*\\-)?keyframes\\b)\\s*([\\w-]*)",
|
431
|
-
"name": "meta.at-rule.keyframes.scss"
|
417
|
+
}
|
432
418
|
}
|
433
419
|
]
|
434
420
|
},
|
435
421
|
"at_rule_media": {
|
436
422
|
"patterns": [
|
437
423
|
{
|
424
|
+
"name": "meta.at-rule.media.scss",
|
438
425
|
"begin": "\\s*(?=^\\s*@media\\s*.*?\\{)",
|
439
|
-
"captures": {
|
440
|
-
"1": {
|
441
|
-
"name": "keyword.control.at-rule.media.scss"
|
442
|
-
},
|
443
|
-
"2": {
|
444
|
-
"name": "punctuation.definition.keyword.scss"
|
445
|
-
},
|
446
|
-
"3": {
|
447
|
-
"name": "support.constant.media.scss"
|
448
|
-
}
|
449
|
-
},
|
450
426
|
"end": "\\s*(?=\\{)",
|
451
|
-
"name": "meta.at-rule.media.scss",
|
452
427
|
"patterns": [
|
453
428
|
{
|
454
429
|
"include": "#function_attributes"
|
@@ -459,14 +434,32 @@
|
|
459
434
|
{
|
460
435
|
"include": "#logical_operators"
|
461
436
|
}
|
462
|
-
]
|
437
|
+
],
|
438
|
+
"captures": {
|
439
|
+
"1": {
|
440
|
+
"name": "keyword.control.at-rule.media.scss"
|
441
|
+
},
|
442
|
+
"2": {
|
443
|
+
"name": "punctuation.definition.keyword.scss"
|
444
|
+
},
|
445
|
+
"3": {
|
446
|
+
"name": "support.constant.media.scss"
|
447
|
+
}
|
448
|
+
}
|
463
449
|
}
|
464
450
|
]
|
465
451
|
},
|
466
452
|
"at_rule_mixin": {
|
467
453
|
"patterns": [
|
468
454
|
{
|
455
|
+
"name": "meta.at-rule.mixin.scss",
|
469
456
|
"begin": "\\s*((@)mixin) ([\\w-]*)\\s*\\(",
|
457
|
+
"end": "\\)",
|
458
|
+
"patterns": [
|
459
|
+
{
|
460
|
+
"include": "#function_attributes"
|
461
|
+
}
|
462
|
+
],
|
470
463
|
"captures": {
|
471
464
|
"1": {
|
472
465
|
"name": "keyword.control.at-rule.mixin.scss"
|
@@ -477,17 +470,11 @@
|
|
477
470
|
"3": {
|
478
471
|
"name": "entity.name.function.scss"
|
479
472
|
}
|
480
|
-
}
|
481
|
-
"comment": "Mixin with Attributes",
|
482
|
-
"end": "\\)",
|
483
|
-
"name": "meta.at-rule.mixin.scss",
|
484
|
-
"patterns": [
|
485
|
-
{
|
486
|
-
"include": "#function_attributes"
|
487
|
-
}
|
488
|
-
]
|
473
|
+
}
|
489
474
|
},
|
490
475
|
{
|
476
|
+
"name": "meta.at-rule.mixin.scss",
|
477
|
+
"match": "^\\s*((@)mixin) ([\\w-]{1,})",
|
491
478
|
"captures": {
|
492
479
|
"1": {
|
493
480
|
"name": "keyword.control.at-rule.mixin.scss"
|
@@ -498,29 +485,14 @@
|
|
498
485
|
"3": {
|
499
486
|
"name": "entity.name.function.scss"
|
500
487
|
}
|
501
|
-
}
|
502
|
-
"comment": "Simple Mixin",
|
503
|
-
"match": "^\\s*((@)mixin) ([\\w-]{1,})",
|
504
|
-
"name": "meta.at-rule.mixin.scss"
|
488
|
+
}
|
505
489
|
}
|
506
490
|
]
|
507
491
|
},
|
508
492
|
"at_rule_namespace": {
|
493
|
+
"name": "meta.at-rule.namespace.scss",
|
509
494
|
"begin": "\\s*((@)namespace) ([\\w-]*)\\s*",
|
510
|
-
"captures": {
|
511
|
-
"1": {
|
512
|
-
"name": "keyword.control.at-rule.import.scss"
|
513
|
-
},
|
514
|
-
"2": {
|
515
|
-
"name": "punctuation.definition.keyword.scss"
|
516
|
-
},
|
517
|
-
"3": {
|
518
|
-
"name": "entity.name.function.scss"
|
519
|
-
}
|
520
|
-
},
|
521
|
-
"comment": "Namespace",
|
522
495
|
"end": "\\s*((;)|(?=\\}))$",
|
523
|
-
"name": "meta.at-rule.namespace.scss",
|
524
496
|
"patterns": [
|
525
497
|
{
|
526
498
|
"include": "#variable"
|
@@ -531,9 +503,22 @@
|
|
531
503
|
{
|
532
504
|
"include": "#string_double"
|
533
505
|
}
|
534
|
-
]
|
506
|
+
],
|
507
|
+
"captures": {
|
508
|
+
"1": {
|
509
|
+
"name": "keyword.control.at-rule.import.scss"
|
510
|
+
},
|
511
|
+
"2": {
|
512
|
+
"name": "punctuation.definition.keyword.scss"
|
513
|
+
},
|
514
|
+
"3": {
|
515
|
+
"name": "entity.name.function.scss"
|
516
|
+
}
|
517
|
+
}
|
535
518
|
},
|
536
519
|
"at_rule_option": {
|
520
|
+
"name": "meta.at-rule.option.scss",
|
521
|
+
"match": "^\\s*((@)option\\b)\\s*",
|
537
522
|
"captures": {
|
538
523
|
"1": {
|
539
524
|
"name": "keyword.control.at-rule.charset.scss"
|
@@ -541,15 +526,18 @@
|
|
541
526
|
"2": {
|
542
527
|
"name": "punctuation.definition.keyword.scss"
|
543
528
|
}
|
544
|
-
}
|
545
|
-
"comment": "Option",
|
546
|
-
"match": "^\\s*((@)option\\b)\\s*",
|
547
|
-
"name": "meta.at-rule.option.scss"
|
529
|
+
}
|
548
530
|
},
|
549
531
|
"at_rule_page": {
|
550
532
|
"patterns": [
|
551
533
|
{
|
534
|
+
"name": "meta.at-rule.fontface.scss",
|
552
535
|
"begin": "^\\s*((@)page) ([\\w-]*)",
|
536
|
+
"patterns": [
|
537
|
+
{
|
538
|
+
"include": "#function_attributes"
|
539
|
+
}
|
540
|
+
],
|
553
541
|
"captures": {
|
554
542
|
"1": {
|
555
543
|
"name": "keyword.control.at-rule.fontface.scss"
|
@@ -560,17 +548,11 @@
|
|
560
548
|
"3": {
|
561
549
|
"name": "entity.name.function.scss"
|
562
550
|
}
|
563
|
-
}
|
564
|
-
"comment": "Page with Attributes",
|
565
|
-
"end": "",
|
566
|
-
"name": "meta.at-rule.fontface.scss",
|
567
|
-
"patterns": [
|
568
|
-
{
|
569
|
-
"include": "#function_attributes"
|
570
|
-
}
|
571
|
-
]
|
551
|
+
}
|
572
552
|
},
|
573
553
|
{
|
554
|
+
"name": "meta.at-rule.mixin.scss",
|
555
|
+
"match": "^\\s*((@)page) ([\\w-]{1,})",
|
574
556
|
"captures": {
|
575
557
|
"1": {
|
576
558
|
"name": "keyword.control.at-rule.mixin.scss"
|
@@ -581,25 +563,14 @@
|
|
581
563
|
"3": {
|
582
564
|
"name": "entity.name.function.scss"
|
583
565
|
}
|
584
|
-
}
|
585
|
-
"comment": "Simple Page",
|
586
|
-
"match": "^\\s*((@)page) ([\\w-]{1,})",
|
587
|
-
"name": "meta.at-rule.mixin.scss"
|
566
|
+
}
|
588
567
|
}
|
589
568
|
]
|
590
569
|
},
|
591
570
|
"at_rule_return": {
|
571
|
+
"name": "meta.at-rule.return.scss",
|
592
572
|
"begin": "\\s*((@)(return)\\b)",
|
593
|
-
"captures": {
|
594
|
-
"1": {
|
595
|
-
"name": "keyword.control.return.scss"
|
596
|
-
},
|
597
|
-
"2": {
|
598
|
-
"name": "punctuation.definition.keyword.scss"
|
599
|
-
}
|
600
|
-
},
|
601
573
|
"end": "\\s*((?=;))",
|
602
|
-
"name": "meta.at-rule.return.scss",
|
603
574
|
"patterns": [
|
604
575
|
{
|
605
576
|
"include": "#variable"
|
@@ -607,20 +578,20 @@
|
|
607
578
|
{
|
608
579
|
"include": "#property_values"
|
609
580
|
}
|
610
|
-
]
|
611
|
-
},
|
612
|
-
"at_rule_warn": {
|
613
|
-
"begin": "\\s*((@)(warn|debug)\\b)\\s*",
|
581
|
+
],
|
614
582
|
"captures": {
|
615
583
|
"1": {
|
616
|
-
"name": "keyword.control.
|
584
|
+
"name": "keyword.control.return.scss"
|
617
585
|
},
|
618
586
|
"2": {
|
619
587
|
"name": "punctuation.definition.keyword.scss"
|
620
588
|
}
|
621
|
-
}
|
622
|
-
|
589
|
+
}
|
590
|
+
},
|
591
|
+
"at_rule_warn": {
|
623
592
|
"name": "meta.at-rule.warn.scss",
|
593
|
+
"begin": "\\s*((@)(warn|debug)\\b)\\s*",
|
594
|
+
"end": "\\s*(?=\\;)",
|
624
595
|
"patterns": [
|
625
596
|
{
|
626
597
|
"include": "#variable"
|
@@ -631,20 +602,20 @@
|
|
631
602
|
{
|
632
603
|
"include": "#string_single"
|
633
604
|
}
|
634
|
-
]
|
635
|
-
},
|
636
|
-
"at_rule_while": {
|
637
|
-
"begin": "\\s*((@)while\\b)\\s*",
|
605
|
+
],
|
638
606
|
"captures": {
|
639
607
|
"1": {
|
640
|
-
"name": "keyword.control.
|
608
|
+
"name": "keyword.control.warn.scss"
|
641
609
|
},
|
642
610
|
"2": {
|
643
611
|
"name": "punctuation.definition.keyword.scss"
|
644
612
|
}
|
645
|
-
}
|
646
|
-
|
613
|
+
}
|
614
|
+
},
|
615
|
+
"at_rule_while": {
|
647
616
|
"name": "meta.at-rule.while.scss",
|
617
|
+
"begin": "\\s*((@)while\\b)\\s*",
|
618
|
+
"end": "\\s*(?=\\})",
|
648
619
|
"patterns": [
|
649
620
|
{
|
650
621
|
"include": "#logical_operators"
|
@@ -658,45 +629,55 @@
|
|
658
629
|
{
|
659
630
|
"include": "$self"
|
660
631
|
}
|
661
|
-
]
|
632
|
+
],
|
633
|
+
"captures": {
|
634
|
+
"1": {
|
635
|
+
"name": "keyword.control.while.scss"
|
636
|
+
},
|
637
|
+
"2": {
|
638
|
+
"name": "punctuation.definition.keyword.scss"
|
639
|
+
}
|
640
|
+
}
|
662
641
|
},
|
663
642
|
"comment_block": {
|
643
|
+
"name": "comment.block.scss",
|
664
644
|
"begin": "\\s*/\\*\\s*",
|
645
|
+
"end": "(\\*/)\\s*",
|
665
646
|
"captures": {
|
666
647
|
"0": {
|
667
648
|
"name": "punctuation.whitespace.comment.trailing.scss"
|
668
649
|
}
|
669
|
-
}
|
670
|
-
"comment": "Revamped Comment block.",
|
671
|
-
"end": "(\\*/)\\s*",
|
672
|
-
"name": "comment.block.scss"
|
650
|
+
}
|
673
651
|
},
|
674
652
|
"comment_line": {
|
653
|
+
"name": "comment.line.scss",
|
675
654
|
"begin": "(\\s*)//",
|
676
|
-
"
|
677
|
-
"end": "$(\\s*)",
|
678
|
-
"name": "comment.line.scss"
|
655
|
+
"end": "$(\\s*)"
|
679
656
|
},
|
680
657
|
"constant_color": {
|
681
|
-
"
|
682
|
-
"match": "\\b(aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)\\b"
|
683
|
-
"name": "support.constant.color.w3c-standard-color-name.scss"
|
658
|
+
"name": "support.constant.color.w3c-standard-color-name.scss",
|
659
|
+
"match": "\\b(aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)\\b"
|
684
660
|
},
|
685
661
|
"constant_default": {
|
686
|
-
"
|
687
|
-
"
|
662
|
+
"name": "keyword.other.default.scss",
|
663
|
+
"match": "\\!default"
|
688
664
|
},
|
689
665
|
"constant_deprecated_color": {
|
690
|
-
"
|
691
|
-
"match": "\\b(aliceblue|antiquewhite|aquamarine|azure|beige|bisque|blanchedalmond|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|gainsboro|ghostwhite|gold|goldenrod|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|limegreen|linen|magenta|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|oldlace|olivedrab|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|thistle|tomato|turquoise|violet|wheat|whitesmoke|yellowgreen)\\b"
|
692
|
-
"name": "invalid.deprecated.color.w3c-non-standard-color-name.scss"
|
666
|
+
"name": "invalid.deprecated.color.w3c-non-standard-color-name.scss",
|
667
|
+
"match": "\\b(aliceblue|antiquewhite|aquamarine|azure|beige|bisque|blanchedalmond|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|gainsboro|ghostwhite|gold|goldenrod|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|limegreen|linen|magenta|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|oldlace|olivedrab|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|thistle|tomato|turquoise|violet|wheat|whitesmoke|yellowgreen)\\b"
|
693
668
|
},
|
694
669
|
"constant_font": {
|
695
|
-
"
|
696
|
-
"
|
670
|
+
"name": "support.constant.font-name.scss",
|
671
|
+
"match": "(\\b(?i:arial|century|comic|courier|garamond|georgia|helvetica|impact|lucida|symbol|system|tahoma|times|trebuchet|utopia|verdana|webdings|sans-serif|serif|monospace)\\b)"
|
697
672
|
},
|
698
673
|
"constant_functions": {
|
699
674
|
"begin": "([\\w-]+)\\s*(\\()",
|
675
|
+
"end": "(\\))",
|
676
|
+
"patterns": [
|
677
|
+
{
|
678
|
+
"include": "#parameters"
|
679
|
+
}
|
680
|
+
],
|
700
681
|
"beginCaptures": {
|
701
682
|
"1": {
|
702
683
|
"name": "support.function.misc.scss"
|
@@ -705,57 +686,57 @@
|
|
705
686
|
"name": "punctuation.section.function.scss"
|
706
687
|
}
|
707
688
|
},
|
708
|
-
"end": "(\\))",
|
709
689
|
"endCaptures": {
|
710
690
|
"1": {
|
711
691
|
"name": "punctuation.section.function.scss"
|
712
692
|
}
|
713
|
-
}
|
714
|
-
"patterns": [
|
715
|
-
{
|
716
|
-
"include": "#parameters"
|
717
|
-
}
|
718
|
-
]
|
693
|
+
}
|
719
694
|
},
|
720
695
|
"constant_hex": {
|
696
|
+
"name": "constant.other.color.rgb-value.scss",
|
697
|
+
"match": "#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})\\b",
|
721
698
|
"captures": {
|
722
699
|
"1": {
|
723
700
|
"name": "punctuation.definition.constant.scss"
|
724
701
|
}
|
725
|
-
}
|
726
|
-
"match": "#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})\\b",
|
727
|
-
"name": "constant.other.color.rgb-value.scss"
|
702
|
+
}
|
728
703
|
},
|
729
704
|
"constant_important": {
|
730
|
-
"
|
731
|
-
"
|
705
|
+
"name": "keyword.other.important.scss",
|
706
|
+
"match": "\\!important"
|
732
707
|
},
|
733
708
|
"constant_mathematical_symbols": {
|
734
|
-
"
|
735
|
-
"
|
709
|
+
"name": "support.constant.mathematical-symbols.scss",
|
710
|
+
"match": "(\\b(\\+|\\-|\\*|/)\\b)"
|
736
711
|
},
|
737
712
|
"constant_number": {
|
738
|
-
"
|
739
|
-
"
|
713
|
+
"name": "constant.numeric.scss",
|
714
|
+
"match": "[\\+|\\-]?(\\s*)?([0-9]+(\\.[0-9]+)?|\\.[0-9]+)"
|
740
715
|
},
|
741
716
|
"constant_optional": {
|
742
|
-
"
|
743
|
-
"
|
717
|
+
"name": "keyword.other.optional.scss",
|
718
|
+
"match": "\\!optional"
|
744
719
|
},
|
745
720
|
"constant_property_value": {
|
746
|
-
"
|
747
|
-
"
|
721
|
+
"name": "support.constant.property-value.scss",
|
722
|
+
"match": "\\b(absolute|all-scroll|always|armenian|auto|baseline|below|bidi-override|block|bold|bolder|both|bottom|break-all|break-word|capitalize|center|char|circle|cjk-ideographic|col-resize|collapse|crosshair|dashed|decimal-leading-zero|decimal|default|disabled|disc|distribute-all-lines|distribute-letter|distribute-space|distribute|dotted|double|e-resize|ellipsis|fixed|georgian|groove|hand|hebrew|help|hidden|hiragana-iroha|hiragana|horizontal|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|inactive|inherit|inline-block|inline|inset|inside|inter-ideograph|inter-word|italic|justify|katakana-iroha|katakana|keep-all|left|lighter|line-edge|line-through|line|list-item|loose|lower-alpha|lower-greek|lower-latin|lower-roman|lowercase|lr-tb|ltr|medium|middle|move|n-resize|ne-resize|newspaper|no-drop|no-repeat|nw-resize|none|normal|not-allowed|nowrap|oblique|outset|outside|overline|pointer|progress|relative|repeat-x|repeat-y|repeat|right|ridge|row-resize|rtl|s-resize|scroll|se-resize|separate|small-caps|solid|square|static|strict|super|sw-resize|table-footer-group|table-header-group|tb-rl|text-bottom|text-top|text|thick|thin|top|transparent|underline|upper-alpha|upper-latin|upper-roman|uppercase|vertical-ideographic|vertical-text|visible|w-resize|wait|whitespace|zero|true|false|vertical|horizontal)\\b"
|
748
723
|
},
|
749
724
|
"constant_rgb": {
|
750
|
-
"
|
751
|
-
"
|
725
|
+
"name": "constant.other.color.rgb-value.scss",
|
726
|
+
"match": "(\\b0*((1?[0-9]{1,2})|(2([0-4][0-9]|5[0-5])))\\s*,\\s*)(0*((1?[0-9]{1,2})|(2([0-4][0-9]|5[0-5])))\\s*,\\s*)(0*((1?[0-9]{1,2})|(2([0-4][0-9]|5[0-5])))\\b)"
|
752
727
|
},
|
753
728
|
"constant_rgb_percentage": {
|
754
|
-
"
|
755
|
-
"
|
729
|
+
"name": "constant.other.color.rgb-percentage.scss",
|
730
|
+
"match": "\\b([0-9]{1,2}|100)\\s*%,\\s*([0-9]{1,2}|100)\\s*%,\\s*([0-9]{1,2}|100)\\s*%"
|
756
731
|
},
|
757
732
|
"constant_sass_functions": {
|
758
733
|
"begin": "(headings|stylesheet-url|rgba?|hsla?|ie-hex-str|red|green|blue|alpha|opacity|hue|saturation|lightness|prefixed|prefix|-moz|-svg|-css2|-pie|-webkit|-ms|-o|-khtml|font-(?:files|url)|grid-image|image-(?:width|height|url|color)|sprites?|sprite-(?:map|map-name|file|url|position)|inline-(?:font-files|image)|opposite-position|grad-point|grad-end-position|color-stops|color-stops-in-percentages|grad-color-stops|(?:radial|linear)-(?:gradient|svg-gradient)|opacify|fade-?in|transparentize|fade-?out|lighten|darken|saturate|desaturate|grayscale|adjust-(?:hue|lightness|saturation|color)|scale-(?:lightness|saturation|color)|change-color|spin|complement|invert|mix|-compass-(?:list|space-list|slice|nth|list-size)|blank|compact|nth|first-value-of|join|length|append|nest|append-selector|headers|enumerate|range|percentage|unitless|unit|if|type-of|comparable|elements-of-type|quote|unquote|escape|e|sin|cos|tan|abs|round|ceil|floor|pi|translate(?:X|Y))\\s*(\\()",
|
734
|
+
"end": "(\\))",
|
735
|
+
"patterns": [
|
736
|
+
{
|
737
|
+
"include": "#parameters"
|
738
|
+
}
|
739
|
+
],
|
759
740
|
"beginCaptures": {
|
760
741
|
"1": {
|
761
742
|
"name": "support.function.misc.scss"
|
@@ -764,21 +745,15 @@
|
|
764
745
|
"name": "punctuation.section.function.scss"
|
765
746
|
}
|
766
747
|
},
|
767
|
-
"end": "(\\))",
|
768
748
|
"endCaptures": {
|
769
749
|
"1": {
|
770
750
|
"name": "punctuation.section.function.scss"
|
771
751
|
}
|
772
|
-
}
|
773
|
-
"patterns": [
|
774
|
-
{
|
775
|
-
"include": "#parameters"
|
776
|
-
}
|
777
|
-
]
|
752
|
+
}
|
778
753
|
},
|
779
754
|
"constant_unit": {
|
780
|
-
"
|
781
|
-
"
|
755
|
+
"name": "keyword.other.unit.scss",
|
756
|
+
"match": "(?\u003c=[\\d])(ch|cm|deg|dpi|dpcm|dppx|em|ex|grad|in|mm|ms|pc|pt|px|rad|rem|turn|s|vh|vmin|vw)\\b|%"
|
782
757
|
},
|
783
758
|
"flow_control": {
|
784
759
|
"patterns": [
|
@@ -808,8 +783,8 @@
|
|
808
783
|
"function_attributes": {
|
809
784
|
"patterns": [
|
810
785
|
{
|
811
|
-
"
|
812
|
-
"
|
786
|
+
"name": "punctuation.definition",
|
787
|
+
"match": ":"
|
813
788
|
},
|
814
789
|
{
|
815
790
|
"include": "#general"
|
@@ -818,9 +793,8 @@
|
|
818
793
|
"include": "#property_values"
|
819
794
|
},
|
820
795
|
{
|
821
|
-
"
|
822
|
-
"match": "[=\\{\\}\\?\\;\\@]"
|
823
|
-
"name": "invalid.illegal.character_not_allowed_here.scss"
|
796
|
+
"name": "invalid.illegal.character_not_allowed_here.scss",
|
797
|
+
"match": "[=\\{\\}\\?\\;\\@]"
|
824
798
|
}
|
825
799
|
]
|
826
800
|
},
|
@@ -828,6 +802,12 @@
|
|
828
802
|
"patterns": [
|
829
803
|
{
|
830
804
|
"begin": "([\\w-]{1,})(\\()\\s*",
|
805
|
+
"end": "(\\))",
|
806
|
+
"patterns": [
|
807
|
+
{
|
808
|
+
"include": "#parameters"
|
809
|
+
}
|
810
|
+
],
|
831
811
|
"beginCaptures": {
|
832
812
|
"1": {
|
833
813
|
"name": "support.function.misc.scss"
|
@@ -836,26 +816,19 @@
|
|
836
816
|
"name": "punctuation.section.function.scss"
|
837
817
|
}
|
838
818
|
},
|
839
|
-
"end": "(\\))",
|
840
819
|
"endCaptures": {
|
841
820
|
"1": {
|
842
821
|
"name": "punctuation.section.function.scss"
|
843
822
|
}
|
844
|
-
}
|
845
|
-
"patterns": [
|
846
|
-
{
|
847
|
-
"include": "#parameters"
|
848
|
-
}
|
849
|
-
]
|
823
|
+
}
|
850
824
|
},
|
851
825
|
{
|
852
|
-
"
|
853
|
-
"
|
826
|
+
"name": "support.function.misc.scss",
|
827
|
+
"match": "([\\w-]{1,})"
|
854
828
|
}
|
855
829
|
]
|
856
830
|
},
|
857
831
|
"general": {
|
858
|
-
"comment": "Stuff that should be everywhere",
|
859
832
|
"patterns": [
|
860
833
|
{
|
861
834
|
"include": "#variable"
|
@@ -869,9 +842,9 @@
|
|
869
842
|
]
|
870
843
|
},
|
871
844
|
"interpolation": {
|
845
|
+
"name": "variable.other.interpolation.scss",
|
872
846
|
"begin": "#\\{",
|
873
847
|
"end": "\\}([A-Za-z/-]*)?",
|
874
|
-
"name": "variable.other.interpolation.scss",
|
875
848
|
"patterns": [
|
876
849
|
{
|
877
850
|
"include": "#property_values"
|
@@ -882,14 +855,14 @@
|
|
882
855
|
]
|
883
856
|
},
|
884
857
|
"logical_operators": {
|
885
|
-
"
|
886
|
-
"
|
858
|
+
"name": "keyword.control.operator",
|
859
|
+
"match": "\\s(\\=\\=|\\!\\=|\\\u003c\\=|\\\u003e\\=|\\\u003c|\\\u003e|not|or|and)\\s"
|
887
860
|
},
|
888
861
|
"media_attributes": {
|
889
862
|
"patterns": [
|
890
863
|
{
|
891
|
-
"
|
892
|
-
"
|
864
|
+
"name": "punctuation.definition",
|
865
|
+
"match": ":"
|
893
866
|
},
|
894
867
|
{
|
895
868
|
"include": "#general"
|
@@ -901,9 +874,8 @@
|
|
901
874
|
"include": "#property_values"
|
902
875
|
},
|
903
876
|
{
|
904
|
-
"
|
905
|
-
"match": "[=\\{\\}\\?\\@]"
|
906
|
-
"name": "invalid.illegal.character_not_allowed_here.scss"
|
877
|
+
"name": "invalid.illegal.character_not_allowed_here.scss",
|
878
|
+
"match": "[=\\{\\}\\?\\@]"
|
907
879
|
}
|
908
880
|
]
|
909
881
|
},
|
@@ -922,21 +894,21 @@
|
|
922
894
|
"include": "#comment_block"
|
923
895
|
},
|
924
896
|
{
|
925
|
-
"
|
926
|
-
"
|
897
|
+
"name": "variable.parameter.url.scss",
|
898
|
+
"match": "[^'\",) \\t]+"
|
927
899
|
},
|
928
900
|
{
|
929
|
-
"
|
930
|
-
"
|
901
|
+
"name": "punctuation.separator.parameters.scss",
|
902
|
+
"match": ","
|
931
903
|
}
|
932
904
|
]
|
933
905
|
},
|
934
906
|
"properties": {
|
935
907
|
"patterns": [
|
936
908
|
{
|
937
|
-
"begin": "(?<![-a-z])(?=[-a-z])",
|
938
|
-
"end": "$|(?![-a-z])",
|
939
909
|
"name": "meta.property-name.scss",
|
910
|
+
"begin": "(?\u003c![-a-z])(?=[-a-z])",
|
911
|
+
"end": "$|(?![-a-z])",
|
940
912
|
"patterns": [
|
941
913
|
{
|
942
914
|
"include": "#property_names"
|
@@ -947,50 +919,34 @@
|
|
947
919
|
]
|
948
920
|
},
|
949
921
|
{
|
922
|
+
"name": "meta.property-value.scss",
|
950
923
|
"begin": "(:)\\s*(?!(\\s*{))",
|
924
|
+
"end": "\\s*(;|(?=\\}))",
|
925
|
+
"patterns": [
|
926
|
+
{
|
927
|
+
"include": "#general"
|
928
|
+
},
|
929
|
+
{
|
930
|
+
"include": "#property_values"
|
931
|
+
}
|
932
|
+
],
|
951
933
|
"beginCaptures": {
|
952
934
|
"1": {
|
953
935
|
"name": "punctuation.separator.key-value.scss"
|
954
936
|
}
|
955
937
|
},
|
956
|
-
"comment": "Kuroir: fixed nested elements for sass.",
|
957
|
-
"end": "\\s*(;|(?=\\}))",
|
958
938
|
"endCaptures": {
|
959
939
|
"1": {
|
960
940
|
"name": "punctuation.terminator.rule.scss"
|
961
941
|
}
|
962
|
-
}
|
963
|
-
"name": "meta.property-value.scss",
|
964
|
-
"patterns": [
|
965
|
-
{
|
966
|
-
"include": "#general"
|
967
|
-
},
|
968
|
-
{
|
969
|
-
"include": "#property_values"
|
970
|
-
}
|
971
|
-
]
|
942
|
+
}
|
972
943
|
}
|
973
944
|
]
|
974
945
|
},
|
975
946
|
"property_list": {
|
947
|
+
"name": "meta.property-list.scss",
|
976
948
|
"begin": "\\{",
|
977
|
-
"beginCaptures": {
|
978
|
-
"0": {
|
979
|
-
"name": "punctuation.section.property-list.begin.scss"
|
980
|
-
}
|
981
|
-
},
|
982
|
-
"captures": {
|
983
|
-
"0": {
|
984
|
-
"name": "punctuation.section.property-list.scss"
|
985
|
-
}
|
986
|
-
},
|
987
949
|
"end": "\\}",
|
988
|
-
"endCaptures": {
|
989
|
-
"0": {
|
990
|
-
"name": "punctuation.section.property-list.end.scss"
|
991
|
-
}
|
992
|
-
},
|
993
|
-
"name": "meta.property-list.scss",
|
994
950
|
"patterns": [
|
995
951
|
{
|
996
952
|
"include": "#flow_control"
|
@@ -1004,16 +960,30 @@
|
|
1004
960
|
{
|
1005
961
|
"include": "$self"
|
1006
962
|
}
|
1007
|
-
]
|
963
|
+
],
|
964
|
+
"captures": {
|
965
|
+
"0": {
|
966
|
+
"name": "punctuation.section.property-list.scss"
|
967
|
+
}
|
968
|
+
},
|
969
|
+
"beginCaptures": {
|
970
|
+
"0": {
|
971
|
+
"name": "punctuation.section.property-list.begin.scss"
|
972
|
+
}
|
973
|
+
},
|
974
|
+
"endCaptures": {
|
975
|
+
"0": {
|
976
|
+
"name": "punctuation.section.property-list.end.scss"
|
977
|
+
}
|
978
|
+
}
|
1008
979
|
},
|
1009
980
|
"property_name": {
|
1010
|
-
"
|
1011
|
-
"match": "\\b(-webkit-[A-Za-z]+|-moz-[A-Za-z]+|-o-[A-Za-z]+|-ms-[A-Za-z]+|-khtml-[A-Za-z]+|[0-9]{1,3}\\%|zoom|z-index|y|x|wrap|word-wrap|word-spacing|word-break|word|will-change|width|widows|white-space-collapse|white-space|white|weight|volume|voice-volume|voice-stress|voice-rate|voice-pitch-range|voice-pitch|voice-family|voice-duration|voice-balance|voice|visibility|vertical-align|variant|user-select|up|unicode-bidi|unicode|trim|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform|top-width|top-style|top-right-radius|top-left-radius|top-color|top|timing-function|text-wrap|text-transform|text-shadow|text-replace|text-outline|text-justify|text-indent|text-height|text-emphasis|text-decoration|text-align-last|text-align|text|target-position|target-new|target-name|target|table-layout|tab-size|style-type|style-position|style-image|style|string-set|stretch|stress|stacking-strategy|stacking-shift|stacking-ruby|stacking|src|speed|speech-rate|speech|speak-punctuation|speak-numeral|speak-header|speak|span|spacing|space-collapse|space|sizing|size-adjust|size|shadow|respond-to|rule-width|rule-style|rule-color|rule|ruby-span|ruby-position|ruby-overhang|ruby-align|ruby|rows|rotation-point|rotation|role|right-width|right-style|right-color|right|richness|rest-before|rest-after|rest|resource|resolution|resize|reset|replace|repeat|rendering-intent|rate|radius|quotes|punctuation-trim|punctuation|property|profile|presentation-level|presentation|prespective|prespective-origin|position|pointer-events|point|play-state|play-during|play-count|pitch-range|pitch|phonemes|pause-before|pause-after|pause|page-policy|page-break-inside|page-break-before|page-break-after|page|padding-top|padding-right|padding-left|padding-bottom|padding|pack|overhang|overflow-y|overflow-x|overflow-style|overflow|outline-width|outline-style|outline-offset|outline-color|outline|orphans|origin|orientation|orient|ordinal-group|opacity|offset|numeral|new|nav-up|nav-right|nav-left|nav-index|nav-down|nav|name|move-to|model|min-width|min-height|min|max-width|max-height|max|marquee-style|marquee-speed|marquee-play-count|marquee-direction|marquee|marks|mark-before|mark-after|mark|margin-top|margin-right|margin-left|margin-bottom|margin|mask-image|list-style-type|list-style-position|list-style-image|list-style|list|lines|line-stacking-strategy|line-stacking-shift|line-stacking-ruby|line-stacking|line-height|line|level|letter-spacing|length|left-width|left-style|left-color|left|label|justify|iteration-count|inline-box-align|initial-value|initial-size|initial-before-align|initial-before-adjust|initial-after-align|initial-after-adjust|index|indent|increment|image-resolution|image-orientation|image|icon|hyphens|hyphenate-resource|hyphenate-lines|hyphenate-character|hyphenate-before|hyphenate-after|hyphenate|height|header|hanging-punctuation|grid-rows|grid-columns|grid|gap|font-weight|font-variant|font-style|font-stretch|font-size-adjust|font-size|font-feature-settings|font-family|font|float-offset|float|flex-group|flex|fit-position|fit|fill|filter|family|empty-cells|emphasis|elevation|duration|drop-initial-value|drop-initial-size|drop-initial-before-align|drop-initial-before-adjust|drop-initial-after-align|drop-initial-after-adjust|drop|down|dominant-baseline|display-role|display-model|display|direction|delay|decoration-break|decoration|cursor|cue-before|cue-after|cue|crop|counter-reset|counter-increment|counter|count|content|columns|column-width|column-span|column-rule-width|column-rule-style|column-rule-color|column-rule|column-gap|column-fill|column-count|column-break-before|column-break-after|column|color-profile|color|collapse|clip|clear|character|caption-side|break-inside|break-before|break-after|break|box-sizing|box-shadow|box-pack|box-orient|box-ordinal-group|box-lines|box-flex-group|box-flex|box-direction|box-decoration-break|box-align|box|bottom-width|bottom-style|bottom-right-radius|bottom-left-radius|bottom-color|bottom|border-width|border-top-width|border-top-style|border-top-right-radius|border-top-left-radius|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-radius|border-length|border-left-width|border-left-style|border-left-color|border-left|border-image|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-right-radius|border-bottom-left-radius|border-bottom-color|border-bottom|border|bookmark-target|bookmark-level|bookmark-label|bookmark|binding|bidi|before|baseline-shift|baseline|balance|background-size|background-repeat|background-position|background-origin|background-image|background-color|background-clip|background-break|background-attachment|background|azimuth|attachment|appearance|animation-timing-function|animation-play-state|animation-name|animation-iteration-count|animation-duration|animation-direction|animation-delay|animation|alignment-baseline|alignment-adjust|alignment|align-self|align-last|align-items|align|after|adjust)\\b"
|
1012
|
-
"name": "support.type.property-name.scss"
|
981
|
+
"name": "support.type.property-name.scss",
|
982
|
+
"match": "\\b(-webkit-[A-Za-z]+|-moz-[A-Za-z]+|-o-[A-Za-z]+|-ms-[A-Za-z]+|-khtml-[A-Za-z]+|[0-9]{1,3}\\%|zoom|z-index|y|x|wrap|word-wrap|word-spacing|word-break|word|will-change|width|widows|white-space-collapse|white-space|white|weight|volume|voice-volume|voice-stress|voice-rate|voice-pitch-range|voice-pitch|voice-family|voice-duration|voice-balance|voice|visibility|vertical-align|variant|user-select|up|unicode-bidi|unicode|trim|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform|top-width|top-style|top-right-radius|top-left-radius|top-color|top|timing-function|text-wrap|text-transform|text-shadow|text-replace|text-outline|text-justify|text-indent|text-height|text-emphasis|text-decoration|text-align-last|text-align|text|target-position|target-new|target-name|target|table-layout|tab-size|style-type|style-position|style-image|style|string-set|stretch|stress|stacking-strategy|stacking-shift|stacking-ruby|stacking|src|speed|speech-rate|speech|speak-punctuation|speak-numeral|speak-header|speak|span|spacing|space-collapse|space|sizing|size-adjust|size|shadow|respond-to|rule-width|rule-style|rule-color|rule|ruby-span|ruby-position|ruby-overhang|ruby-align|ruby|rows|rotation-point|rotation|role|right-width|right-style|right-color|right|richness|rest-before|rest-after|rest|resource|resolution|resize|reset|replace|repeat|rendering-intent|rate|radius|quotes|punctuation-trim|punctuation|property|profile|presentation-level|presentation|prespective|prespective-origin|position|pointer-events|point|play-state|play-during|play-count|pitch-range|pitch|phonemes|pause-before|pause-after|pause|page-policy|page-break-inside|page-break-before|page-break-after|page|padding-top|padding-right|padding-left|padding-bottom|padding|pack|overhang|overflow-y|overflow-x|overflow-style|overflow|outline-width|outline-style|outline-offset|outline-color|outline|orphans|origin|orientation|orient|ordinal-group|opacity|offset|numeral|new|nav-up|nav-right|nav-left|nav-index|nav-down|nav|name|move-to|model|min-width|min-height|min|max-width|max-height|max|marquee-style|marquee-speed|marquee-play-count|marquee-direction|marquee|marks|mark-before|mark-after|mark|margin-top|margin-right|margin-left|margin-bottom|margin|mask-image|list-style-type|list-style-position|list-style-image|list-style|list|lines|line-stacking-strategy|line-stacking-shift|line-stacking-ruby|line-stacking|line-height|line|level|letter-spacing|length|left-width|left-style|left-color|left|label|justify|iteration-count|inline-box-align|initial-value|initial-size|initial-before-align|initial-before-adjust|initial-after-align|initial-after-adjust|index|indent|increment|image-resolution|image-orientation|image|icon|hyphens|hyphenate-resource|hyphenate-lines|hyphenate-character|hyphenate-before|hyphenate-after|hyphenate|height|header|hanging-punctuation|grid-rows|grid-columns|grid|gap|font-weight|font-variant|font-style|font-stretch|font-size-adjust|font-size|font-feature-settings|font-family|font|float-offset|float|flex-group|flex|fit-position|fit|fill|filter|family|empty-cells|emphasis|elevation|duration|drop-initial-value|drop-initial-size|drop-initial-before-align|drop-initial-before-adjust|drop-initial-after-align|drop-initial-after-adjust|drop|down|dominant-baseline|display-role|display-model|display|direction|delay|decoration-break|decoration|cursor|cue-before|cue-after|cue|crop|counter-reset|counter-increment|counter|count|content|columns|column-width|column-span|column-rule-width|column-rule-style|column-rule-color|column-rule|column-gap|column-fill|column-count|column-break-before|column-break-after|column|color-profile|color|collapse|clip|clear|character|caption-side|break-inside|break-before|break-after|break|box-sizing|box-shadow|box-pack|box-orient|box-ordinal-group|box-lines|box-flex-group|box-flex|box-direction|box-decoration-break|box-align|box|bottom-width|bottom-style|bottom-right-radius|bottom-left-radius|bottom-color|bottom|border-width|border-top-width|border-top-style|border-top-right-radius|border-top-left-radius|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-radius|border-length|border-left-width|border-left-style|border-left-color|border-left|border-image|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-right-radius|border-bottom-left-radius|border-bottom-color|border-bottom|border|bookmark-target|bookmark-level|bookmark-label|bookmark|binding|bidi|before|baseline-shift|baseline|balance|background-size|background-repeat|background-position|background-origin|background-image|background-color|background-clip|background-break|background-attachment|background|azimuth|attachment|appearance|animation-timing-function|animation-play-state|animation-name|animation-iteration-count|animation-duration|animation-direction|animation-delay|animation|alignment-baseline|alignment-adjust|alignment|align-self|align-last|align-items|align|after|adjust)\\b"
|
1013
983
|
},
|
1014
984
|
"property_name_error": {
|
1015
|
-
"
|
1016
|
-
"
|
985
|
+
"name": "invalid.illegal.unknown-property-name.scss",
|
986
|
+
"match": "(?\u003c![a-z-])(?!-(top|right|left|bottom|color|radius|last|inside|width|before|after|value|size|type|position|style|image|strategy|shift|align|adjust)\\b|-webkit-[A-Za-z]+\\b|-moz-[A-Za-z]+\\b|-o-[A-Za-z]+\\b|-ms-[A-Za-z]+\\b|-khtml-[A-Za-z]+\\b|z-index\\b|[0-9]{1,3}\\%\\b|zoom\\b|y\\b|x\\b|wrap\\b|word-wrap\\b|word-spacing\\b|word-break\\b|word\\b|will-change\\b|width\\b|widows\\b|white-space-collapse\\b|white-space\\b|white\\b|weight\\b|volume\\b|voice-volume\\b|voice-stress\\b|voice-rate\\b|voice-pitch-range\\b|voice-pitch\\b|voice-family\\b|voice-duration\\b|voice-balance\\b|voice\\b|visibility\\b|vertical-align\\b|variant\\b|user-select\\b|up\\b|unicode-bidi\\b|unicode\\b|u\\b|tt\\b|trim\\b|transition-timing-function\\b|transition-property\\b|transition-duration\\b|transition-delay\\b|transition\\b|transform\\b|top-width\\b|top-style\\b|top-right-radius\\b|top-left-radius\\b|top-color\\b|top\\b|timing-function\\b|text-wrap\\b|text-transform\\b|text-shadow\\b|text-replace\\b|text-outline\\b|text-justify\\b|text-indent\\b|text-height\\b|text-emphasis\\b|text-decoration\\b|text-align-last\\b|text-align\\b|text\\b|target-position\\b|target-new\\b|target-name\\b|target\\b|table-layout\\b|tab-size\\b|style-type\\b|style-position\\b|style-image\\b|style\\b|string-set\\b|strike\\b|stretch\\b|stress\\b|stacking-strategy\\b|stacking-shift\\b|stacking-ruby\\b|stacking\\b|src\\b|speed\\b|speech-rate\\b|speech\\b|speak-punctuation\\b|speak-numeral\\b|speak-header\\b|speak\\b|span\\b|spacing\\b|space-collapse\\b|space\\b|sizing\\b|size-adjust\\b|size\\b|shadow\\b|stroke\\b|stroke-width\\b|s\\b|respond-to\\b|rule-width\\b|rule-style\\b|rule-color\\b|rule\\b|ruby-span\\b|ruby-position\\b|ruby-overhang\\b|ruby-align\\b|ruby\\b|rows\\b|rotation-point\\b|rotation\\b|role\\b|right-width\\b|right-style\\b|right-color\\b|right\\b|richness\\b|rest-before\\b|rest-after\\b|rest\\b|resource\\b|resolution\\b|resize\\b|reset\\b|replace\\b|repeat\\b|rendering-intent\\b|rate\\b|radius\\b|quotes\\b|punctuation-trim\\b|punctuation\\b|property\\b|profile\\b|presentation-level\\b|presentation\\b|prespective\\b|prespective-origin\\b|position\\b|pointer-events\\b|point\\b|play-state\\b|play-during\\b|play-count\\b|pitch-range\\b|pitch\\b|phonemes\\b|pause-before\\b|pause-after\\b|pause\\b|page-policy\\b|page-break-inside\\b|page-break-before\\b|page-break-after\\b|page\\b|padding-top\\b|padding-right\\b|padding-left\\b|padding-bottom\\b|padding\\b|pack\\b|overhang\\b|overflow-y\\b|overflow-x\\b|overflow-style\\b|overflow\\b|outline-width\\b|outline-style\\b|outline-offset\\b|outline-color\\b|outline\\b|orphans\\b|origin\\b|orientation\\b|orient\\b|ordinal-group\\b|opacity\\b|offset\\b|numeral\\b|new\\b|nav-up\\b|nav-right\\b|nav-left\\b|nav-index\\b|nav-down\\b|nav\\b|name\\b|move-to\\b|model\\b|min-width\\b|min-height\\b|min\\b|max-width\\b|max-height\\b|max\\b|marquee-style\\b|marquee-speed\\b|marquee-play-count\\b|marquee-direction\\b|marquee\\b|marks\\b|mark-before\\b|mark-after\\b|mark\\b|margin-top\\b|margin-right\\b|margin-left\\b|margin-bottom\\b|margin\\b|mask-image\\b|list-style-type\\b|list-style-position\\b|list-style-image\\b|list-style\\b|list\\b|lines\\b|line-stacking-strategy\\b|line-stacking-shift\\b|line-stacking-ruby\\b|line-stacking\\b|line-height\\b|line\\b|level\\b|letter-spacing\\b|length\\b|left-width\\b|left-style\\b|left-color\\b|left\\b|label\\b|justify\\b|iteration-count\\b|inline-box-align\\b|initial-value\\b|initial-size\\b|initial-before-align\\b|initial-before-adjust\\b|initial-after-align\\b|initial-after-adjust\\b|index\\b|indent\\b|increment\\b|image-resolution\\b|image-orientation\\b|image\\b|icon\\b|hyphens\\b|hyphenate-resource\\b|hyphenate-lines\\b|hyphenate-character\\b|hyphenate-before\\b|hyphenate-after\\b|hyphenate\\b|height\\b|header\\b|hanging-punctuation\\b|grid-rows\\b|grid-columns\\b|grid\\b|gap\\b|font-weight\\b|font-variant\\b|font-style\\b|font-stretch\\b|font-size-adjust\\b|font-size\\b|font-feature-settings\\b|font-family\\b|font\\b|float-offset\\b|float\\b|flex-group\\b|flex\\b|fit-position\\b|fit\\b|fill\\b|filter\\b|family\\b|empty-cells\\b|emphasis\\b|elevation\\b|duration\\b|drop-initial-value\\b|drop-initial-size\\b|drop-initial-before-align\\b|drop-initial-before-adjust\\b|drop-initial-after-align\\b|drop-initial-after-adjust\\b|drop\\b|down\\b|dominant-baseline\\b|display-role\\b|display-model\\b|display\\b|direction\\b|delay\\b|decoration-break\\b|decoration\\b|cursor\\b|cue-before\\b|cue-after\\b|cue\\b|crop\\b|counter-reset\\b|counter-increment\\b|counter\\b|count\\b|content\\b|columns\\b|column-width\\b|column-span\\b|column-rule-width\\b|column-rule-style\\b|column-rule-color\\b|column-rule\\b|column-gap\\b|column-fill\\b|column-count\\b|column-break-before\\b|column-break-after\\b|column\\b|color-profile\\b|color\\b|collapse\\b|clip\\b|clear\\b|character\\b|center\\b|caption-side\\b|break-inside\\b|break-before\\b|break-after\\b|break\\b|box-sizing\\b|box-shadow\\b|box-pack\\b|box-orient\\b|box-ordinal-group\\b|box-lines\\b|box-flex-group\\b|box-flex\\b|box-direction\\b|box-decoration-break\\b|box-align\\b|box\\b|bottom-width\\b|bottom-style\\b|bottom-right-radius\\b|bottom-left-radius\\b|bottom-color\\b|bottom\\b|border-width\\b|border-top-width\\b|border-top-style\\b|border-top-right-radius\\b|border-top-left-radius\\b|border-top-color\\b|border-top\\b|border-style\\b|border-spacing\\b|border-right-width\\b|border-right-style\\b|border-right-color\\b|border-right\\b|border-radius\\b|border-length\\b|border-left-width\\b|border-left-style\\b|border-left-color\\b|border-left\\b|border-image\\b|border-color\\b|border-collapse\\b|border-bottom-width\\b|border-bottom-style\\b|border-bottom-right-radius\\b|border-bottom-left-radius\\b|border-bottom-color\\b|border-bottom\\b|border\\b|bookmark-target\\b|bookmark-level\\b|bookmark-label\\b|bookmark\\b|binding\\b|bidi\\b|big\\b|before\\b|baseline-shift\\b|baseline\\b|balance\\b|background-size\\b|background-repeat\\b|background-position\\b|background-origin\\b|background-image\\b|background-color\\b|background-clip\\b|background-break\\b|background-attachment\\b|background\\b|azimuth\\b|attachment\\b|applet\\b|appearance\\b|animation-timing-function\\b|animation-play-state\\b|animation-name\\b|animation-iteration-count\\b|animation-duration\\b|animation-direction\\b|animation-delay\\b|animation\\b|alignment-baseline\\b|alignment-adjust\\b|alignment\\b|align-self\\b|align-last\\b|align-items\\b|align\\b|after\\b|adjust\\b|acronym\\b)[a-z\\-\\_]+"
|
1017
987
|
},
|
1018
988
|
"property_names": {
|
1019
989
|
"patterns": [
|
@@ -1026,7 +996,6 @@
|
|
1026
996
|
]
|
1027
997
|
},
|
1028
998
|
"property_values": {
|
1029
|
-
"comment": "Stuff that should only be available on values.",
|
1030
999
|
"patterns": [
|
1031
1000
|
{
|
1032
1001
|
"include": "#string_single"
|
@@ -1104,15 +1073,17 @@
|
|
1104
1073
|
]
|
1105
1074
|
},
|
1106
1075
|
"selector_ampersand_class": {
|
1076
|
+
"name": "entity.other.attribute-name.class.css",
|
1077
|
+
"match": "(\\\u0026)[a-zA-Z0-9_-]+",
|
1107
1078
|
"captures": {
|
1108
1079
|
"1": {
|
1109
1080
|
"name": "punctuation.definition.entity.css"
|
1110
1081
|
}
|
1111
|
-
}
|
1112
|
-
"match": "(\\&)[a-zA-Z0-9_-]+",
|
1113
|
-
"name": "entity.other.attribute-name.class.css"
|
1082
|
+
}
|
1114
1083
|
},
|
1115
1084
|
"selector_attribute": {
|
1085
|
+
"name": "meta.attribute-selector.scss",
|
1086
|
+
"match": "(?i)(\\[)\\s*(-?[_a-z\\\\[[:^ascii:]]][_a-z0-9\\-\\\\[[:^ascii:]]]*)(?:\\s*([~|^$*]?=)\\s*(?:(-?[_a-z\\\\[[:^ascii:]]][_a-z0-9\\-\\\\[[:^ascii:]]]*)|((?\u003e(['\"])(?:[^\\\\]|\\\\.)*?(\\6)))))?\\s*(\\])",
|
1116
1087
|
"captures": {
|
1117
1088
|
"1": {
|
1118
1089
|
"name": "punctuation.definition.entity.scss"
|
@@ -1135,61 +1106,58 @@
|
|
1135
1106
|
"7": {
|
1136
1107
|
"name": "punctuation.definition.string.end.scss"
|
1137
1108
|
}
|
1138
|
-
}
|
1139
|
-
"match": "(?i)(\\[)\\s*(-?[_a-z\\\\[[:^ascii:]]][_a-z0-9\\-\\\\[[:^ascii:]]]*)(?:\\s*([~|^$*]?=)\\s*(?:(-?[_a-z\\\\[[:^ascii:]]][_a-z0-9\\-\\\\[[:^ascii:]]]*)|((?>(['\"])(?:[^\\\\]|\\\\.)*?(\\6)))))?\\s*(\\])",
|
1140
|
-
"name": "meta.attribute-selector.scss"
|
1109
|
+
}
|
1141
1110
|
},
|
1142
1111
|
"selector_class": {
|
1112
|
+
"name": "entity.other.attribute-name.class.css",
|
1113
|
+
"match": "(\\.)[a-zA-Z0-9_-]+",
|
1143
1114
|
"captures": {
|
1144
1115
|
"1": {
|
1145
1116
|
"name": "punctuation.definition.entity.css"
|
1146
1117
|
}
|
1147
|
-
}
|
1148
|
-
"match": "(\\.)[a-zA-Z0-9_-]+",
|
1149
|
-
"name": "entity.other.attribute-name.class.css"
|
1118
|
+
}
|
1150
1119
|
},
|
1151
1120
|
"selector_entities": {
|
1152
|
-
"
|
1153
|
-
"
|
1121
|
+
"name": "entity.name.tag.scss",
|
1122
|
+
"match": "\\b(a|abbr|acronym|address|area|article|aside|applet|audio|b|base|bdo|big|blockquote|body|br|button|canvas|caption|center|cite|code|col|colgroup|command|datalist|dd|del|details|dfn|div|dl|dt|em|embed|fieldset|figcaption|figure|footer|form|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|keygen|kbd|label|legend|li|link|main|map|mark|menu|meta|meter|nav|noscript|object|ol|optgroup|option|output|p|param|picture|pre|progress|q|rp|rt|ruby|s|samp|script|section|select|small|source|span|strike|strong|style|sub|summary|sup|svg|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|u|ul|var|video)\\b"
|
1154
1123
|
},
|
1155
1124
|
"selector_id": {
|
1125
|
+
"name": "entity.other.attribute-name.id.css",
|
1126
|
+
"match": "(#)[a-zA-Z][a-zA-Z0-9_-]*",
|
1156
1127
|
"captures": {
|
1157
1128
|
"1": {
|
1158
1129
|
"name": "punctuation.definition.entity.css"
|
1159
1130
|
}
|
1160
|
-
}
|
1161
|
-
"match": "(#)[a-zA-Z][a-zA-Z0-9_-]*",
|
1162
|
-
"name": "entity.other.attribute-name.id.css"
|
1131
|
+
}
|
1163
1132
|
},
|
1164
1133
|
"selector_placeholder": {
|
1134
|
+
"name": "entity.other.attribute-name.placeholder.scss",
|
1135
|
+
"match": "(\\%)[a-zA-Z0-9_-]+",
|
1165
1136
|
"captures": {
|
1166
1137
|
"1": {
|
1167
1138
|
"name": "punctuation.definition.entity.scss"
|
1168
1139
|
}
|
1169
|
-
}
|
1170
|
-
"match": "(\\%)[a-zA-Z0-9_-]+",
|
1171
|
-
"name": "entity.other.attribute-name.placeholder.scss"
|
1140
|
+
}
|
1172
1141
|
},
|
1173
1142
|
"selector_pseudo_class": {
|
1143
|
+
"name": "entity.other.attribute-name.pseudo-class.css",
|
1144
|
+
"match": "(:+)\\b(link|visited|hover|active|focus|target|lang|disabled|enabled|checked|indeterminate|root|nth-child|nth-last-child|nth-of-type|nth-last-of-type|first-child|last-child|first-of-type|last-of-type|only-child|only-of-type|empty|not|valid|invalid)([\\(\\)\\+0-9A-Za-z]*)?",
|
1174
1145
|
"captures": {
|
1175
1146
|
"1": {
|
1176
1147
|
"name": "punctuation.definition.entity.css"
|
1177
1148
|
}
|
1178
|
-
}
|
1179
|
-
"match": "(:+)\\b(link|visited|hover|active|focus|target|lang|disabled|enabled|checked|indeterminate|root|nth-child|nth-last-child|nth-of-type|nth-last-of-type|first-child|last-child|first-of-type|last-of-type|only-child|only-of-type|empty|not|valid|invalid)([\\(\\)\\+0-9A-Za-z]*)?",
|
1180
|
-
"name": "entity.other.attribute-name.pseudo-class.css"
|
1149
|
+
}
|
1181
1150
|
},
|
1182
1151
|
"selector_pseudo_element": {
|
1152
|
+
"name": "entity.other.attribute-name.pseudo-element.css",
|
1153
|
+
"match": "(:+)(-(webkit|moz)-)?\\b(after|before|first-letter|first-line|selection|any-link|local-link|input-placeholder|focus-inner|matches|nth-match|column|nth-column)\\b",
|
1183
1154
|
"captures": {
|
1184
1155
|
"1": {
|
1185
1156
|
"name": "punctuation.definition.entity.css"
|
1186
1157
|
}
|
1187
|
-
}
|
1188
|
-
"match": "(:+)(-(webkit|moz)-)?\\b(after|before|first-letter|first-line|selection|any-link|local-link|input-placeholder|focus-inner|matches|nth-match|column|nth-column)\\b",
|
1189
|
-
"name": "entity.other.attribute-name.pseudo-element.css"
|
1158
|
+
}
|
1190
1159
|
},
|
1191
1160
|
"selectors": {
|
1192
|
-
"comment": "Stuff for Selectors.",
|
1193
1161
|
"patterns": [
|
1194
1162
|
{
|
1195
1163
|
"include": "#selector_entities"
|
@@ -1224,57 +1192,57 @@
|
|
1224
1192
|
]
|
1225
1193
|
},
|
1226
1194
|
"string_double": {
|
1195
|
+
"name": "string.quoted.double.scss",
|
1227
1196
|
"begin": "\"",
|
1197
|
+
"end": "\"",
|
1198
|
+
"patterns": [
|
1199
|
+
{
|
1200
|
+
"name": "constant.character.escape.scss",
|
1201
|
+
"match": "\\\\."
|
1202
|
+
},
|
1203
|
+
{
|
1204
|
+
"include": "#interpolation"
|
1205
|
+
}
|
1206
|
+
],
|
1228
1207
|
"beginCaptures": {
|
1229
1208
|
"0": {
|
1230
1209
|
"name": "punctuation.definition.string.begin.scss"
|
1231
1210
|
}
|
1232
1211
|
},
|
1233
|
-
"end": "\"",
|
1234
1212
|
"endCaptures": {
|
1235
1213
|
"0": {
|
1236
1214
|
"name": "punctuation.definition.string.end.scss"
|
1237
1215
|
}
|
1238
|
-
}
|
1239
|
-
"name": "string.quoted.double.scss",
|
1240
|
-
"patterns": [
|
1241
|
-
{
|
1242
|
-
"match": "\\\\.",
|
1243
|
-
"name": "constant.character.escape.scss"
|
1244
|
-
},
|
1245
|
-
{
|
1246
|
-
"include": "#interpolation"
|
1247
|
-
}
|
1248
|
-
]
|
1216
|
+
}
|
1249
1217
|
},
|
1250
1218
|
"string_single": {
|
1219
|
+
"name": "string.quoted.single.scss",
|
1251
1220
|
"begin": "'",
|
1221
|
+
"end": "'",
|
1222
|
+
"patterns": [
|
1223
|
+
{
|
1224
|
+
"name": "constant.character.escape.scss",
|
1225
|
+
"match": "\\\\."
|
1226
|
+
}
|
1227
|
+
],
|
1252
1228
|
"beginCaptures": {
|
1253
1229
|
"0": {
|
1254
1230
|
"name": "punctuation.definition.string.begin.scss"
|
1255
1231
|
}
|
1256
1232
|
},
|
1257
|
-
"end": "'",
|
1258
1233
|
"endCaptures": {
|
1259
1234
|
"0": {
|
1260
1235
|
"name": "punctuation.definition.string.end.scss"
|
1261
1236
|
}
|
1262
|
-
}
|
1263
|
-
"name": "string.quoted.single.scss",
|
1264
|
-
"patterns": [
|
1265
|
-
{
|
1266
|
-
"match": "\\\\.",
|
1267
|
-
"name": "constant.character.escape.scss"
|
1268
|
-
}
|
1269
|
-
]
|
1237
|
+
}
|
1270
1238
|
},
|
1271
1239
|
"tag_parent_reference": {
|
1272
|
-
"
|
1273
|
-
"
|
1240
|
+
"name": "entity.name.tag.reference.scss",
|
1241
|
+
"match": "\\\u0026"
|
1274
1242
|
},
|
1275
1243
|
"tag_wildcard": {
|
1276
|
-
"
|
1277
|
-
"
|
1244
|
+
"name": "entity.name.tag.wildcard.scss",
|
1245
|
+
"match": "\\*"
|
1278
1246
|
},
|
1279
1247
|
"variable": {
|
1280
1248
|
"patterns": [
|
@@ -1287,17 +1255,9 @@
|
|
1287
1255
|
]
|
1288
1256
|
},
|
1289
1257
|
"variable_setting": {
|
1258
|
+
"name": "meta.set.variable",
|
1290
1259
|
"begin": "\\s*(\\$[A-Za-z0-9_-]+\\b)\\s*(\\:)\\s*",
|
1291
|
-
"captures": {
|
1292
|
-
"1": {
|
1293
|
-
"name": "variable.other.scss"
|
1294
|
-
},
|
1295
|
-
"2": {
|
1296
|
-
"name": "punctuation.separator.key-value.scss"
|
1297
|
-
}
|
1298
|
-
},
|
1299
1260
|
"end": "\\s*(?=\\;)",
|
1300
|
-
"name": "meta.set.variable",
|
1301
1261
|
"patterns": [
|
1302
1262
|
{
|
1303
1263
|
"include": "#property_values"
|
@@ -1305,17 +1265,23 @@
|
|
1305
1265
|
{
|
1306
1266
|
"include": "#variable"
|
1307
1267
|
}
|
1308
|
-
]
|
1268
|
+
],
|
1269
|
+
"captures": {
|
1270
|
+
"1": {
|
1271
|
+
"name": "variable.other.scss"
|
1272
|
+
},
|
1273
|
+
"2": {
|
1274
|
+
"name": "punctuation.separator.key-value.scss"
|
1275
|
+
}
|
1276
|
+
}
|
1309
1277
|
},
|
1310
1278
|
"variables": {
|
1279
|
+
"match": "\\s*(\\$[A-Za-z0-9_-]+\\b)\\s*",
|
1311
1280
|
"captures": {
|
1312
1281
|
"1": {
|
1313
1282
|
"name": "variable.other.scss"
|
1314
1283
|
}
|
1315
|
-
}
|
1316
|
-
"match": "\\s*(\\$[A-Za-z0-9_-]+\\b)\\s*"
|
1284
|
+
}
|
1317
1285
|
}
|
1318
|
-
}
|
1319
|
-
|
1320
|
-
"uuid": "3D9ADE5E-ADC5-460F-97B3-B61EF5A18273"
|
1321
|
-
}
|
1286
|
+
}
|
1287
|
+
}
|