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.
Files changed (460) hide show
  1. checksums.yaml +4 -4
  2. data/bin/git-linguist +5 -2
  3. data/ext/linguist/linguist.c +18 -7
  4. data/grammars/annotation.liquidhaskell.haskell.json +969 -862
  5. data/grammars/config.xcompose.json +22 -25
  6. data/grammars/file.lasso.json +296 -309
  7. data/grammars/hint.haskell.json +867 -766
  8. data/grammars/hint.message.haskell.json +867 -766
  9. data/grammars/hint.type.haskell.json +867 -766
  10. data/grammars/objdump.x86asm.json +20 -24
  11. data/grammars/source.Kotlin.json +220 -225
  12. data/grammars/source.LS.json +36 -55
  13. data/grammars/source.MCPOST.json +24 -38
  14. data/grammars/source.MOD.json +26 -41
  15. data/grammars/source.SASLog.json +9 -16
  16. data/grammars/source.abap.json +48 -56
  17. data/grammars/source.abl.json +8 -14
  18. data/grammars/source.abnf.json +88 -98
  19. data/grammars/source.actionscript.3.json +398 -429
  20. data/grammars/source.acucobol.json +5 -8
  21. data/grammars/source.ada.json +46 -53
  22. data/grammars/source.afm.json +548 -554
  23. data/grammars/source.agc.json +34 -37
  24. data/grammars/source.agda.json +79 -91
  25. data/grammars/source.ahk.json +62 -66
  26. data/grammars/source.alloy.json +16 -20
  27. data/grammars/source.ampl.json +41 -47
  28. data/grammars/source.angelscript.json +71 -80
  29. data/grammars/source.antlr.json +131 -136
  30. data/grammars/source.apache-config.json +93 -99
  31. data/grammars/source.apache-config.mod_perl.json +19 -24
  32. data/grammars/source.apl.json +1038 -1029
  33. data/grammars/source.applescript.json +501 -523
  34. data/grammars/source.apt.json +9 -16
  35. data/grammars/source.asn.json +27 -31
  36. data/grammars/source.asp.json +61 -67
  37. data/grammars/source.aspectj.json +385 -391
  38. data/grammars/source.assembly.json +49 -55
  39. data/grammars/source.ats.json +45 -121
  40. data/grammars/source.autoit.json +64 -69
  41. data/grammars/source.awk.json +172 -176
  42. data/grammars/source.ballerina.json +48 -395
  43. data/grammars/source.batchfile.json +269 -269
  44. data/grammars/source.befunge.json +17 -21
  45. data/grammars/source.bf.json +5 -11
  46. data/grammars/source.bison.json +10 -14
  47. data/grammars/source.blitzmax.json +300 -305
  48. data/grammars/source.boo.json +189 -193
  49. data/grammars/source.brightauthorproject.json +8 -13
  50. data/grammars/source.brightscript.json +37 -47
  51. data/grammars/source.bro.json +134 -140
  52. data/grammars/source.bsl.json +152 -193
  53. data/grammars/source.bsv.json +96 -102
  54. data/grammars/source.c++.json +176 -193
  55. data/grammars/source.c++.qt.json +13 -21
  56. data/grammars/source.c.ec.json +15 -21
  57. data/grammars/source.c.json +237 -251
  58. data/grammars/source.c.platform.json +153 -159
  59. data/grammars/source.c2hs.json +3 -6
  60. data/grammars/source.cabal.json +17 -20
  61. data/grammars/source.cache.cmake.json +18 -23
  62. data/grammars/source.cake.json +4 -7
  63. data/grammars/source.camlp4.ocaml.json +24 -27
  64. data/grammars/source.capnp.json +33 -38
  65. data/grammars/source.ceylon.json +44 -50
  66. data/grammars/source.cfscript.cfc.json +78 -86
  67. data/grammars/source.cfscript.json +513 -520
  68. data/grammars/source.changelogs.rpm-spec.json +8 -16
  69. data/grammars/source.chapel.json +109 -87
  70. data/grammars/source.cirru.json +25 -30
  71. data/grammars/source.clarion.json +41 -54
  72. data/grammars/source.clean.json +90 -95
  73. data/grammars/source.click.json +25 -28
  74. data/grammars/source.clips.json +10 -23
  75. data/grammars/source.clojure.json +151 -168
  76. data/grammars/source.cm.json +14 -19
  77. data/grammars/source.cmake.json +53 -61
  78. data/grammars/source.cobol.json +165 -180
  79. data/grammars/source.coffee.json +454 -462
  80. data/grammars/source.cool.json +36 -43
  81. data/grammars/source.coq.json +17 -21
  82. data/grammars/source.crystal.json +889 -983
  83. data/grammars/source.cs.json +739 -740
  84. data/grammars/source.csound-document.json +69 -73
  85. data/grammars/source.csound-score.json +52 -55
  86. data/grammars/source.csound.json +167 -171
  87. data/grammars/source.css.json +683 -688
  88. data/grammars/source.css.less.json +211 -511
  89. data/grammars/source.css.mss.json +94 -101
  90. data/grammars/source.css.postcss.sugarss.json +260 -0
  91. data/grammars/source.csx.json +4 -7
  92. data/grammars/source.cuda-c++.json +47 -81
  93. data/grammars/source.cwl.json +103 -0
  94. data/grammars/source.cython.json +536 -582
  95. data/grammars/source.d.json +243 -252
  96. data/grammars/source.dart.json +161 -166
  97. data/grammars/source.data-weave.json +901 -905
  98. data/grammars/source.desktop.json +29 -33
  99. data/grammars/source.diff.json +43 -52
  100. data/grammars/source.disasm.json +15 -16
  101. data/grammars/source.ditroff.desc.json +73 -84
  102. data/grammars/source.ditroff.json +60 -61
  103. data/grammars/source.dm.json +202 -213
  104. data/grammars/source.dmf.json +44 -47
  105. data/grammars/source.dockerfile.json +29 -34
  106. data/grammars/source.dot.json +46 -55
  107. data/grammars/source.dylan.json +63 -68
  108. data/grammars/source.ebnf.json +55 -62
  109. data/grammars/source.eiffel.json +57 -62
  110. data/grammars/source.elixir.json +321 -366
  111. data/grammars/source.emacs.lisp.json +458 -249
  112. data/grammars/source.erazor.json +49 -57
  113. data/grammars/source.erlang.json +508 -515
  114. data/grammars/source.essl.json +17 -30
  115. data/grammars/source.factor.json +85 -91
  116. data/grammars/source.fan.json +92 -96
  117. data/grammars/source.fancy.json +93 -118
  118. data/grammars/source.fish.json +74 -98
  119. data/grammars/source.fontforge.json +142 -146
  120. data/grammars/source.forth.json +42 -57
  121. data/grammars/source.fortran.json +193 -231
  122. data/grammars/source.fortran.modern.json +77 -103
  123. data/grammars/source.fsharp.fsi.json +1 -6
  124. data/grammars/source.fsharp.fsl.json +1 -6
  125. data/grammars/source.fsharp.fsx.json +1 -6
  126. data/grammars/source.fsharp.json +148 -153
  127. data/grammars/source.gap.json +60 -70
  128. data/grammars/source.gcode.json +9 -16
  129. data/grammars/source.gdb.json +63 -79
  130. data/grammars/source.gdb.session.json +27 -28
  131. data/grammars/source.gdbregs.json +7 -8
  132. data/grammars/source.gdscript.json +92 -96
  133. data/grammars/source.gerber.json +38 -56
  134. data/grammars/source.gfm.json +447 -462
  135. data/grammars/source.glsl.json +58 -83
  136. data/grammars/source.gn.json +188 -193
  137. data/grammars/source.gnuplot.json +104 -120
  138. data/grammars/source.go.json +169 -181
  139. data/grammars/source.golo.json +82 -87
  140. data/grammars/source.gosu.2.json +58 -68
  141. data/grammars/source.grace.json +266 -270
  142. data/grammars/source.graphql.json +586 -596
  143. data/grammars/source.groovy.gradle.json +18 -22
  144. data/grammars/source.groovy.json +422 -433
  145. data/grammars/source.harbour.json +129 -173
  146. data/grammars/source.haskell.json +871 -772
  147. data/grammars/source.haxe.2.json +402 -413
  148. data/grammars/source.hlsl.json +6 -16
  149. data/grammars/source.hsc2hs.json +1 -4
  150. data/grammars/source.hsig.json +871 -770
  151. data/grammars/source.hss.1.json +122 -144
  152. data/grammars/source.httpspec.json +119 -123
  153. data/grammars/source.hxml.json +8 -15
  154. data/grammars/source.ideal.json +125 -125
  155. data/grammars/source.idl-dlm.json +25 -32
  156. data/grammars/source.idl.json +59 -80
  157. data/grammars/source.idris.json +171 -185
  158. data/grammars/source.inform7.json +117 -121
  159. data/grammars/source.ini.json +37 -43
  160. data/grammars/source.io.json +65 -73
  161. data/grammars/source.ioke.json +72 -78
  162. data/grammars/source.isabelle.root.json +26 -30
  163. data/grammars/source.isabelle.theory.json +46 -50
  164. data/grammars/source.j.json +18 -21
  165. data/grammars/source.jasmin.json +45 -50
  166. data/grammars/source.java-properties.json +31 -41
  167. data/grammars/source.java.json +333 -342
  168. data/grammars/source.jcl.json +15 -18
  169. data/grammars/source.jflex.json +166 -172
  170. data/grammars/source.jison.json +331 -334
  171. data/grammars/source.jisonlex-injection.json +1 -2
  172. data/grammars/source.jisonlex.json +148 -151
  173. data/grammars/source.jolie.json +37 -43
  174. data/grammars/source.jq.json +80 -87
  175. data/grammars/source.js.json +798 -818
  176. data/grammars/source.js.jsx.json +2115 -2225
  177. data/grammars/source.js.objj.json +167 -172
  178. data/grammars/source.js.regexp.json +50 -50
  179. data/grammars/source.js.regexp.replacement.json +7 -7
  180. data/grammars/source.jsdoc.json +94 -94
  181. data/grammars/source.json.json +61 -71
  182. data/grammars/source.julia.console.json +5 -6
  183. data/grammars/source.julia.json +237 -234
  184. data/grammars/source.lean.json +55 -67
  185. data/grammars/source.lid.json +6 -10
  186. data/grammars/source.lilypond.json +181 -195
  187. data/grammars/source.lisp.json +40 -50
  188. data/grammars/source.litcoffee.json +169 -183
  189. data/grammars/source.livescript.json +207 -220
  190. data/grammars/source.llvm.json +28 -38
  191. data/grammars/source.logos.json +7 -14
  192. data/grammars/source.logtalk.json +136 -141
  193. data/grammars/source.loomscript.json +77 -83
  194. data/grammars/source.lsl.json +90 -106
  195. data/grammars/source.lua.json +100 -109
  196. data/grammars/source.makefile.json +181 -188
  197. data/grammars/source.makegen.json +3 -7
  198. data/grammars/source.mask.json +260 -265
  199. data/grammars/source.mata.json +38 -46
  200. data/grammars/source.mathematica.json +155 -167
  201. data/grammars/source.matlab.json +407 -684
  202. data/grammars/source.maxscript.json +293 -281
  203. data/grammars/source.mercury.json +179 -184
  204. data/grammars/source.meson.json +52 -58
  205. data/grammars/source.meta-info.json +64 -74
  206. data/grammars/source.ml.json +107 -113
  207. data/grammars/source.modelica.json +51 -59
  208. data/grammars/source.modula2.json +33 -42
  209. data/grammars/source.monkey.json +234 -241
  210. data/grammars/source.moonscript.json +51 -56
  211. data/grammars/source.mql5.json +74 -101
  212. data/grammars/source.mupad.json +30 -72
  213. data/grammars/source.ncl.json +1 -14
  214. data/grammars/source.ne.json +39 -42
  215. data/grammars/source.nemerle.json +58 -63
  216. data/grammars/source.nesc.json +9 -15
  217. data/grammars/source.netlinx.erb.json +13 -25
  218. data/grammars/source.netlinx.json +231 -292
  219. data/grammars/source.nextflow-groovy.json +1360 -0
  220. data/grammars/source.nextflow.json +74 -0
  221. data/grammars/source.nginx.json +274 -287
  222. data/grammars/source.nim.json +442 -483
  223. data/grammars/source.nim_filter.json +6 -26
  224. data/grammars/source.nimcfg.json +38 -51
  225. data/grammars/source.ninja.json +64 -70
  226. data/grammars/source.nit.json +60 -64
  227. data/grammars/source.nix.json +269 -273
  228. data/grammars/source.nmml.json +31 -37
  229. data/grammars/source.nsis.json +66 -72
  230. data/grammars/source.nu.json +129 -139
  231. data/grammars/source.nut.json +129 -133
  232. data/grammars/source.objc++.json +3 -10
  233. data/grammars/source.objc.json +303 -314
  234. data/grammars/source.objc.platform.json +145 -151
  235. data/grammars/source.ocaml.json +506 -514
  236. data/grammars/source.ocamllex.json +108 -115
  237. data/grammars/source.ocamlyacc.json +116 -123
  238. data/grammars/source.ooc.json +148 -155
  239. data/grammars/source.opa.json +39 -49
  240. data/grammars/source.opal.json +84 -89
  241. data/grammars/source.opalsysdefs.json +9 -13
  242. data/grammars/source.opencobol.json +22 -25
  243. data/grammars/source.opentype.json +148 -152
  244. data/grammars/source.ox.json +36 -44
  245. data/grammars/source.oz.json +31 -38
  246. data/grammars/source.p4.json +49 -59
  247. data/grammars/source.pan.json +273 -278
  248. data/grammars/source.papyrus.skyrim.json +705 -781
  249. data/grammars/source.parrot.pir.json +59 -65
  250. data/grammars/source.pascal.json +54 -61
  251. data/grammars/source.pawn.json +835 -849
  252. data/grammars/source.pcb.board.json +153 -158
  253. data/grammars/source.pcb.schematic.json +134 -138
  254. data/grammars/source.pcb.sexp.json +64 -74
  255. data/grammars/source.pep8.json +28 -32
  256. data/grammars/source.perl.6.json +83 -92
  257. data/grammars/source.perl.json +711 -737
  258. data/grammars/source.perl6fe.json +1204 -1218
  259. data/grammars/source.php.zephir.json +80 -89
  260. data/grammars/source.pic.json +137 -142
  261. data/grammars/source.pig_latin.json +76 -80
  262. data/grammars/source.pike.json +23 -36
  263. data/grammars/source.po.json +74 -84
  264. data/grammars/source.pogoscript.json +23 -29
  265. data/grammars/source.pony.json +98 -108
  266. data/grammars/source.postcss.json +370 -0
  267. data/grammars/source.postscript.json +88 -97
  268. data/grammars/source.pov-ray sdl.json +36 -42
  269. data/grammars/source.powershell.json +175 -197
  270. data/grammars/source.processing.json +236 -249
  271. data/grammars/source.prolog.eclipse.json +33 -38
  272. data/grammars/source.prolog.json +66 -72
  273. data/grammars/source.protobuf.json +88 -94
  274. data/grammars/source.puppet.json +144 -151
  275. data/grammars/source.purescript.json +268 -289
  276. data/grammars/source.pyjade.json +256 -281
  277. data/grammars/source.python.django.json +13 -18
  278. data/grammars/source.python.json +3319 -3367
  279. data/grammars/source.python.salt.json +3 -7
  280. data/grammars/source.qmake.json +83 -90
  281. data/grammars/source.qml.json +57 -78
  282. data/grammars/source.quoting.perl6fe.json +666 -669
  283. data/grammars/source.r.json +75 -84
  284. data/grammars/source.racket.json +17 -38
  285. data/grammars/source.rascal.json +77 -80
  286. data/grammars/source.reason.hover.type.json +1 -1
  287. data/grammars/source.reason.json +1025 -1080
  288. data/grammars/source.rebol.json +167 -177
  289. data/grammars/source.red.json +169 -177
  290. data/grammars/source.regexp.babel.json +74 -77
  291. data/grammars/source.regexp.extended.json +4 -5
  292. data/grammars/source.regexp.json +260 -264
  293. data/grammars/source.regexp.perl6fe.json +108 -111
  294. data/grammars/source.regexp.python.json +210 -215
  295. data/grammars/source.regexp.spin.json +63 -72
  296. data/grammars/source.renpy.json +617 -687
  297. data/grammars/source.rexx.json +25 -32
  298. data/grammars/source.ring.json +84 -114
  299. data/grammars/source.rpm-spec.json +392 -401
  300. data/grammars/source.ruby.gemfile.json +9 -12
  301. data/grammars/source.ruby.json +862 -952
  302. data/grammars/source.ruby.rspec.cucumber.steps.json +90 -103
  303. data/grammars/source.rust.json +223 -281
  304. data/grammars/source.sas.json +88 -105
  305. data/grammars/source.sass.json +100 -108
  306. data/grammars/source.sbt.json +16 -23
  307. data/grammars/source.scad.json +60 -67
  308. data/grammars/source.scala.json +215 -228
  309. data/grammars/source.scaml.json +120 -135
  310. data/grammars/source.scheme.json +119 -136
  311. data/grammars/source.scilab.json +40 -47
  312. data/grammars/source.scss.json +369 -403
  313. data/grammars/source.sdbl.json +14 -25
  314. data/grammars/source.shaderlab.json +24 -27
  315. data/grammars/source.shell.json +409 -440
  316. data/grammars/source.shen.json +75 -94
  317. data/grammars/source.smali.json +232 -293
  318. data/grammars/source.smalltalk.json +60 -75
  319. data/grammars/source.smt.json +67 -82
  320. data/grammars/source.solidity.json +35 -54
  321. data/grammars/source.sp.json +40 -45
  322. data/grammars/source.sparql.json +3 -8
  323. data/grammars/source.spin.json +277 -297
  324. data/grammars/source.sqf.json +34 -44
  325. data/grammars/source.sql.json +142 -156
  326. data/grammars/source.stan.json +201 -160
  327. data/grammars/source.stata.json +57 -68
  328. data/grammars/source.strings.json +26 -30
  329. data/grammars/source.stylus.json +558 -565
  330. data/grammars/source.supercollider.json +33 -40
  331. data/grammars/source.swift.json +999 -1077
  332. data/grammars/source.systemverilog.json +351 -365
  333. data/grammars/source.tcl.json +77 -94
  334. data/grammars/source.tea.json +61 -67
  335. data/grammars/source.terra.json +25 -32
  336. data/grammars/source.terraform.json +68 -88
  337. data/grammars/source.thrift.json +300 -306
  338. data/grammars/source.tl.json +112 -117
  339. data/grammars/source.tla.json +65 -69
  340. data/grammars/source.toc.json +21 -25
  341. data/grammars/source.toml.json +117 -122
  342. data/grammars/source.ts.json +2838 -2774
  343. data/grammars/source.tsx.json +180 -184
  344. data/grammars/source.turing.json +970 -974
  345. data/grammars/source.turtle.json +124 -140
  346. data/grammars/source.txl.json +23 -37
  347. data/grammars/source.ucfconstraints.json +16 -21
  348. data/grammars/source.ur.json +15 -27
  349. data/grammars/source.vala.json +221 -235
  350. data/grammars/source.varnish.vcl.json +117 -129
  351. data/grammars/source.vbnet.json +69 -106
  352. data/grammars/source.verilog.json +101 -107
  353. data/grammars/source.vhdl.json +437 -445
  354. data/grammars/source.viml.json +540 -550
  355. data/grammars/source.wavefront.mtl.json +274 -277
  356. data/grammars/source.wavefront.obj.json +781 -784
  357. data/grammars/source.wdl.json +66 -46
  358. data/grammars/source.webassembly.json +97 -102
  359. data/grammars/source.webidl.json +311 -326
  360. data/grammars/source.x10.json +28 -32
  361. data/grammars/source.x86asm.json +21 -26
  362. data/grammars/source.xc.json +164 -172
  363. data/grammars/source.xq.json +81 -92
  364. data/grammars/source.xtend.json +199 -208
  365. data/grammars/source.yaml-ext.json +118 -124
  366. data/grammars/source.yaml.json +155 -174
  367. data/grammars/source.yaml.salt.json +113 -116
  368. data/grammars/source.yang.json +10 -13
  369. data/grammars/source.yara.json +98 -0
  370. data/grammars/text.bibtex.json +95 -100
  371. data/grammars/text.cfml.basic.json +403 -404
  372. data/grammars/text.elixir.json +18 -23
  373. data/grammars/text.error-list.json +15 -16
  374. data/grammars/text.find-refs.json +487 -488
  375. data/grammars/text.gherkin.feature.json +45 -53
  376. data/grammars/text.haml.json +176 -189
  377. data/grammars/text.hamlc.json +82 -88
  378. data/grammars/text.html.abl.json +16 -21
  379. data/grammars/text.html.asciidoc.json +139 -153
  380. data/grammars/text.html.asdoc.json +145 -155
  381. data/grammars/text.html.asp.json +23 -28
  382. data/grammars/text.html.basic.json +323 -338
  383. data/grammars/text.html.cfm.json +316 -325
  384. data/grammars/text.html.creole.json +177 -189
  385. data/grammars/text.html.django.json +27 -33
  386. data/grammars/text.html.ecr.json +21 -25
  387. data/grammars/text.html.elixir.json +3 -9
  388. data/grammars/text.html.erb.json +81 -85
  389. data/grammars/text.html.erlang.yaws.json +24 -29
  390. data/grammars/text.html.factor.json +5 -11
  391. data/grammars/text.html.ftl.json +16 -25
  392. data/grammars/text.html.handlebars.json +579 -598
  393. data/grammars/text.html.javadoc.json +426 -0
  394. data/grammars/text.html.js.json +11 -17
  395. data/grammars/text.html.jsp.json +377 -384
  396. data/grammars/text.html.liquid.json +8 -18
  397. data/grammars/text.html.mako.json +257 -275
  398. data/grammars/text.html.markdown.source.gfm.apib.json +419 -427
  399. data/grammars/text.html.markdown.source.gfm.mson.json +405 -414
  400. data/grammars/text.html.mediawiki.json +318 -344
  401. data/grammars/text.html.php.blade.json +2134 -2140
  402. data/grammars/text.html.php.json +980 -1013
  403. data/grammars/text.html.slash.json +101 -107
  404. data/grammars/text.html.smarty.json +75 -83
  405. data/grammars/text.html.soy.json +250 -253
  406. data/grammars/text.html.ssp.json +18 -24
  407. data/grammars/text.html.tcl.json +17 -24
  408. data/grammars/text.html.twig.json +712 -718
  409. data/grammars/text.idl-idldoc.json +5 -9
  410. data/grammars/text.jade.json +213 -235
  411. data/grammars/text.junit-test-report.json +25 -28
  412. data/grammars/text.log.latex.json +44 -46
  413. data/grammars/text.marko.json +370 -401
  414. data/grammars/text.python.console.json +3 -7
  415. data/grammars/text.python.traceback.json +2 -5
  416. data/grammars/text.rdoc.json +15 -19
  417. data/grammars/text.restructuredtext.clean.json +8 -11
  418. data/grammars/text.restructuredtext.json +886 -873
  419. data/grammars/text.robot.json +26 -36
  420. data/grammars/text.roff.json +2852 -2915
  421. data/grammars/text.runoff.json +56 -69
  422. data/grammars/text.sfd.json +151 -155
  423. data/grammars/text.shell-session.json +5 -8
  424. data/grammars/text.slim.json +184 -210
  425. data/grammars/text.srt.json +54 -57
  426. data/grammars/text.tex.json +98 -105
  427. data/grammars/text.tex.latex.beamer.json +14 -20
  428. data/grammars/text.tex.latex.haskell.json +883 -782
  429. data/grammars/text.tex.latex.json +281 -291
  430. data/grammars/text.tex.latex.memoir.json +39 -46
  431. data/grammars/text.tex.latex.rd.json +32 -38
  432. data/grammars/text.xml.ant.json +62 -69
  433. data/grammars/text.xml.flex-config.json +1009 -1013
  434. data/grammars/text.xml.genshi.json +10 -16
  435. data/grammars/text.xml.json +117 -130
  436. data/grammars/text.xml.pom.json +235 -240
  437. data/grammars/text.xml.xsl.json +31 -37
  438. data/grammars/text.zone_file.json +24 -29
  439. data/lib/linguist/blob.rb +10 -1
  440. data/lib/linguist/blob_helper.rb +4 -1
  441. data/lib/linguist/file_blob.rb +5 -0
  442. data/lib/linguist/generated.rb +16 -0
  443. data/lib/linguist/heuristics.rb +23 -11
  444. data/lib/linguist/language.rb +3 -6
  445. data/lib/linguist/languages.json +1 -1
  446. data/lib/linguist/languages.yml +74 -12
  447. data/lib/linguist/lazy_blob.rb +15 -1
  448. data/lib/linguist/linguist.bundle +0 -0
  449. data/lib/linguist/samples.json +1666 -3381
  450. data/lib/linguist/shebang.rb +2 -0
  451. data/lib/linguist/strategy/modeline.rb +2 -0
  452. data/lib/linguist/vendor.yml +5 -6
  453. data/lib/linguist/version.rb +1 -1
  454. metadata +12 -11
  455. data/grammars/source.elm.json +0 -381
  456. data/grammars/source.nant-build.json +0 -86
  457. data/grammars/source.octave.json +0 -451
  458. data/grammars/text.html.mediawiki.elm-build-output.json +0 -111
  459. data/grammars/text.html.mediawiki.elm-documentation.json +0 -22
  460. data/grammars/text.html.vue.json +0 -936
