github-linguist 4.7.6 → 4.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (361) hide show
  1. checksums.yaml +4 -4
  2. data/bin/git-linguist +1 -1
  3. data/grammars/file.lasso.json +713 -0
  4. data/grammars/module.ceylon.json +54 -0
  5. data/grammars/objdump.x86asm.json +73 -0
  6. data/grammars/source.Kotlin.json +777 -0
  7. data/grammars/source.LS.json +104 -0
  8. data/grammars/source.MCPOST.json +68 -0
  9. data/grammars/source.MOD.json +70 -0
  10. data/grammars/source.abap.json +176 -0
  11. data/grammars/source.abl.json +138 -0
  12. data/grammars/source.actionscript.3.json +1571 -0
  13. data/grammars/source.acucobol.json +16 -0
  14. data/grammars/source.ada.json +140 -0
  15. data/grammars/source.agda.json +254 -0
  16. data/grammars/source.ahk.json +171 -0
  17. data/grammars/source.alloy.json +44 -0
  18. data/grammars/source.ampl.json +157 -0
  19. data/grammars/source.antlr.json +300 -0
  20. data/grammars/source.apache-config.json +352 -0
  21. data/grammars/source.apache-config.mod_perl.json +70 -0
  22. data/grammars/source.apl.json +442 -0
  23. data/grammars/source.applescript.json +1385 -0
  24. data/grammars/source.apt.json +25 -0
  25. data/grammars/source.asm.x86.json +182 -0
  26. data/grammars/source.asp.json +157 -0
  27. data/grammars/source.aspectj.json +966 -0
  28. data/grammars/source.ats.json +240 -0
  29. data/grammars/source.autoit.3.json +132 -0
  30. data/grammars/source.awk.json +388 -0
  31. data/grammars/source.befunge.json +38 -0
  32. data/grammars/source.bf.json +36 -0
  33. data/grammars/source.bison.json +59 -0
  34. data/grammars/source.blitzmax.json +912 -0
  35. data/grammars/source.boo.json +452 -0
  36. data/grammars/source.brightauthorproject.json +29 -0
  37. data/grammars/source.brightscript.json +158 -0
  38. data/grammars/source.bro.json +409 -0
  39. data/grammars/source.bsv.json +283 -0
  40. data/grammars/source.c++.json +364 -0
  41. data/grammars/source.c++.qt.json +37 -0
  42. data/grammars/source.c.ec.json +39 -0
  43. data/grammars/source.c.json +727 -0
  44. data/grammars/source.c.platform.json +154 -0
  45. data/grammars/source.cache.cmake.json +75 -0
  46. data/grammars/source.cake.json +16 -0
  47. data/grammars/source.camlp4.ocaml.json +63 -0
  48. data/grammars/source.capnp.json +93 -0
  49. data/grammars/source.ceylon.json +77 -0
  50. data/grammars/source.cfscript.cfc.json +170 -0
  51. data/grammars/source.cfscript.json +744 -0
  52. data/grammars/source.chapel.json +240 -0
  53. data/grammars/source.cirru.json +66 -0
  54. data/grammars/source.clarion.json +159 -0
  55. data/grammars/source.click.json +99 -0
  56. data/grammars/source.clips.json +80 -0
  57. data/grammars/source.clojure.json +414 -0
  58. data/grammars/source.cm.json +54 -0
  59. data/grammars/source.cmake.json +181 -0
  60. data/grammars/source.cobol.json +498 -0
  61. data/grammars/source.coffee.json +682 -0
  62. data/grammars/source.compiled-papyrus.json +11 -0
  63. data/grammars/source.cool.json +103 -0
  64. data/grammars/source.coq.json +62 -0
  65. data/grammars/source.crystal.json +2760 -0
  66. data/grammars/source.cs.json +566 -0
  67. data/grammars/source.css.json +630 -0
  68. data/grammars/source.css.less.json +614 -0
  69. data/grammars/source.css.mss.json +256 -0
  70. data/grammars/source.csx.json +16 -0
  71. data/grammars/source.cuda-c++.json +137 -0
  72. data/grammars/source.cython.json +2108 -0
  73. data/grammars/source.d.json +726 -0
  74. data/grammars/source.dart.json +763 -0
  75. data/grammars/source.desktop.json +90 -0
  76. data/grammars/source.diff.json +162 -0
  77. data/grammars/source.dockerfile.json +89 -0
  78. data/grammars/source.dosbatch.json +70 -0
  79. data/grammars/source.dot.json +126 -0
  80. data/grammars/source.dylan.json +217 -0
  81. data/grammars/source.eiffel.json +138 -0
  82. data/grammars/source.elixir.json +971 -0
  83. data/grammars/source.elm.json +356 -0
  84. data/grammars/source.erazor.json +126 -0
  85. data/grammars/source.erlang.json +1674 -0
  86. data/grammars/source.essl.json +50 -0
  87. data/grammars/source.factor.json +258 -0
  88. data/grammars/source.fan.json +188 -0
  89. data/grammars/source.fancy.json +270 -0
  90. data/grammars/source.fish.json +214 -0
  91. data/grammars/source.forth.json +101 -0
  92. data/grammars/source.fortran.json +499 -0
  93. data/grammars/source.fortran.modern.json +226 -0
  94. data/grammars/source.fsharp.fsi.json +14 -0
  95. data/grammars/source.fsharp.fsl.json +14 -0
  96. data/grammars/source.fsharp.fsx.json +18 -0
  97. data/grammars/source.fsharp.json +527 -0
  98. data/grammars/source.gap.json +167 -0
  99. data/grammars/source.gcode.json +25 -0
  100. data/grammars/source.gdscript.json +154 -0
  101. data/grammars/source.gfm.json +1392 -0
  102. data/grammars/source.glsl.json +74 -0
  103. data/grammars/source.gnuplot.json +276 -0
  104. data/grammars/source.go.json +552 -0
  105. data/grammars/source.golo.json +182 -0
  106. data/grammars/source.gosu.2.json +163 -0
  107. data/grammars/source.grace.json +679 -0
  108. data/grammars/source.groovy.gradle.json +73 -0
  109. data/grammars/source.groovy.json +1385 -0
  110. data/grammars/source.harbour.json +450 -0
  111. data/grammars/source.haskell.json +449 -0
  112. data/grammars/source.haxe.2.json +1278 -0
  113. data/grammars/source.hss.1.json +464 -0
  114. data/grammars/source.httpspec.json +287 -0
  115. data/grammars/source.hxml.json +26 -0
  116. data/grammars/source.hy.json +270 -0
  117. data/grammars/source.idl-dlm.json +112 -0
  118. data/grammars/source.idl.json +267 -0
  119. data/grammars/source.idris.json +537 -0
  120. data/grammars/source.inform7.json +187 -0
  121. data/grammars/source.ini.json +113 -0
  122. data/grammars/source.inno.json +69 -0
  123. data/grammars/source.io.json +164 -0
  124. data/grammars/source.ioke.json +272 -0
  125. data/grammars/source.isabelle.root.json +68 -0
  126. data/grammars/source.isabelle.theory.json +106 -0
  127. data/grammars/source.j.json +49 -0
  128. data/grammars/source.jasmin.json +299 -0
  129. data/grammars/source.java-properties.json +97 -0
  130. data/grammars/source.java.json +1026 -0
  131. data/grammars/source.jcl.json +49 -0
  132. data/grammars/source.jflex.json +490 -0
  133. data/grammars/source.jq.json +218 -0
  134. data/grammars/source.js.json +1646 -0
  135. data/grammars/source.js.jsx.json +3185 -0
  136. data/grammars/source.js.objj.json +424 -0
  137. data/grammars/source.js.regexp.json +150 -0
  138. data/grammars/source.js.regexp.replacement.json +30 -0
  139. data/grammars/source.json.json +149 -0
  140. data/grammars/source.julia.json +407 -0
  141. data/grammars/source.lean.json +145 -0
  142. data/grammars/source.lid.json +23 -0
  143. data/grammars/source.lilypond.json +623 -0
  144. data/grammars/source.lisp.json +111 -0
  145. data/grammars/source.litcoffee.json +667 -0
  146. data/grammars/source.livescript.json +616 -0
  147. data/grammars/source.llvm.json +71 -0
  148. data/grammars/source.logos.json +31 -0
  149. data/grammars/source.logtalk.json +315 -0
  150. data/grammars/source.loomscript.json +214 -0
  151. data/grammars/source.lsl.json +216 -0
  152. data/grammars/source.lua.json +191 -0
  153. data/grammars/source.makefile.json +474 -0
  154. data/grammars/source.makegen.json +13 -0
  155. data/grammars/source.man.json +53 -0
  156. data/grammars/source.mask.json +795 -0
  157. data/grammars/source.mata.json +133 -0
  158. data/grammars/source.mathematica.json +429 -0
  159. data/grammars/source.matlab.json +1109 -0
  160. data/grammars/source.maxscript.json +453 -0
  161. data/grammars/source.mercury.json +251 -0
  162. data/grammars/source.meta-info.json +156 -0
  163. data/grammars/source.ml.json +291 -0
  164. data/grammars/source.modelica.json +142 -0
  165. data/grammars/source.modula2.json +103 -0
  166. data/grammars/source.monkey.json +701 -0
  167. data/grammars/source.moonscript.json +149 -0
  168. data/grammars/source.mupad.json +149 -0
  169. data/grammars/source.nant-build.json +86 -0
  170. data/grammars/source.ncl.json +66 -0
  171. data/grammars/source.nemerle.json +137 -0
  172. data/grammars/source.nesc.json +27 -0
  173. data/grammars/source.netlinx.erb.json +47 -0
  174. data/grammars/source.netlinx.json +768 -0
  175. data/grammars/source.nginx.json +824 -0
  176. data/grammars/source.nim.json +1169 -0
  177. data/grammars/source.nim_filter.json +133 -0
  178. data/grammars/source.nimcfg.json +116 -0
  179. data/grammars/source.ninja.json +66 -0
  180. data/grammars/source.nit.json +238 -0
  181. data/grammars/source.nix.json +1200 -0
  182. data/grammars/source.nmml.json +87 -0
  183. data/grammars/source.nsis.json +158 -0
  184. data/grammars/source.objc++.json +19 -0
  185. data/grammars/source.objc.json +918 -0
  186. data/grammars/source.objc.platform.json +277 -0
  187. data/grammars/source.ocaml.json +1426 -0
  188. data/grammars/source.ocamllex.json +305 -0
  189. data/grammars/source.ocamlyacc.json +346 -0
  190. data/grammars/source.octave.json +451 -0
  191. data/grammars/source.ooc.json +692 -0
  192. data/grammars/source.opa.json +206 -0
  193. data/grammars/source.opal.json +415 -0
  194. data/grammars/source.opalsysdefs.json +70 -0
  195. data/grammars/source.opencobol.json +65 -0
  196. data/grammars/source.ox.json +97 -0
  197. data/grammars/source.oz.json +84 -0
  198. data/grammars/source.papyrus-assembly.json +266 -0
  199. data/grammars/source.papyrus.json +231 -0
  200. data/grammars/source.parrot.pir.json +117 -0
  201. data/grammars/source.pascal.json +150 -0
  202. data/grammars/source.perl.6.json +318 -0
  203. data/grammars/source.perl.json +2424 -0
  204. data/grammars/source.perl6fe.json +1755 -0
  205. data/grammars/source.php.zephir.json +362 -0
  206. data/grammars/source.pig_latin.json +172 -0
  207. data/grammars/source.pike.json +62 -0
  208. data/grammars/source.plsql.oracle.json +642 -0
  209. data/grammars/source.po.json +232 -0
  210. data/grammars/source.pogoscript.json +85 -0
  211. data/grammars/source.pony.json +255 -0
  212. data/grammars/source.postscript.json +231 -0
  213. data/grammars/source.pov-ray sdl.json +88 -0
  214. data/grammars/source.powershell.json +755 -0
  215. data/grammars/source.processing.json +885 -0
  216. data/grammars/source.prolog.eclipse.json +206 -0
  217. data/grammars/source.prolog.json +292 -0
  218. data/grammars/source.protobuf.json +395 -0
  219. data/grammars/source.pubspec.json +13 -0
  220. data/grammars/source.puppet.json +494 -0
  221. data/grammars/source.purescript.json +833 -0
  222. data/grammars/source.pyjade.json +1010 -0
  223. data/grammars/source.python.django.json +34 -0
  224. data/grammars/source.python.json +3435 -0
  225. data/grammars/source.python.salt.json +13 -0
  226. data/grammars/source.qmake.json +217 -0
  227. data/grammars/source.qml.json +195 -0
  228. data/grammars/source.r.json +203 -0
  229. data/grammars/source.racket.json +119 -0
  230. data/grammars/source.rebol.json +647 -0
  231. data/grammars/source.red.json +652 -0
  232. data/grammars/source.regexp.babel.json +190 -0
  233. data/grammars/source.regexp.perl6fe.json +220 -0
  234. data/grammars/source.regexp.python.json +434 -0
  235. data/grammars/source.regexp.spin.json +188 -0
  236. data/grammars/source.renpy.json +2181 -0
  237. data/grammars/source.ruby.json +1956 -0
  238. data/grammars/source.ruby.rspec.cucumber.steps.json +274 -0
  239. data/grammars/source.rust.json +212 -0
  240. data/grammars/source.sas.json +370 -0
  241. data/grammars/source.sas_log.json +26 -0
  242. data/grammars/source.sass.json +248 -0
  243. data/grammars/source.sbt.json +36 -0
  244. data/grammars/source.scad.json +152 -0
  245. data/grammars/source.scala.json +739 -0
  246. data/grammars/source.scaml.json +466 -0
  247. data/grammars/source.scheme.json +370 -0
  248. data/grammars/source.scilab.json +103 -0
  249. data/grammars/source.scss.json +1321 -0
  250. data/grammars/source.shell.json +1308 -0
  251. data/grammars/source.smali.json +1671 -0
  252. data/grammars/source.smalltalk.json +135 -0
  253. data/grammars/source.smt.json +173 -0
  254. data/grammars/source.sp.json +118 -0
  255. data/grammars/source.sparql.json +23 -0
  256. data/grammars/source.spin.json +936 -0
  257. data/grammars/source.sqf.json +112 -0
  258. data/grammars/source.sql.json +473 -0
  259. data/grammars/source.stan.json +312 -0
  260. data/grammars/source.stata.json +208 -0
  261. data/grammars/source.strings.json +53 -0
  262. data/grammars/source.stylus.json +1017 -0
  263. data/grammars/source.supercollider.json +100 -0
  264. data/grammars/source.swift.json +983 -0
  265. data/grammars/source.systemverilog.json +1050 -0
  266. data/grammars/source.tcl.json +277 -0
  267. data/grammars/source.tea.json +180 -0
  268. data/grammars/source.thrift.json +704 -0
  269. data/grammars/source.toml.json +327 -0
  270. data/grammars/source.ts.json +1188 -0
  271. data/grammars/source.tsx.json +1421 -0
  272. data/grammars/source.turtle.json +505 -0
  273. data/grammars/source.txl.json +62 -0
  274. data/grammars/source.ucfconstraints.json +72 -0
  275. data/grammars/source.ur.json +43 -0
  276. data/grammars/source.vala.json +814 -0
  277. data/grammars/source.varnish.vcl.json +343 -0
  278. data/grammars/source.vbnet.json +338 -0
  279. data/grammars/source.verilog.json +302 -0
  280. data/grammars/source.vhdl.json +1349 -0
  281. data/grammars/source.viml.json +224 -0
  282. data/grammars/source.webidl.json +814 -0
  283. data/grammars/source.x10.json +68 -0
  284. data/grammars/source.x86asm.json +47 -0
  285. data/grammars/source.xc.json +379 -0
  286. data/grammars/source.xq.json +241 -0
  287. data/grammars/source.xquery.json +193 -0
  288. data/grammars/source.xtend.json +733 -0
  289. data/grammars/source.yaml.json +341 -0
  290. data/grammars/source.yaml.salt.json +348 -0
  291. data/grammars/source.yang.json +81 -0
  292. data/grammars/text.bibtex.json +251 -0
  293. data/grammars/text.cfml.basic.json +736 -0
  294. data/grammars/text.dart-analysis-output.json +162 -0
  295. data/grammars/text.dart-doccomments.json +19 -0
  296. data/grammars/text.elixir.json +45 -0
  297. data/grammars/text.gherkin.feature.json +135 -0
  298. data/grammars/text.groff.json +113 -0
  299. data/grammars/text.haml.json +299 -0
  300. data/grammars/text.html.abl.json +75 -0
  301. data/grammars/text.html.asciidoc.json +492 -0
  302. data/grammars/text.html.asdoc.json +541 -0
  303. data/grammars/text.html.asp.json +58 -0
  304. data/grammars/text.html.basic.json +552 -0
  305. data/grammars/text.html.cfm.json +811 -0
  306. data/grammars/text.html.creole.json +329 -0
  307. data/grammars/text.html.django.json +69 -0
  308. data/grammars/text.html.elixir.json +18 -0
  309. data/grammars/text.html.erb.json +157 -0
  310. data/grammars/text.html.erlang.yaws.json +72 -0
  311. data/grammars/text.html.factor.json +25 -0
  312. data/grammars/text.html.ftl.json +85 -0
  313. data/grammars/text.html.handlebars.json +838 -0
  314. data/grammars/text.html.jsp.json +1203 -0
  315. data/grammars/text.html.liquid.json +35 -0
  316. data/grammars/text.html.mako.json +729 -0
  317. data/grammars/text.html.markdown.source.gfm.apib.json +1297 -0
  318. data/grammars/text.html.markdown.source.gfm.mson.json +1165 -0
  319. data/grammars/text.html.mediawiki.json +972 -0
  320. data/grammars/text.html.php.json +2615 -0
  321. data/grammars/text.html.slash.json +313 -0
  322. data/grammars/text.html.smarty.json +216 -0
  323. data/grammars/text.html.ssp.json +49 -0
  324. data/grammars/text.html.tcl.json +44 -0
  325. data/grammars/text.html.twig.json +1353 -0
  326. data/grammars/text.html.vue.json +642 -0
  327. data/grammars/text.idl-idldoc.json +14 -0
  328. data/grammars/text.jade.json +1024 -0
  329. data/grammars/text.junit-test-report.json +92 -0
  330. data/grammars/text.log.latex.json +86 -0
  331. data/grammars/text.python.console.json +25 -0
  332. data/grammars/text.python.traceback.json +46 -0
  333. data/grammars/text.rdoc.json +48 -0
  334. data/grammars/text.restructuredtext.json +561 -0
  335. data/grammars/text.robot.json +73 -0
  336. data/grammars/text.shell-session.json +32 -0
  337. data/grammars/text.slim.json +527 -0
  338. data/grammars/text.tex.json +271 -0
  339. data/grammars/text.tex.latex.beamer.json +63 -0
  340. data/grammars/text.tex.latex.haskell.json +56 -0
  341. data/grammars/text.tex.latex.json +1013 -0
  342. data/grammars/text.tex.latex.memoir.json +136 -0
  343. data/grammars/text.tex.latex.rd.json +117 -0
  344. data/grammars/text.xml.ant.json +202 -0
  345. data/grammars/text.xml.flex-config.json +2634 -0
  346. data/grammars/text.xml.genshi.json +34 -0
  347. data/grammars/text.xml.json +364 -0
  348. data/grammars/text.xml.pom.json +774 -0
  349. data/grammars/text.xml.xsl.json +94 -0
  350. data/grammars/text.zone_file.json +72 -0
  351. data/lib/linguist.rb +79 -0
  352. data/lib/linguist/blob_helper.rb +2 -2
  353. data/lib/linguist/grammars.rb +10 -0
  354. data/lib/linguist/heuristics.rb +17 -1
  355. data/lib/linguist/language.rb +2 -36
  356. data/lib/linguist/languages.json +1 -1
  357. data/lib/linguist/languages.yml +50 -2
  358. data/lib/linguist/samples.json +2580 -116
  359. data/lib/linguist/vendor.yml +11 -1
  360. data/lib/linguist/version.rb +1 -1
  361. metadata +365 -2