@@ -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.content.scss"
73
+ "name": "keyword.control.at-rule.charset.scss"
74
+ },
75
+ "2": {
76
+ "name": "punctuation.definition.keyword.scss"
95
77
  }
96
- },
97
- "end": "\\s*((?=;))",
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.each.scss"
116
- },
117
- "2": {
118
- "name": "punctuation.definition.keyword.scss"
97
+ "name": "keyword.control.content.scss"
119
98
  }
120
- },
121
- "end": "\\s*((?=\\}))",
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
- "match": "\\b(in|\\,)\\b",
126
- "name": "keyword.control.operator"
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.else.scss"
122
+ "name": "keyword.control.each.scss"
144
123
  },
145
124
  "2": {
146
125
  "name": "punctuation.definition.keyword.scss"
147
126
  }
148
- },
149
- "end": "\\s*(?=\\{)",
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.at-rule.import.scss"
146
+ "name": "keyword.control.else.scss"
168
147
  },
169
148
  "2": {
170
149
  "name": "punctuation.definition.keyword.scss"
171
150
  }
172
- },
173
- "end": "\\s*(?=\\;)",
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
- "match": "(\\=\\=|\\!\\=|\\<\\=|\\>\\=|\\<|\\>|from|through)",
224
- "name": "keyword.control.operator"
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.at-rule.import.scss"
284
+ "name": "keyword.control.if.scss"
308
285
  },