@@ -0,0 +1,614 @@
1
+ {
2
+ "name": "Less",
3
+ "scopeName": "source.css.less",
4
+ "fileTypes": [
5
+ "less",
6
+ "less.erb"
7
+ ],
8
+ "patterns": [
9
+ {
10
+ "include": "#strings"
11
+ },
12
+ {
13
+ "captures": {
14
+ "1": {
15
+ "name": "entity.other.attribute-name.class.mixin.css"
16
+ }
17
+ },
18
+ "match": "(\\.[_a-zA-Z][a-zA-Z0-9_-]*(?=\\())"
19
+ },
20
+ {
21
+ "captures": {
22
+ "1": {
23
+ "name": "entity.other.attribute-name.class.css"
24
+ },
25
+ "2": {
26
+ "name": "punctuation.definition.entity.css"
27
+ },
28
+ "4": {
29
+ "name": "variable.other.interpolation.less"
30
+ }
31
+ },
32
+ "match": "((\\.)([_a-zA-Z]|(@{[a-zA-Z0-9_-]+}))[a-zA-Z0-9_-]*)"
33
+ },
34
+ {
35
+ "captures": {
36
+ "0": {
37
+ "name": "entity.other.attribute-name.parent-selector.css"
38
+ },
39
+ "1": {
40
+ "name": "punctuation.definition.entity.css"
41
+ }
42
+ },
43
+ "match": "(&)[a-zA-Z0-9_-]*"
44
+ },
45
+ {
46
+ "begin": "(format|local|url|attr|counter|counters)\\s*(\\()",
47
+ "beginCaptures": {
48
+ "1": {
49
+ "name": "support.function.misc.css"
50
+ },
51
+ "2": {
52
+ "name": "punctuation.section.function.css"
53
+ }
54
+ },
55
+ "end": "\\)",
56
+ "endCaptures": {
57
+ "0": {
58
+ "name": "punctuation.section.function.css"
59
+ }
60
+ },
61
+ "patterns": [
62
+ {
63
+ "begin": "'",
64
+ "beginCaptures": {
65
+ "0": {
66
+ "name": "punctuation.definition.string.begin.css"
67
+ }
68
+ },
69
+ "end": "'",
70
+ "endCaptures": {
71
+ "0": {
72
+ "name": "punctuation.definition.string.end.css"
73
+ }
74
+ },
75
+ "name": "string.quoted.single.css",
76
+ "patterns": [
77
+ {
78
+ "match": "\\\\.",
79
+ "name": "constant.character.escape.css"
80
+ }
81
+ ]
82
+ },
83
+ {
84
+ "begin": "\"",
85
+ "beginCaptures": {
86
+ "0": {
87
+ "name": "punctuation.definition.string.begin.css"
88
+ }
89
+ },
90
+ "end": "\"",
91
+ "endCaptures": {
92
+ "0": {
93
+ "name": "punctuation.definition.string.end.css"
94
+ }
95
+ },
96
+ "name": "string.quoted.double.css",
97
+ "patterns": [
98
+ {
99
+ "match": "\\\\(\\d{1,6}|.)",
100
+ "name": "constant.character.escape.css"
101
+ }
102
+ ]
103
+ },
104
+ {
105
+ "match": "[^'\") \\t]+",
106
+ "name": "variable.parameter.misc.css"
107
+ }
108
+ ]
109
+ },
110
+ {
111
+ "match": "(#)([0-9a-fA-F]{3}|[0-9a-fA-F]{6})\\b(?!.*?(?<!@){)",
112
+ "name": "constant.other.rgb-value.css"
113
+ },
114
+ {
115
+ "captures": {
116
+ "1": {
117
+ "name": "entity.other.attribute-name.id"
118
+ },
119
+ "2": {
120
+ "name": "punctuation.definition.entity.css"
121
+ },
122
+ "4": {
123
+ "name": "variable.other.interpolation.less"
124
+ }
125
+ },
126
+ "match": "((#)([_a-zA-Z]|(@{[a-zA-Z0-9_-]+}))[a-zA-Z0-9_-]*)",
127
+ "name": "meta.selector.css"
128
+ },
129
+ {
130
+ "begin": "/\\*",
131
+ "beginCaptures": {
132
+ "0": {
133
+ "name": "punctuation.definition.comment.begin.css"
134
+ }
135
+ },
136
+ "end": "\\*/",
137
+ "endCaptures": {
138
+ "0": {
139
+ "name": "punctuation.definition.comment.end.css"
140
+ }
141
+ },
142
+ "name": "comment.block.css"
143
+ },
144
+ {
145
+ "match": "[+-]?\\d*\\.?\\d+",
146
+ "name": "constant.numeric.css"
147
+ },
148
+ {
149
+ "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|%",
150
+ "name": "keyword.other.unit.css"
151
+ },
152
+ {
153
+ "captures": {
154
+ "1": {
155
+ "name": "punctuation.definition.begin.entity.css"
156
+ },
157
+ "2": {
158
+ "name": "entity.other.attribute-name.attribute.css"
159
+ },
160
+ "3": {
161
+ "name": "punctuation.separator.operator.css"
162
+ },
163
+ "4": {
164
+ "name": "string.unquoted.attribute-value.css"
165
+ },
166
+ "5": {
167
+ "name": "string.quoted.double.attribute-value.css"
168
+ },
169
+ "6": {
170
+ "name": "punctuation.definition.string.begin.css"
171
+ },
172
+ "7": {
173
+ "name": "punctuation.definition.string.end.css"
174
+ },
175
+ "8": {
176
+ "name": "punctuation.definition.end.entity.css"
177
+ }
178
+ },
179
+ "match": "(?i)(\\[)\\s*(-?[_a-z\\\\[[:^ascii:]]][_a-z0-9\\-\\\\[[:^ascii:]]]*)(?:\\s*([~|^$*]?=)\\s*(?:(-?[_a-z\\\\[[:^ascii:]]][_a-z0-9\\-\\\\[[:^ascii:]]]*)|((?>(['\"])(?:[^\\\\]|\\\\.)*?(\\6)))))?\\s*(\\])",
180
+ "name": "meta.attribute-selector.css"
181
+ },
182
+ {
183
+ "begin": "((@)import\\b)",
184
+ "beginCaptures": {
185
+ "1": {
186
+ "name": "keyword.control.at-rule.import.less"
187
+ },
188
+ "2": {
189
+ "name": "punctuation.definition.keyword.less"
190
+ }
191
+ },
192
+ "end": ";",
193
+ "endCaptures": {
194
+ "0": {
195
+ "name": "punctuation.terminator.rule.css"
196
+ }
197
+ },
198
+ "name": "meta.at-rule.import.css",
199
+ "patterns": [
200
+ {
201
+ "match": "(?<=\\(|,|\\s)\\b(reference|optional|once|multiple|less|inline)\\b(?=\\)|,)",
202
+ "name": "keyword.control.import.option.less"
203
+ },
204
+ {
205
+ "include": "#brace_round"
206
+ },
207
+ {
208
+ "include": "#commas"
209
+ },
210
+ {
211
+ "include": "#strings"
212
+ }
213
+ ]
214
+ },
215
+ {
216
+ "captures": {
217
+ "1": {
218
+ "name": "keyword.control.at-rule.fontface.css"
219
+ },
220
+ "2": {
221
+ "name": "punctuation.definition.keyword.css"
222
+ }
223
+ },
224
+ "match": "^\\s*((@)font-face\\b)",
225
+ "name": "meta.at-rule.fontface.css"
226
+ },
227
+ {
228
+ "captures": {
229
+ "1": {
230
+ "name": "keyword.control.at-rule.media.css"
231
+ },
232
+ "2": {
233
+ "name": "punctuation.definition.keyword.css"
234
+ }
235
+ },
236
+ "match": "^\\s*((@)media\\b)",
237
+ "name": "meta.at-rule.media.css"
238
+ },
239
+ {
240
+ "match": "\\b(width|scan|resolution|orientation|monochrome|min-width|min-resolution|min-monochrome|min-height|min-device-width|min-device-height|min-device-aspect-ratio|min-color-index|min-color|min-aspect-ratio|max-width|max-resolution|max-monochrome|max-height|max-device-width|max-device-height|max-device-aspect-ratio|max-color-index|max-color|max-aspect-ratio|height|grid|device-width|device-height|device-aspect-ratio|color-index|color|aspect-ratio)\\b",
241
+ "name": "support.type.property-name.media-feature.media.css"
242
+ },
243
+ {
244
+ "match": "\\b(tv|tty|screen|projection|print|handheld|embossed|braille|aural|all)\\b",
245
+ "name": "support.constant.media-type.media.css"
246
+ },
247
+ {
248
+ "match": "\\b(portrait|landscape)\\b",
249
+ "name": "support.constant.property-value.media-property.media.css"
250
+ },
251
+ {
252
+ "captures": {
253
+ "1": {
254
+ "name": "support.function.less"
255
+ }
256
+ },
257
+ "match": "(\\.[a-zA-Z0-9_-]+)\\s*(;|\\()"
258
+ },
259
+ {
260
+ "begin": "(^[ \\t]+)?(?=//)",
261
+ "beginCaptures": {
262
+ "1": {
263
+ "name": "punctuation.whitespace.comment.leading.less"
264
+ }
265
+ },
266
+ "end": "(?!\\G)",
267
+ "patterns": [
268
+ {
269
+ "begin": "//",
270
+ "beginCaptures": {
271
+ "0": {
272
+ "name": "punctuation.definition.comment.less"
273
+ }
274
+ },
275
+ "end": "\\n",
276
+ "name": "comment.line.double-slash.less"
277
+ }
278
+ ]
279
+ },
280
+ {
281
+ "captures": {
282
+ "1": {
283
+ "name": "punctuation.definition.variable.less"
284
+ }
285
+ },
286
+ "match": "@[a-zA-Z0-9_-][\\w-]*(?=\\s*)",
287
+ "name": "variable.other.less"
288
+ },
289
+ {
290
+ "include": "#variable_interpolation"
291
+ },
292
+ {
293
+ "begin": "{",
294
+ "beginCaptures": {
295
+ "0": {
296
+ "name": "punctuation.section.property-list.begin.css"
297
+ }
298
+ },
299
+ "end": "}",
300
+ "endCaptures": {
301
+ "0": {
302
+ "name": "punctuation.section.property-list.end.css"
303
+ }
304
+ },
305
+ "name": "meta.property-list.css",
306
+ "patterns": [
307
+ {
308
+ "include": "#pseudo_elements"
309
+ },
310
+ {
311
+ "include": "#pseudo_classes"
312
+ },
313
+ {
314
+ "include": "#variable_interpolation"
315
+ },
316
+ {
317
+ "include": "#property_names"
318
+ },
319
+ {
320
+ "include": "#property_names_svg"
321
+ },
322
+ {
323
+ "include": "#property_values"
324
+ },
325
+ {
326
+ "include": "$self"
327
+ }
328
+ ]
329
+ },
330
+ {
331
+ "match": "\\!\\s*important",
332
+ "name": "keyword.other.important.css"
333
+ },
334
+ {
335
+ "match": "\\$|%|&|\\*|\\/|\\-\\-|\\-|\\+\\+|\\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\\|\\||\\?\\:|\\*=|(?<!\\()/=|%=|\\+=|\\-=|&=|\\^=|\\/\\b",
336
+ "name": "keyword.operator.less"
337
+ },
338
+ {
339
+ "match": "\\s(\\=\\=|\\!\\=|\\<\\=|\\>\\=|\\<|\\>|not|or|and|when)\\s",
340
+ "name": "keyword.control.logical.operator"
341
+ },
342
+ {
343
+ "match": "\\b(a|abbr|acronym|address|applet|article|area|audio|video|b|base|big|blockquote|body|br|button|caption|canvas|center|cite|code|col|colgroup|dd|del|details|dfn|div|dl|dt|em|embed|fieldset|figure|figcaption|form|frame|frameset|(h[1-6])|head|hr|html|i|iframe|img|input|ins|kbd|label|legend|li|link|main|map|mark|meta|menu|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|pre|q|ruby|s|samp|script|select|small|span|strike|strong|style|sub|sup|summary|svg|table(?!-)|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|ul|var|header|section|footer|aside|hgroup|time)\\b",
344
+ "name": "keyword.control.html.elements"
345
+ },
346
+ {
347
+ "match": "\\b(vkern|view|use|tspan|tref|title|textPath|text|symbol|switch|svg|style|stop|set|script|rect|radialGradient|polyline|polygon|pattern|path|mpath|missing-glyph|metadata|mask|marker|linearGradient|line|image|hkern|glyphRef|glyph|g|foreignObject|font-face-uri|font-face-src|font-face-name|font-face-format|font-face|font|filter|feTurbulence|feTile|feSpotLight|feSpecularLighting|fePointLight|feOffset|feMorphology|feMergeNode|feMerge|feImage|feGaussianBlur|feFuncR|feFuncG|feFuncB|feFuncA|feFlood|feDistantLight|feDisplacementMap|feDiffuseLighting|feConvolveMatrix|feComposite|feComponentTransfer|feColorMatrix|feBlend|ellipse|desc|defs|cursor|color-profile|clipPath|circle|animateTransform|animateMotion|animateColor|animate|altGlyphItem|altGlyphDef|altGlyph|a)\\b",
348
+ "name": "keyword.control.html.svg.elements"
349
+ },
350
+ {
351
+ "match": "(?<!:)\\b([a-zA-Z0-9]+(-[a-zA-Z0-9]+)+)(?=\\.|\\s++[^:]|\\s*[,{]|:+(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|shadow)(\\([0-9A-Za-z]*\\))?)",
352
+ "name": "keyword.control.html.custom.elements"
353
+ },
354
+ {
355
+ "include": "#pseudo_elements"
356
+ },
357
+ {
358
+ "include": "#pseudo_classes"
359
+ },
360
+ {
361
+ "captures": {
362
+ "1": {
363
+ "name": "punctuation.section.property-list.begin.css"
364
+ },
365
+ "2": {
366
+ "name": "punctuation.section.property-list.end.css"
367
+ }
368
+ },
369
+ "comment": "Match empty braces to give proper ↩ action",
370
+ "match": "(\\{)(\\})",
371
+ "name": "meta.brace.curly.css"
372
+ },
373
+ {
374
+ "match": "\\{|\\}",
375
+ "name": "meta.brace.curly.css"
376
+ },
377
+ {
378
+ "include": "#brace_round"
379
+ },
380
+ {
381
+ "match": "\\[|\\]",
382
+ "name": "meta.brace.square.less"
383
+ },
384
+ {
385
+ "match": ";",
386
+ "name": "punctuation.terminator.rule.css"
387
+ },
388
+ {
389
+ "match": ":",
390
+ "name": "punctuation.separator.key-value.css"
391
+ },
392
+ {
393
+ "match": "\\btrue\\b",
394
+ "name": "constant.language.boolean.less"
395
+ },
396
+ {
397
+ "match": "\\bdefault\\b",
398
+ "name": "support.function.default.less"
399
+ },
400
+ {
401
+ "match": "\\b(isurl|isstring|isnumber|iskeyword|iscolor)\\b",
402
+ "name": "support.function.type-checking.less"
403
+ },
404
+ {
405
+ "match": "\\b(isunit|ispixel|ispercentage|isem)\\b",
406
+ "name": "support.function.unit-checking.less"
407
+ },
408
+ {
409
+ "include": "#font_names"
410
+ },
411
+ {
412
+ "include": "#commas"
413
+ },
414
+ {
415
+ "include": "#color_names"
416
+ },
417
+ {
418
+ "include": "#less_builtin_functions"
419
+ },
420
+ {
421
+ "include": "#css_builtin_functions"
422
+ },
423
+ {
424
+ "include": "#gradient_builtin_functions"
425
+ }
426
+ ],
427
+ "repository": {
428
+ "variable_interpolation": {
429
+ "match": "@{[a-zA-Z0-9_-]+}",
430
+ "name": "variable.other.interpolation.less"
431
+ },
432
+ "strings": {
433
+ "patterns": [
434
+ {
435
+ "begin": "\"",
436
+ "beginCaptures": {
437
+ "0": {
438
+ "name": "punctuation.definition.string.begin.css"
439
+ }
440
+ },
441
+ "end": "\"",
442
+ "endCaptures": {
443
+ "0": {
444
+ "name": "punctuation.definition.string.end.css"
445
+ }
446
+ },
447
+ "name": "string.quoted.double.css",
448
+ "patterns": [
449
+ {
450
+ "match": "\\\\(\\d{1,6}|.)",
451
+ "name": "constant.character.escaped.css"
452
+ },
453
+ {
454
+ "include": "#variable_interpolation"
455
+ }
456
+ ]
457
+ },
458
+ {
459
+ "begin": "'",
460
+ "beginCaptures": {
461
+ "0": {
462
+ "name": "punctuation.definition.string.begin.css"
463
+ }
464
+ },
465
+ "end": "'",
466
+ "endCaptures": {
467
+ "0": {
468
+ "name": "punctuation.definition.string.end.css"
469
+ }
470
+ },
471
+ "name": "string.quoted.single.css",
472
+ "patterns": [
473
+ {
474
+ "match": "\\\\.",
475
+ "name": "constant.character.escaped.css"
476
+ },
477
+ {
478
+ "include": "#variable_interpolation"
479
+ }
480
+ ]
481
+ }
482
+ ]
483
+ },
484
+ "commas": {
485
+ "match": ",",
486
+ "name": "punctuation.separator.list.css"
487
+ },
488
+ "brace_round": {
489
+ "match": "\\(|\\)",
490
+ "name": "meta.brace.round.css"
491
+ },
492
+ "property_names": {
493
+ "captures": {
494
+ "1": {
495
+ "name": "support.type.property-name.css"
496
+ }
497
+ },
498
+ "match": "(?<![-a-z])(-webkit-[-A-Za-z]+|-moz-[-A-Za-z]+|-o-[-A-Za-z]+|-ms-[-A-Za-z]+|-khtml-[-A-Za-z]+|zoom|z-index|y|x|wrap|word-wrap|word-spacing|word-break|word|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-range|unicode|trim|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform|touch-action|top-width|top-style|top-right-radius|top-left-radius|top-color|top|timing-function|text-wrap|text-transform|text-shadow|text-replace|text-rendering|text-overflow|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|resize|reset|replace|repeat|rendering-intent|rate|radius|quotes|punctuation-trim|punctuation|property|profile|presentation-level|presentation|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|order|opacity|offset|numeral|new|nav-up|nav-right|nav-left|nav-index|nav-down|nav|name|move-to|model|mix-blend-mode|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-break|level|letter-spacing|length|left-width|left-style|left-color|left|label|justify-content|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-kerning|font-language-override|font-weight|font-variant-caps|font-variant|font-style|font-synthesis|font-stretch|font-size-adjust|font-size|font-family|font|float-offset|float|flex-wrap|flex-shrink|flex-grow|flex-group|flex-flow|flex-direction|flex-basis|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-blend-mode|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-fill-mode|animation|alignment-baseline|alignment-adjust|alignment|align-self|align-last|align-items|align-content|align|after|adjust|will-change)(?=\\s*:?(.*\\()|(?!.*(?<!@){))\\b"
499
+ },
500
+ "property_names_svg": {
501
+ "captures": {
502
+ "1": {
503
+ "name": "support.type.property-name.svg.css"
504
+ }
505
+ },
506
+ "match": "(?<![-a-z])(writing-mode|text-anchor|stroke-width|stroke-opacity|stroke-miterlimit|stroke-linejoin|stroke-linecap|stroke-dashoffset|stroke-dasharray|stroke|stop-opacity|stop-color|shape-rendering|marker-start|marker-mid|marker-end|lighting-color|kerning|image-rendering|glyph-orientation-vertical|glyph-orientation-horizontal|flood-opacity|flood-color|fill-rule|fill-opacity|fill|enable-background|color-rendering|color-interpolation-filters|color-interpolation|clip-rule|clip-path)(?=\\s*:)"
507
+ },
508
+ "property_values": {
509
+ "begin": "(?<!&)(:)\\s*(?!(\\s*{))(?!.*(?<!@){)",
510
+ "beginCaptures": {
511
+ "1": {
512
+ "name": "punctuation.separator.key-value.css"
513
+ }
514
+ },
515
+ "end": "\\s*(;)|(?=})",
516
+ "endCaptures": {
517
+ "1": {
518
+ "name": "punctuation.terminator.rule.css"
519
+ }
520
+ },
521
+ "name": "meta.property-value.css",
522
+ "patterns": [
523
+ {
524
+ "match": "\\b(wrap-reverse|wrap|whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|unicase|underline|ultra-expanded|ultra-condensed|transparent|transform|top|titling-caps|thin|thick|text-top|text-bottom|text|tb-rl|table-row-group|table-row|table-header-group|table-footer-group|table-column-group|table-column|table-cell|table|sw-resize|super|strict|stretch|step-start|step-end|static|square|space-between|space-around|space|solid|soft-light|small-caps|separate|semi-expanded|semi-condensed|se-resize|scroll|screen|saturation|s-resize|running|rtl|row-reverse|row-resize|row|round|right|ridge|reverse|repeat-y|repeat-x|repeat|relative|progressive|progress|pre-wrap|pre-line|pre|pointer|petite-caps|paused|pan-x|pan-left|pan-right|pan-y|pan-up|pan-down|padding-box|overline|overlay|outside|outset|optimizeSpeed|optimizeLegibility|opacity|oblique|nw-resize|nowrap|not-allowed|normal|none|no-repeat|no-drop|newspaper|ne-resize|n-resize|multiply|move|middle|medium|max-height|manipulation|main-size|luminosity|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|local|list-item|linear(?!-)|line-through|line-edge|line|lighter|lighten|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline-block|inline|inherit|infinite|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|hue|horizontal|hidden|help|hard-light|hand|groove|geometricPrecision|forwards|flex-start|flex-end|flex|fixed|extra-expanded|extra-condensed|expanded|exclusion|ellipsis|ease-out|ease-in-out|ease-in|ease|e-resize|double|dotted|distribute-space|distribute-letter|distribute-all-lines|distribute|disc|disabled|difference|default|decimal|dashed|darken|currentColor|crosshair|cover|content-box|contain|condensed|column-reverse|column|color-dodge|color-burn|color|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|border-box|bolder|bold|block|bidi-override|below|baseline|balance|backwards|auto|antialiased|always|alternate-reverse|alternate|all-small-caps|all-scroll|all-petite-caps|all|absolute)\\b",
525
+ "name": "support.constant.property-value.css"
526
+ },
527
+ {
528
+ "match": "\\b(start|sRGB|square|round|optimizeSpeed|optimizeQuality|nonzero|miter|middle|linearRGB|geometricPrecision |evenodd |end |crispEdges|butt|bevel)\\b",
529
+ "name": "support.constant.property-value.svg.css"
530
+ },
531
+ {
532
+ "begin": "url(\\()",
533
+ "beginCaptures": {
534
+ "1": {
535
+ "name": "meta.brace.round.css"
536
+ }
537
+ },
538
+ "end": "\\)",
539
+ "endCaptures": {
540
+ "0": {
541
+ "name": "meta.brace.round.css"
542
+ }
543
+ },
544
+ "name": "support.function.any-method.builtin.url.css",
545
+ "patterns": [
546
+ {
547
+ "include": "#strings"
548
+ },
549
+ {
550
+ "match": "(\\b|/).*\\b",
551
+ "name": "string.url.css"
552
+ }
553
+ ]
554
+ },
555
+ {
556
+ "include": "#font_names"
557
+ },
558
+ {
559
+ "include": "#color_names"
560
+ },
561
+ {
562
+ "include": "#less_builtin_functions"
563
+ },
564
+ {
565
+ "include": "#css_builtin_functions"
566
+ },
567
+ {
568
+ "include": "#gradient_builtin_functions"
569
+ },
570
+ {
571
+ "include": "$self"
572
+ }
573
+ ]
574
+ },
575
+ "pseudo_elements": {
576
+ "captures": {
577
+ "1": {
578
+ "name": "punctuation.definition.entity.css"
579
+ }
580
+ },
581
+ "match": "(:|::)(after|before|first-letter|first-line|selection)",
582
+ "name": "entity.other.attribute-name.pseudo-element.css"
583
+ },
584
+ "pseudo_classes": {
585
+ "captures": {
586
+ "1": {
587
+ "name": "punctuation.definition.entity.css"
588
+ }
589
+ },
590
+ "match": "(:)(active|checked|default|dir|disabled|empty|enabled|extend|first-child|first-of-type|first|fullscreen|focus|hover|indeterminate|in-range|invalid|lang|last-child|last-of-type|left|link|not|nth-child|nth-last-child|nth-last-of-type|nth-of-type|only-child|only-of-type|optional|out-of-range|read-only|read-write|required|right|root|scope|shadow|target|valid|visited)(?!\\s*;)",
591
+ "name": "entity.other.attribute-name.pseudo-class.css"
592
+ },
593
+ "font_names": {
594
+ "match": "(\\b(?i:arial|century|comic|courier|cursive|fantasy|futura|garamond|georgia|helvetica|impact|lucida|monospace|symbol|system|tahoma|times|trebuchet|utopia|verdana|webdings|sans-serif|serif)\\b)",
595
+ "name": "support.constant.font-name.css"
596
+ },
597
+ "color_names": {
598
+ "match": "\\b(yellowgreen|yellow|whitesmoke|white|wheat|violet|turquoise|tomato|thistle|teal|tan|steelblue|springgreen|snow|slategrey|slategray|slateblue|skyblue|silver|sienna|seashell|seagreen|sandybrown|salmon|saddlebrown|royalblue|rosybrown|red|rebeccapurple|purple|powderblue|plum|pink|peru|peachpuff|papayawhip|palevioletred|paleturquoise|palegreen|palegoldenrod|orchid|orangered|orange|olivedrab|olive|oldlace|navy|navajowhite|moccasin|mistyrose|mintcream|midnightblue|mediumvioletred|mediumturquoise|mediumspringgreen|mediumslateblue|mediumseagreen|mediumpurple|mediumorchid|mediumblue|mediumaquamarine|maroon|linen|limegreen|lime|lightyellow|lightsteelblue|lightslategrey|lightslategray|lightskyblue|lightseagreen|lightsalmon|lightpink|lightgrey|lightgreen|lightgray|lightgoldenrodyellow|lightcyan|lightcoral|lightblue|lemonchiffon|lawngreen|lavenderblush|lavender|khaki|ivory|indigo|indianred|hotpink|honeydew|grey|greenyellow|green|gray|goldenrod|gold|ghostwhite|gainsboro|fuchsia|forestgreen|floralwhite|firebrick|dodgerblue|dimgrey|dimgray|deepskyblue|deeppink|darkviolet|darkturquoise|darkslategrey|darkslategray|darkslateblue|darkseagreen|darksalmon|darkred|darkorchid|darkorange|darkolivegreen|darkmagenta|darkkhaki|darkgrey|darkgreen|darkgray|darkgoldenrod|darkcyan|darkblue|crimson|cornsilk|cornflowerblue|coral|chocolate|chartreuse|cadetblue|burlywood|brown|blueviolet|blue|blanchedalmond|black|bisque|beige|azure|aquamarine|aqua|antiquewhite|aliceblue)\\b",
599
+ "name": "support.constant.color.w3c-standard-color-name.css"
600
+ },
601
+ "less_builtin_functions": {
602
+ "match": "\\b(abs|acos|alpha|argb|asin|atan|average|blue|calc|ceil|color|contrast|convert|convert|cos|darken|data-uri|desaturate|difference|e|escape|exclusion|extract|fade|fadein|fadeout|floor|format|green|greyscale|hardlight|hsl|hsla|hsv|hsva|hsvhue|hsvsaturation|hsvvalue|hue|length|lighten|lightness|luma|max|min|mix|mod|multiply|negation|overlay|percentage|pi|pow|red|replace|round|saturate|saturation|screen|sin|softlight|spin|sqrt|tan|unit)\\b",
603
+ "name": "support.function.any-method.builtin.less"
604
+ },
605
+ "css_builtin_functions": {
606
+ "match": "\\b(url|translate3d|translate[XYZ]|translate|skew[XY]|skew|scale[XYZ]|scale|rotate3d|rotate[XYZ]|rotate|rgba|rgb|repeating-radial-gradient|repeating-linear-gradient|rect|radial-gradient|matrix3d|matrix|linear-gradient|hsla|hsl|drop-shadow|cubic-bezier|blur)\\b",
607
+ "name": "support.function.any-method.builtin.css"
608
+ },
609
+ "gradient_builtin_functions": {
610
+ "match": "\\b(color-stop|from|to)\\b",
611
+ "name": "support.function.any-method.gradient.css"
612
+ }
613
+ }
614
+ }