309
286
  "2": {
310
287
  "name": "punctuation.definition.keyword.scss"
311
288
  }
312
- },
313
- "end": "\\s*((?=;|\\}))",
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.warn.scss"
584
+ "name": "keyword.control.return.scss"
617
585
  },
618
586
  "2": {
619
587
  "name": "punctuation.definition.keyword.scss"
620
588
  }
621
- },
622
- "end": "\\s*(?=\\;)",
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.while.scss"
608
+ "name": "keyword.control.warn.scss"
641
609
  },
642
610
  "2": {
643
611
  "name": "punctuation.definition.keyword.scss"
644
612
  }
645
- },
646
- "end": "\\s*(?=\\})",
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
- "comment": "Revamped",
677
- "end": "$(\\s*)",
678
- "name": "comment.line.scss"
655
+ "end": "$(\\s*)"
679
656
  },
680
657
  "constant_color": {
681
- "comment": "http://www.w3.org/TR/CSS21/syndata.html#value-def-color",
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
- "match": "\\!default",
687
- "name": "keyword.other.default.scss"
662
+ "name": "keyword.other.default.scss",
663
+ "match": "\\!default"
688
664
  },
689
665
  "constant_deprecated_color": {
690
- "comment": "These colours are mostly recognised but will not validate. ref: http://www.w3schools.com/css/css_colornames.asp",
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
- "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)",
696
- "name": "support.constant.font-name.scss"
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
- "match": "\\!important",
731
- "name": "keyword.other.important.scss"
705
+ "name": "keyword.other.important.scss",
706
+ "match": "\\!important"
732
707
  },
733
708
  "constant_mathematical_symbols": {
734
- "match": "(\\b(\\+|\\-|\\*|/)\\b)",
735
- "name": "support.constant.mathematical-symbols.scss"
709
+ "name": "support.constant.mathematical-symbols.scss",
710
+ "match": "(\\b(\\+|\\-|\\*|/)\\b)"
736
711
  },
737
712
  "constant_number": {
738
- "match": "[\\+|\\-]?(\\s*)?([0-9]+(\\.[0-9]+)?|\\.[0-9]+)",
739
- "name": "constant.numeric.scss"
713
+ "name": "constant.numeric.scss",
714
+ "match": "[\\+|\\-]?(\\s*)?([0-9]+(\\.[0-9]+)?|\\.[0-9]+)"
740
715
  },
741
716
  "constant_optional": {
742
- "match": "\\!optional",
743
- "name": "keyword.other.optional.scss"
717
+ "name": "keyword.other.optional.scss",
718
+ "match": "\\!optional"
744
719
  },
745
720
  "constant_property_value": {
746
- "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",
747
- "name": "support.constant.property-value.scss"
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
- "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)",
751
- "name": "constant.other.color.rgb-value.scss"
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
- "match": "\\b([0-9]{1,2}|100)\\s*%,\\s*([0-9]{1,2}|100)\\s*%,\\s*([0-9]{1,2}|100)\\s*%",
755
- "name": "constant.other.color.rgb-percentage.scss"
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
- "match": "(?<=[\\d])(ch|cm|deg|dpi|dpcm|dppx|em|ex|grad|in|mm|ms|pc|pt|px|rad|rem|turn|s|vh|vmin|vw)\\b|%",
781
- "name": "keyword.other.unit.scss"
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
- "match": ":",
812
- "name": "punctuation.definition"
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
- "comment": "We even have error highlighting <3",
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
- "match": "([\\w-]{1,})",
853
- "name": "support.function.misc.scss"
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
- "match": "\\s(\\=\\=|\\!\\=|\\<\\=|\\>\\=|\\<|\\>|not|or|and)\\s",
886
- "name": "keyword.control.operator"
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
- "match": ":",
892
- "name": "punctuation.definition"
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
- "comment": "We even have error highlighting <3",
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
- "match": "[^'\",) \\t]+",
926
- "name": "variable.parameter.url.scss"
897
+ "name": "variable.parameter.url.scss",
898
+ "match": "[^'\",) \\t]+"
927
899
  },
928
900
  {
929
- "match": ",",
930
- "name": "punctuation.separator.parameters.scss"
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
- "comment": "Reversal order is important; KEEP IT. Also when adding new properties add them to the error checker below!",
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
- "match": "(?<![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\\-\\_]+",
1016
- "name": "invalid.illegal.unknown-property-name.scss"
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
- "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",
1153
- "name": "entity.name.tag.scss"
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
- "match": "\\&",
1273
- "name": "entity.name.tag.reference.scss"
1240
+ "name": "entity.name.tag.reference.scss",
1241
+ "match": "\\\u0026"
1274
1242
  },
1275
1243
  "tag_wildcard": {
1276
- "match": "\\*",
1277
- "name": "entity.name.tag.wildcard.scss"
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
- "scopeName": "source.scss",
1320
- "uuid": "3D9ADE5E-ADC5-460F-97B3-B61EF5A18273"
1321
- }
1286
+ }
1287
+ }