@shikijs/langs-precompiled 1.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (637) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +15 -0
  3. package/dist/1c-query.d.mts +3 -0
  4. package/dist/1c-query.mjs +2 -0
  5. package/dist/1c.d.mts +3 -0
  6. package/dist/1c.mjs +2 -0
  7. package/dist/abap.d.mts +3 -0
  8. package/dist/abap.mjs +5 -0
  9. package/dist/actionscript-3.d.mts +3 -0
  10. package/dist/actionscript-3.mjs +5 -0
  11. package/dist/ada.d.mts +3 -0
  12. package/dist/ada.mjs +5 -0
  13. package/dist/adoc.d.mts +3 -0
  14. package/dist/adoc.mjs +2 -0
  15. package/dist/angular-expression.d.mts +3 -0
  16. package/dist/angular-expression.mjs +5 -0
  17. package/dist/angular-html.d.mts +3 -0
  18. package/dist/angular-html.mjs +16 -0
  19. package/dist/angular-inline-style.d.mts +3 -0
  20. package/dist/angular-inline-style.mjs +8 -0
  21. package/dist/angular-inline-template.d.mts +3 -0
  22. package/dist/angular-inline-template.mjs +10 -0
  23. package/dist/angular-let-declaration.d.mts +3 -0
  24. package/dist/angular-let-declaration.mjs +8 -0
  25. package/dist/angular-template-blocks.d.mts +3 -0
  26. package/dist/angular-template-blocks.mjs +10 -0
  27. package/dist/angular-template.d.mts +3 -0
  28. package/dist/angular-template.mjs +8 -0
  29. package/dist/angular-ts.d.mts +3 -0
  30. package/dist/angular-ts.mjs +19 -0
  31. package/dist/apache.d.mts +3 -0
  32. package/dist/apache.mjs +5 -0
  33. package/dist/apex.d.mts +3 -0
  34. package/dist/apex.mjs +7 -0
  35. package/dist/apl.d.mts +3 -0
  36. package/dist/apl.mjs +17 -0
  37. package/dist/applescript.d.mts +3 -0
  38. package/dist/applescript.mjs +7 -0
  39. package/dist/ara.d.mts +3 -0
  40. package/dist/ara.mjs +7 -0
  41. package/dist/asciidoc.d.mts +3 -0
  42. package/dist/asciidoc.mjs +7 -0
  43. package/dist/asm.d.mts +3 -0
  44. package/dist/asm.mjs +7 -0
  45. package/dist/astro.d.mts +3 -0
  46. package/dist/astro.mjs +17 -0
  47. package/dist/awk.d.mts +3 -0
  48. package/dist/awk.mjs +5 -0
  49. package/dist/ballerina.d.mts +3 -0
  50. package/dist/ballerina.mjs +5 -0
  51. package/dist/bash.d.mts +3 -0
  52. package/dist/bash.mjs +2 -0
  53. package/dist/bat.d.mts +3 -0
  54. package/dist/bat.mjs +5 -0
  55. package/dist/batch.d.mts +3 -0
  56. package/dist/batch.mjs +2 -0
  57. package/dist/be.d.mts +3 -0
  58. package/dist/be.mjs +2 -0
  59. package/dist/beancount.d.mts +3 -0
  60. package/dist/beancount.mjs +5 -0
  61. package/dist/berry.d.mts +3 -0
  62. package/dist/berry.mjs +5 -0
  63. package/dist/bibtex.d.mts +3 -0
  64. package/dist/bibtex.mjs +5 -0
  65. package/dist/bicep.d.mts +3 -0
  66. package/dist/bicep.mjs +5 -0
  67. package/dist/blade.d.mts +3 -0
  68. package/dist/blade.mjs +19 -0
  69. package/dist/bsl.d.mts +3 -0
  70. package/dist/bsl.mjs +8 -0
  71. package/dist/c.d.mts +3 -0
  72. package/dist/c.mjs +7 -0
  73. package/dist/cadence.d.mts +3 -0
  74. package/dist/cadence.mjs +7 -0
  75. package/dist/cairo.d.mts +3 -0
  76. package/dist/cairo.mjs +8 -0
  77. package/dist/cdc.d.mts +3 -0
  78. package/dist/cdc.mjs +2 -0
  79. package/dist/clarity.d.mts +3 -0
  80. package/dist/clarity.mjs +5 -0
  81. package/dist/clj.d.mts +3 -0
  82. package/dist/clj.mjs +2 -0
  83. package/dist/clojure.d.mts +3 -0
  84. package/dist/clojure.mjs +5 -0
  85. package/dist/closure-templates.d.mts +3 -0
  86. package/dist/closure-templates.mjs +2 -0
  87. package/dist/cmake.d.mts +3 -0
  88. package/dist/cmake.mjs +5 -0
  89. package/dist/cmd.d.mts +3 -0
  90. package/dist/cmd.mjs +2 -0
  91. package/dist/cobol.d.mts +3 -0
  92. package/dist/cobol.mjs +10 -0
  93. package/dist/codeowners.d.mts +3 -0
  94. package/dist/codeowners.mjs +5 -0
  95. package/dist/codeql.d.mts +3 -0
  96. package/dist/codeql.mjs +7 -0
  97. package/dist/coffee.d.mts +3 -0
  98. package/dist/coffee.mjs +8 -0
  99. package/dist/coffeescript.d.mts +3 -0
  100. package/dist/coffeescript.mjs +2 -0
  101. package/dist/common-lisp.d.mts +3 -0
  102. package/dist/common-lisp.mjs +7 -0
  103. package/dist/console.d.mts +3 -0
  104. package/dist/console.mjs +2 -0
  105. package/dist/coq.d.mts +3 -0
  106. package/dist/coq.mjs +5 -0
  107. package/dist/cpp-macro.d.mts +3 -0
  108. package/dist/cpp-macro.mjs +13 -0
  109. package/dist/cpp.d.mts +3 -0
  110. package/dist/cpp.mjs +15 -0
  111. package/dist/cql.d.mts +3 -0
  112. package/dist/cql.mjs +2 -0
  113. package/dist/crystal.d.mts +3 -0
  114. package/dist/crystal.mjs +19 -0
  115. package/dist/cs.d.mts +3 -0
  116. package/dist/cs.mjs +2 -0
  117. package/dist/csharp.d.mts +3 -0
  118. package/dist/csharp.mjs +3 -0
  119. package/dist/css.d.mts +3 -0
  120. package/dist/css.mjs +7 -0
  121. package/dist/csv.d.mts +3 -0
  122. package/dist/csv.mjs +5 -0
  123. package/dist/cue.d.mts +3 -0
  124. package/dist/cue.mjs +5 -0
  125. package/dist/cypher.d.mts +3 -0
  126. package/dist/cypher.mjs +5 -0
  127. package/dist/d.d.mts +3 -0
  128. package/dist/d.mjs +5 -0
  129. package/dist/dart.d.mts +3 -0
  130. package/dist/dart.mjs +5 -0
  131. package/dist/dax.d.mts +3 -0
  132. package/dist/dax.mjs +5 -0
  133. package/dist/desktop.d.mts +3 -0
  134. package/dist/desktop.mjs +5 -0
  135. package/dist/diff.d.mts +3 -0
  136. package/dist/diff.mjs +5 -0
  137. package/dist/docker.d.mts +3 -0
  138. package/dist/docker.mjs +5 -0
  139. package/dist/dockerfile.d.mts +3 -0
  140. package/dist/dockerfile.mjs +2 -0
  141. package/dist/dotenv.d.mts +3 -0
  142. package/dist/dotenv.mjs +5 -0
  143. package/dist/dream-maker.d.mts +3 -0
  144. package/dist/dream-maker.mjs +7 -0
  145. package/dist/edge.d.mts +3 -0
  146. package/dist/edge.mjs +12 -0
  147. package/dist/elisp.d.mts +3 -0
  148. package/dist/elisp.mjs +2 -0
  149. package/dist/elixir.d.mts +3 -0
  150. package/dist/elixir.mjs +9 -0
  151. package/dist/elm.d.mts +3 -0
  152. package/dist/elm.mjs +8 -0
  153. package/dist/emacs-lisp.d.mts +3 -0
  154. package/dist/emacs-lisp.mjs +7 -0
  155. package/dist/erb.d.mts +3 -0
  156. package/dist/erb.mjs +10 -0
  157. package/dist/erl.d.mts +3 -0
  158. package/dist/erl.mjs +2 -0
  159. package/dist/erlang.d.mts +3 -0
  160. package/dist/erlang.mjs +7 -0
  161. package/dist/es-tag-css.d.mts +3 -0
  162. package/dist/es-tag-css.mjs +12 -0
  163. package/dist/es-tag-glsl.d.mts +3 -0
  164. package/dist/es-tag-glsl.mjs +12 -0
  165. package/dist/es-tag-html.d.mts +3 -0
  166. package/dist/es-tag-html.mjs +12 -0
  167. package/dist/es-tag-sql.d.mts +3 -0
  168. package/dist/es-tag-sql.mjs +10 -0
  169. package/dist/es-tag-xml.d.mts +3 -0
  170. package/dist/es-tag-xml.mjs +8 -0
  171. package/dist/f.d.mts +3 -0
  172. package/dist/f.mjs +2 -0
  173. package/dist/f03.d.mts +3 -0
  174. package/dist/f03.mjs +2 -0
  175. package/dist/f08.d.mts +3 -0
  176. package/dist/f08.mjs +2 -0
  177. package/dist/f18.d.mts +3 -0
  178. package/dist/f18.mjs +2 -0
  179. package/dist/f77.d.mts +3 -0
  180. package/dist/f77.mjs +2 -0
  181. package/dist/f90.d.mts +3 -0
  182. package/dist/f90.mjs +2 -0
  183. package/dist/f95.d.mts +3 -0
  184. package/dist/f95.mjs +2 -0
  185. package/dist/fennel.d.mts +3 -0
  186. package/dist/fennel.mjs +5 -0
  187. package/dist/fish.d.mts +3 -0
  188. package/dist/fish.mjs +5 -0
  189. package/dist/fluent.d.mts +3 -0
  190. package/dist/fluent.mjs +5 -0
  191. package/dist/for.d.mts +3 -0
  192. package/dist/for.mjs +2 -0
  193. package/dist/fortran-fixed-form.d.mts +3 -0
  194. package/dist/fortran-fixed-form.mjs +8 -0
  195. package/dist/fortran-free-form.d.mts +3 -0
  196. package/dist/fortran-free-form.mjs +7 -0
  197. package/dist/fs.d.mts +3 -0
  198. package/dist/fs.mjs +2 -0
  199. package/dist/fsharp.d.mts +3 -0
  200. package/dist/fsharp.mjs +8 -0
  201. package/dist/fsl.d.mts +3 -0
  202. package/dist/fsl.mjs +2 -0
  203. package/dist/ftl.d.mts +3 -0
  204. package/dist/ftl.mjs +2 -0
  205. package/dist/gdresource.d.mts +3 -0
  206. package/dist/gdresource.mjs +10 -0
  207. package/dist/gdscript.d.mts +3 -0
  208. package/dist/gdscript.mjs +5 -0
  209. package/dist/gdshader.d.mts +3 -0
  210. package/dist/gdshader.mjs +5 -0
  211. package/dist/genie.d.mts +3 -0
  212. package/dist/genie.mjs +5 -0
  213. package/dist/gherkin.d.mts +3 -0
  214. package/dist/gherkin.mjs +5 -0
  215. package/dist/git-commit.d.mts +3 -0
  216. package/dist/git-commit.mjs +8 -0
  217. package/dist/git-rebase.d.mts +3 -0
  218. package/dist/git-rebase.mjs +8 -0
  219. package/dist/gjs.d.mts +3 -0
  220. package/dist/gjs.mjs +2 -0
  221. package/dist/gleam.d.mts +3 -0
  222. package/dist/gleam.mjs +5 -0
  223. package/dist/glimmer-js.d.mts +3 -0
  224. package/dist/glimmer-js.mjs +15 -0
  225. package/dist/glimmer-ts.d.mts +3 -0
  226. package/dist/glimmer-ts.mjs +15 -0
  227. package/dist/glsl.d.mts +3 -0
  228. package/dist/glsl.mjs +8 -0
  229. package/dist/gnuplot.d.mts +3 -0
  230. package/dist/gnuplot.mjs +5 -0
  231. package/dist/go.d.mts +3 -0
  232. package/dist/go.mjs +7 -0
  233. package/dist/gql.d.mts +3 -0
  234. package/dist/gql.mjs +2 -0
  235. package/dist/graphql.d.mts +3 -0
  236. package/dist/graphql.mjs +15 -0
  237. package/dist/groovy.d.mts +3 -0
  238. package/dist/groovy.mjs +5 -0
  239. package/dist/gts.d.mts +3 -0
  240. package/dist/gts.mjs +2 -0
  241. package/dist/hack.d.mts +3 -0
  242. package/dist/hack.mjs +3 -0
  243. package/dist/haml.d.mts +3 -0
  244. package/dist/haml.mjs +11 -0
  245. package/dist/handlebars.d.mts +3 -0
  246. package/dist/handlebars.mjs +14 -0
  247. package/dist/haskell.d.mts +3 -0
  248. package/dist/haskell.mjs +7 -0
  249. package/dist/haxe.d.mts +3 -0
  250. package/dist/haxe.mjs +5 -0
  251. package/dist/hbs.d.mts +3 -0
  252. package/dist/hbs.mjs +2 -0
  253. package/dist/hcl.d.mts +3 -0
  254. package/dist/hcl.mjs +5 -0
  255. package/dist/hjson.d.mts +3 -0
  256. package/dist/hjson.mjs +5 -0
  257. package/dist/hlsl.d.mts +3 -0
  258. package/dist/hlsl.mjs +5 -0
  259. package/dist/hs.d.mts +3 -0
  260. package/dist/hs.mjs +2 -0
  261. package/dist/html-derivative.d.mts +3 -0
  262. package/dist/html-derivative.mjs +8 -0
  263. package/dist/html.d.mts +3 -0
  264. package/dist/html.mjs +11 -0
  265. package/dist/http.d.mts +3 -0
  266. package/dist/http.mjs +14 -0
  267. package/dist/hxml.d.mts +3 -0
  268. package/dist/hxml.mjs +8 -0
  269. package/dist/hy.d.mts +3 -0
  270. package/dist/hy.mjs +5 -0
  271. package/dist/imba.d.mts +3 -0
  272. package/dist/imba.mjs +9 -0
  273. package/dist/index.d.mts +1 -0
  274. package/dist/index.mjs +239 -0
  275. package/dist/ini.d.mts +3 -0
  276. package/dist/ini.mjs +7 -0
  277. package/dist/jade.d.mts +3 -0
  278. package/dist/jade.mjs +2 -0
  279. package/dist/java.d.mts +3 -0
  280. package/dist/java.mjs +7 -0
  281. package/dist/javascript.d.mts +3 -0
  282. package/dist/javascript.mjs +7 -0
  283. package/dist/jinja-html.d.mts +3 -0
  284. package/dist/jinja-html.mjs +8 -0
  285. package/dist/jinja.d.mts +3 -0
  286. package/dist/jinja.mjs +8 -0
  287. package/dist/jison.d.mts +3 -0
  288. package/dist/jison.mjs +8 -0
  289. package/dist/jl.d.mts +3 -0
  290. package/dist/jl.mjs +2 -0
  291. package/dist/js.d.mts +3 -0
  292. package/dist/js.mjs +2 -0
  293. package/dist/json.d.mts +3 -0
  294. package/dist/json.mjs +5 -0
  295. package/dist/json5.d.mts +3 -0
  296. package/dist/json5.mjs +5 -0
  297. package/dist/jsonc.d.mts +3 -0
  298. package/dist/jsonc.mjs +5 -0
  299. package/dist/jsonl.d.mts +3 -0
  300. package/dist/jsonl.mjs +5 -0
  301. package/dist/jsonnet.d.mts +3 -0
  302. package/dist/jsonnet.mjs +5 -0
  303. package/dist/jssm.d.mts +3 -0
  304. package/dist/jssm.mjs +5 -0
  305. package/dist/jsx.d.mts +3 -0
  306. package/dist/jsx.mjs +7 -0
  307. package/dist/julia.d.mts +3 -0
  308. package/dist/julia.mjs +17 -0
  309. package/dist/kotlin.d.mts +3 -0
  310. package/dist/kotlin.mjs +7 -0
  311. package/dist/kql.d.mts +3 -0
  312. package/dist/kql.mjs +2 -0
  313. package/dist/kt.d.mts +3 -0
  314. package/dist/kt.mjs +2 -0
  315. package/dist/kts.d.mts +3 -0
  316. package/dist/kts.mjs +2 -0
  317. package/dist/kusto.d.mts +3 -0
  318. package/dist/kusto.mjs +7 -0
  319. package/dist/latex.d.mts +3 -0
  320. package/dist/latex.mjs +8 -0
  321. package/dist/lean.d.mts +3 -0
  322. package/dist/lean.mjs +5 -0
  323. package/dist/lean4.d.mts +3 -0
  324. package/dist/lean4.mjs +2 -0
  325. package/dist/less.d.mts +3 -0
  326. package/dist/less.mjs +5 -0
  327. package/dist/liquid.d.mts +3 -0
  328. package/dist/liquid.mjs +14 -0
  329. package/dist/lisp.d.mts +3 -0
  330. package/dist/lisp.mjs +2 -0
  331. package/dist/lit.d.mts +3 -0
  332. package/dist/lit.mjs +2 -0
  333. package/dist/log.d.mts +3 -0
  334. package/dist/log.mjs +5 -0
  335. package/dist/logo.d.mts +3 -0
  336. package/dist/logo.mjs +7 -0
  337. package/dist/lua.d.mts +3 -0
  338. package/dist/lua.mjs +9 -0
  339. package/dist/luau.d.mts +3 -0
  340. package/dist/luau.mjs +5 -0
  341. package/dist/make.d.mts +3 -0
  342. package/dist/make.mjs +7 -0
  343. package/dist/makefile.d.mts +3 -0
  344. package/dist/makefile.mjs +2 -0
  345. package/dist/markdown-vue.d.mts +3 -0
  346. package/dist/markdown-vue.mjs +7 -0
  347. package/dist/markdown.d.mts +3 -0
  348. package/dist/markdown.mjs +7 -0
  349. package/dist/marko.d.mts +3 -0
  350. package/dist/marko.mjs +14 -0
  351. package/dist/matlab.d.mts +3 -0
  352. package/dist/matlab.mjs +7 -0
  353. package/dist/md.d.mts +3 -0
  354. package/dist/md.mjs +2 -0
  355. package/dist/mdc.d.mts +3 -0
  356. package/dist/mdc.mjs +13 -0
  357. package/dist/mdx.d.mts +3 -0
  358. package/dist/mdx.mjs +7 -0
  359. package/dist/mediawiki.d.mts +3 -0
  360. package/dist/mediawiki.mjs +2 -0
  361. package/dist/mermaid.d.mts +3 -0
  362. package/dist/mermaid.mjs +7 -0
  363. package/dist/mips.d.mts +3 -0
  364. package/dist/mips.mjs +2 -0
  365. package/dist/mipsasm.d.mts +3 -0
  366. package/dist/mipsasm.mjs +7 -0
  367. package/dist/mmd.d.mts +3 -0
  368. package/dist/mmd.mjs +2 -0
  369. package/dist/mojo.d.mts +3 -0
  370. package/dist/mojo.mjs +7 -0
  371. package/dist/move.d.mts +3 -0
  372. package/dist/move.mjs +5 -0
  373. package/dist/nar.d.mts +3 -0
  374. package/dist/nar.mjs +2 -0
  375. package/dist/narrat.d.mts +3 -0
  376. package/dist/narrat.mjs +5 -0
  377. package/dist/nextflow.d.mts +3 -0
  378. package/dist/nextflow.mjs +5 -0
  379. package/dist/nf.d.mts +3 -0
  380. package/dist/nf.mjs +2 -0
  381. package/dist/nginx.d.mts +3 -0
  382. package/dist/nginx.mjs +8 -0
  383. package/dist/nim.d.mts +3 -0
  384. package/dist/nim.mjs +21 -0
  385. package/dist/nix.d.mts +3 -0
  386. package/dist/nix.mjs +5 -0
  387. package/dist/nu.d.mts +3 -0
  388. package/dist/nu.mjs +2 -0
  389. package/dist/nushell.d.mts +3 -0
  390. package/dist/nushell.mjs +7 -0
  391. package/dist/objc.d.mts +3 -0
  392. package/dist/objc.mjs +2 -0
  393. package/dist/objective-c.d.mts +3 -0
  394. package/dist/objective-c.mjs +7 -0
  395. package/dist/objective-cpp.d.mts +3 -0
  396. package/dist/objective-cpp.mjs +7 -0
  397. package/dist/ocaml.d.mts +3 -0
  398. package/dist/ocaml.mjs +5 -0
  399. package/dist/pascal.d.mts +3 -0
  400. package/dist/pascal.mjs +7 -0
  401. package/dist/perl.d.mts +3 -0
  402. package/dist/perl.mjs +17 -0
  403. package/dist/perl6.d.mts +3 -0
  404. package/dist/perl6.mjs +2 -0
  405. package/dist/php.d.mts +3 -0
  406. package/dist/php.mjs +19 -0
  407. package/dist/plsql.d.mts +3 -0
  408. package/dist/plsql.mjs +5 -0
  409. package/dist/po.d.mts +3 -0
  410. package/dist/po.mjs +7 -0
  411. package/dist/polar.d.mts +3 -0
  412. package/dist/polar.mjs +7 -0
  413. package/dist/postcss.d.mts +3 -0
  414. package/dist/postcss.mjs +5 -0
  415. package/dist/pot.d.mts +3 -0
  416. package/dist/pot.mjs +2 -0
  417. package/dist/potx.d.mts +3 -0
  418. package/dist/potx.mjs +2 -0
  419. package/dist/powerquery.d.mts +3 -0
  420. package/dist/powerquery.mjs +5 -0
  421. package/dist/powershell.d.mts +3 -0
  422. package/dist/powershell.mjs +7 -0
  423. package/dist/prisma.d.mts +3 -0
  424. package/dist/prisma.mjs +5 -0
  425. package/dist/prolog.d.mts +3 -0
  426. package/dist/prolog.mjs +5 -0
  427. package/dist/properties.d.mts +3 -0
  428. package/dist/properties.mjs +2 -0
  429. package/dist/proto.d.mts +3 -0
  430. package/dist/proto.mjs +5 -0
  431. package/dist/protobuf.d.mts +3 -0
  432. package/dist/protobuf.mjs +2 -0
  433. package/dist/ps.d.mts +3 -0
  434. package/dist/ps.mjs +2 -0
  435. package/dist/ps1.d.mts +3 -0
  436. package/dist/ps1.mjs +2 -0
  437. package/dist/pug.d.mts +3 -0
  438. package/dist/pug.mjs +12 -0
  439. package/dist/puppet.d.mts +3 -0
  440. package/dist/puppet.mjs +5 -0
  441. package/dist/purescript.d.mts +3 -0
  442. package/dist/purescript.mjs +3 -0
  443. package/dist/py.d.mts +3 -0
  444. package/dist/py.mjs +2 -0
  445. package/dist/python.d.mts +3 -0
  446. package/dist/python.mjs +7 -0
  447. package/dist/ql.d.mts +3 -0
  448. package/dist/ql.mjs +2 -0
  449. package/dist/qml.d.mts +3 -0
  450. package/dist/qml.mjs +8 -0
  451. package/dist/qmldir.d.mts +3 -0
  452. package/dist/qmldir.mjs +5 -0
  453. package/dist/qss.d.mts +3 -0
  454. package/dist/qss.mjs +5 -0
  455. package/dist/r.d.mts +3 -0
  456. package/dist/r.mjs +7 -0
  457. package/dist/racket.d.mts +3 -0
  458. package/dist/racket.mjs +5 -0
  459. package/dist/raku.d.mts +3 -0
  460. package/dist/raku.mjs +7 -0
  461. package/dist/razor.d.mts +3 -0
  462. package/dist/razor.mjs +3 -0
  463. package/dist/rb.d.mts +3 -0
  464. package/dist/rb.mjs +2 -0
  465. package/dist/reg.d.mts +3 -0
  466. package/dist/reg.mjs +5 -0
  467. package/dist/regex.d.mts +3 -0
  468. package/dist/regex.mjs +2 -0
  469. package/dist/regexp.d.mts +3 -0
  470. package/dist/regexp.mjs +5 -0
  471. package/dist/rel.d.mts +3 -0
  472. package/dist/rel.mjs +5 -0
  473. package/dist/riscv.d.mts +3 -0
  474. package/dist/riscv.mjs +7 -0
  475. package/dist/rs.d.mts +3 -0
  476. package/dist/rs.mjs +2 -0
  477. package/dist/rst.d.mts +3 -0
  478. package/dist/rst.mjs +22 -0
  479. package/dist/ruby.d.mts +3 -0
  480. package/dist/ruby.mjs +31 -0
  481. package/dist/rust.d.mts +3 -0
  482. package/dist/rust.mjs +5 -0
  483. package/dist/sas.d.mts +3 -0
  484. package/dist/sas.mjs +8 -0
  485. package/dist/sass.d.mts +3 -0
  486. package/dist/sass.mjs +5 -0
  487. package/dist/scala.d.mts +3 -0
  488. package/dist/scala.mjs +7 -0
  489. package/dist/scheme.d.mts +3 -0
  490. package/dist/scheme.mjs +7 -0
  491. package/dist/scss.d.mts +3 -0
  492. package/dist/scss.mjs +9 -0
  493. package/dist/sdbl.d.mts +3 -0
  494. package/dist/sdbl.mjs +5 -0
  495. package/dist/sh.d.mts +3 -0
  496. package/dist/sh.mjs +2 -0
  497. package/dist/shader.d.mts +3 -0
  498. package/dist/shader.mjs +2 -0
  499. package/dist/shaderlab.d.mts +3 -0
  500. package/dist/shaderlab.mjs +8 -0
  501. package/dist/shell.d.mts +3 -0
  502. package/dist/shell.mjs +2 -0
  503. package/dist/shellscript.d.mts +3 -0
  504. package/dist/shellscript.mjs +7 -0
  505. package/dist/shellsession.d.mts +3 -0
  506. package/dist/shellsession.mjs +8 -0
  507. package/dist/smalltalk.d.mts +3 -0
  508. package/dist/smalltalk.mjs +7 -0
  509. package/dist/solidity.d.mts +3 -0
  510. package/dist/solidity.mjs +5 -0
  511. package/dist/soy.d.mts +3 -0
  512. package/dist/soy.mjs +8 -0
  513. package/dist/sparql.d.mts +3 -0
  514. package/dist/sparql.mjs +8 -0
  515. package/dist/spl.d.mts +3 -0
  516. package/dist/spl.mjs +2 -0
  517. package/dist/splunk.d.mts +3 -0
  518. package/dist/splunk.mjs +5 -0
  519. package/dist/sql.d.mts +3 -0
  520. package/dist/sql.mjs +7 -0
  521. package/dist/ssh-config.d.mts +3 -0
  522. package/dist/ssh-config.mjs +7 -0
  523. package/dist/stata.d.mts +3 -0
  524. package/dist/stata.mjs +8 -0
  525. package/dist/styl.d.mts +3 -0
  526. package/dist/styl.mjs +2 -0
  527. package/dist/stylus.d.mts +3 -0
  528. package/dist/stylus.mjs +7 -0
  529. package/dist/svelte.d.mts +3 -0
  530. package/dist/svelte.mjs +15 -0
  531. package/dist/swift.d.mts +3 -0
  532. package/dist/swift.mjs +3 -0
  533. package/dist/system-verilog.d.mts +3 -0
  534. package/dist/system-verilog.mjs +5 -0
  535. package/dist/systemd.d.mts +3 -0
  536. package/dist/systemd.mjs +5 -0
  537. package/dist/talon.d.mts +3 -0
  538. package/dist/talon.mjs +2 -0
  539. package/dist/talonscript.d.mts +3 -0
  540. package/dist/talonscript.mjs +5 -0
  541. package/dist/tasl.d.mts +3 -0
  542. package/dist/tasl.mjs +5 -0
  543. package/dist/tcl.d.mts +3 -0
  544. package/dist/tcl.mjs +5 -0
  545. package/dist/templ.d.mts +3 -0
  546. package/dist/templ.mjs +13 -0
  547. package/dist/terraform.d.mts +3 -0
  548. package/dist/terraform.mjs +5 -0
  549. package/dist/tex.d.mts +3 -0
  550. package/dist/tex.mjs +9 -0
  551. package/dist/tf.d.mts +3 -0
  552. package/dist/tf.mjs +2 -0
  553. package/dist/tfvars.d.mts +3 -0
  554. package/dist/tfvars.mjs +2 -0
  555. package/dist/toml.d.mts +3 -0
  556. package/dist/toml.mjs +7 -0
  557. package/dist/ts-tags.d.mts +3 -0
  558. package/dist/ts-tags.mjs +18 -0
  559. package/dist/ts.d.mts +3 -0
  560. package/dist/ts.mjs +2 -0
  561. package/dist/tsp.d.mts +3 -0
  562. package/dist/tsp.mjs +2 -0
  563. package/dist/tsv.d.mts +3 -0
  564. package/dist/tsv.mjs +5 -0
  565. package/dist/tsx.d.mts +3 -0
  566. package/dist/tsx.mjs +7 -0
  567. package/dist/turtle.d.mts +3 -0
  568. package/dist/turtle.mjs +5 -0
  569. package/dist/twig.d.mts +3 -0
  570. package/dist/twig.mjs +19 -0
  571. package/dist/typ.d.mts +3 -0
  572. package/dist/typ.mjs +2 -0
  573. package/dist/typescript.d.mts +3 -0
  574. package/dist/typescript.mjs +7 -0
  575. package/dist/typespec.d.mts +3 -0
  576. package/dist/typespec.mjs +5 -0
  577. package/dist/typst.d.mts +3 -0
  578. package/dist/typst.mjs +5 -0
  579. package/dist/v.d.mts +3 -0
  580. package/dist/v.mjs +7 -0
  581. package/dist/vala.d.mts +3 -0
  582. package/dist/vala.mjs +5 -0
  583. package/dist/vb.d.mts +3 -0
  584. package/dist/vb.mjs +7 -0
  585. package/dist/verilog.d.mts +3 -0
  586. package/dist/verilog.mjs +7 -0
  587. package/dist/vhdl.d.mts +3 -0
  588. package/dist/vhdl.mjs +5 -0
  589. package/dist/vim.d.mts +3 -0
  590. package/dist/vim.mjs +2 -0
  591. package/dist/viml.d.mts +3 -0
  592. package/dist/viml.mjs +5 -0
  593. package/dist/vimscript.d.mts +3 -0
  594. package/dist/vimscript.mjs +2 -0
  595. package/dist/vue-directives.d.mts +3 -0
  596. package/dist/vue-directives.mjs +5 -0
  597. package/dist/vue-html.d.mts +3 -0
  598. package/dist/vue-html.mjs +11 -0
  599. package/dist/vue-interpolations.d.mts +3 -0
  600. package/dist/vue-interpolations.mjs +5 -0
  601. package/dist/vue-sfc-style-variable-injection.d.mts +3 -0
  602. package/dist/vue-sfc-style-variable-injection.mjs +8 -0
  603. package/dist/vue.d.mts +3 -0
  604. package/dist/vue.mjs +27 -0
  605. package/dist/vy.d.mts +3 -0
  606. package/dist/vy.mjs +2 -0
  607. package/dist/vyper.d.mts +3 -0
  608. package/dist/vyper.mjs +7 -0
  609. package/dist/wasm.d.mts +3 -0
  610. package/dist/wasm.mjs +5 -0
  611. package/dist/wenyan.d.mts +3 -0
  612. package/dist/wenyan.mjs +5 -0
  613. package/dist/wgsl.d.mts +3 -0
  614. package/dist/wgsl.mjs +5 -0
  615. package/dist/wiki.d.mts +3 -0
  616. package/dist/wiki.mjs +2 -0
  617. package/dist/wikitext.d.mts +3 -0
  618. package/dist/wikitext.mjs +7 -0
  619. package/dist/wl.d.mts +3 -0
  620. package/dist/wl.mjs +2 -0
  621. package/dist/wolfram.d.mts +3 -0
  622. package/dist/wolfram.mjs +7 -0
  623. package/dist/xml.d.mts +3 -0
  624. package/dist/xml.mjs +8 -0
  625. package/dist/xsl.d.mts +3 -0
  626. package/dist/xsl.mjs +8 -0
  627. package/dist/yaml.d.mts +3 -0
  628. package/dist/yaml.mjs +7 -0
  629. package/dist/yml.d.mts +3 -0
  630. package/dist/yml.mjs +2 -0
  631. package/dist/zenscript.d.mts +3 -0
  632. package/dist/zenscript.mjs +5 -0
  633. package/dist/zig.d.mts +3 -0
  634. package/dist/zig.mjs +5 -0
  635. package/dist/zsh.d.mts +3 -0
  636. package/dist/zsh.mjs +2 -0
  637. package/package.json +358 -0
package/dist/less.mjs ADDED
@@ -0,0 +1,5 @@
1
+ const lang = Object.freeze({displayName:"Less",name:"less",patterns:[{include:"#comment-block"},{include:"#less-namespace-accessors"},{include:"#less-extend"},{include:"#at-rules"},{include:"#less-variable-assignment"},{include:"#property-list"},{include:"#selector"}],repository:{"angle-type":{captures:{"1":{name:"keyword.other.unit.less"}},match:/[\-\+]?(?:\p{Nd}*\.\p{Nd}+(?:[eE][\-\+]?\p{Nd}+)*|[\-\+]?\p{Nd}+)(deg|grad|rad|turn)\b/dgiv,name:"constant.numeric.less"},"arbitrary-repetition":{captures:{"1":{name:"punctuation.definition.arbitrary-repetition.less"}},match:/\p{space}*(,)/dgv},"at-charset":{begin:/\p{space}*((@)charset\b)\p{space}*/dgv,beginCaptures:{"1":{name:"keyword.control.at-rule.charset.less"},"2":{name:"punctuation.definition.keyword.less"}},end:/\p{space}*((?=;|(?=$|\n)))/dgv,name:"meta.at-rule.charset.less",patterns:[{include:"#literal-string"}]},"at-container":{begin:/(?=\p{space}*@container)/dgv,end:/\p{space}*(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.block.end.less"}},patterns:[{begin:/((@)container)/dgv,beginCaptures:{"1":{name:"keyword.control.at-rule.container.less"},"2":{name:"punctuation.definition.keyword.less"},"3":{name:"support.constant.container.less"}},end:/(?=\{)/dgv,name:"meta.at-rule.container.less",patterns:[{begin:/\p{space}*(?=[^\{\;])/dgv,end:/\p{space}*(?=[\{\;])/dgv,patterns:[{match:/\b(not|and|or)\b/dgv,name:"keyword.operator.comparison.less"},{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.at-rule.container-query.less",patterns:[{captures:{"1":{name:"support.type.property-name.less"}},match:/\b(aspect-ratio|block-size|height|inline-size|orientation|width)\b/dgv,name:"support.constant.size-feature.less"},{match:/((<|>)=?)|=|\//dgv,name:"keyword.operator.comparison.less"},{match:/:/dgv,name:"punctuation.separator.key-value.less"},{match:/portrait|landscape/dgv,name:"support.constant.property-value.less"},{include:"#numeric-values"},{match:/\//dgv,name:"keyword.operator.arithmetic.less"},{include:"#var-function"},{include:"#less-variables"},{include:"#less-variable-interpolation"}]},{include:"#style-function"},{match:/--|-?(?:(?:[a-zA-Z_]|[·À-ÖØ-öø-ͽͿ-῿‌‍‿⁀⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-\u{EFFFF}])|\\(?:[^\n]|[^0-9A-Fa-f]|[0-9A-Fa-f]{1,6}[\p{space}R]))(?:(?:[\-\p{Nd}a-zA-Z_]|[·À-ÖØ-öø-ͽͿ-῿‌‍‿⁀⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-\u{EFFFF}])|\\(?:[^\n]|[^0-9A-Fa-f]|[0-9A-Fa-f]{1,6}[\p{space}R]))*/dgv,name:"variable.parameter.container-name.css"},{include:"#arbitrary-repetition"},{include:"#less-variables"}]}]},{begin:/\p{space}*(\{)/dgv,beginCaptures:{"1":{name:"punctuation.definition.block.begin.less"}},end:/(?=\})/dgv,patterns:[{include:"#rule-list-body"},{include:"$self"}]}]},"at-counter-style":{begin:/\p{space}*((@)counter-style\b)\p{space}+(?:\b([Dd][Ee][Cc][Ii][Mm][Aa][Ll]|[Nn][Oo][Nn][Ee])\b|(-?(?:[_a-zA-Z[^\x00-\x7F]]|(?:\\\p{AHex}{1,6}[\p{space}\t\n\f]?|\\[^\n\f\p{AHex}]))(?:[\-\p{L}\p{M}\p{N}\p{Pc}[^\x00-\x7F]]|(?:\\\p{AHex}{1,6}[\p{space}\t\n\f]?|\\[^\n\f\p{AHex}]))*))\p{space}*(?=\{|(?=$|\n))/dgv,beginCaptures:{"1":{name:"keyword.control.at-rule.counter-style.less"},"2":{name:"punctuation.definition.keyword.less"},"3":{name:"invalid.illegal.counter-style-name.less"},"4":{name:"entity.other.counter-style-name.css"}},end:/\p{space}*(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.block.begin.less"}},name:"meta.at-rule.counter-style.less",patterns:[{include:"#comment-block"},{include:"#rule-list"}]},"at-custom-media":{begin:/(?=\p{space}*@custom-media\b)/dgv,end:/\p{space}*(?=;)/dgv,name:"meta.at-rule.custom-media.less",patterns:[{captures:{"0":{name:"punctuation.section.property-list.less"}},match:/\p{space}*;/dgv},{captures:{"1":{name:"keyword.control.at-rule.custom-media.less"},"2":{name:"punctuation.definition.keyword.less"},"3":{name:"support.constant.custom-media.less"}},match:/\p{space}*((@)custom-media)(?=[^\n]*?)/dgv},{include:"#media-query-list"}]},"at-font-face":{begin:/\p{space}*((@)font-face)\p{space}*(?=\{|(?=$|\n))/dgv,beginCaptures:{"1":{name:"keyword.control.at-rule.font-face.less"},"2":{name:"punctuation.definition.keyword.less"}},end:/\p{space}*(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.block.end.less"}},name:"meta.at-rule.font-face.less",patterns:[{include:"#comment-block"},{include:"#rule-list"}]},"at-import":{begin:/\p{space}*((@)import\b)\p{space}*/dgv,beginCaptures:{"1":{name:"keyword.control.at-rule.import.less"},"2":{name:"punctuation.definition.keyword.less"}},end:/;/dgv,endCaptures:{"0":{name:"punctuation.terminator.rule.less"}},name:"meta.at-rule.import.less",patterns:[{include:"#url-function"},{include:"#less-variables"},{begin:/(?<=(["'])|(["']\)))\p{space}*/dgv,end:/\p{space}*(?=;)/dgv,patterns:[{include:"#media-query"}]},{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.group.less",patterns:[{match:/reference|inline|less|css|once|multiple|optional/dgv,name:"constant.language.import-directive.less"},{include:"#comma-delimiter"}]},{include:"#literal-string"}]},"at-keyframes":{begin:/\p{space}*((@)keyframes)(?=[^\n]*?\{)/dgv,beginCaptures:{"1":{name:"keyword.control.at-rule.keyframe.less"},"2":{name:"punctuation.definition.keyword.less"},"4":{name:"support.constant.keyframe.less"}},end:/\p{space}*(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.block.end.less"}},patterns:[{begin:/\p{space}*(\{)/dgv,beginCaptures:{"1":{name:"punctuation.definition.block.begin.less"}},end:/(?=\})/dgv,patterns:[{captures:{"1":{name:"keyword.other.keyframe-selector.less"},"2":{name:"constant.numeric.less"},"3":{name:"keyword.other.unit.less"}},match:/\p{space}*(?:(from|to)|((?:\.\p{Nd}+|\p{Nd}+(?:\.\p{Nd}*)?)(%)))\p{space}*,?\p{space}*/dgv},{include:"$self"}]},{begin:/\p{space}*(?=[^\{\;])/dgv,end:/\p{space}*(?=\{)/dgv,name:"meta.at-rule.keyframe.less",patterns:[{include:"#keyframe-name"},{include:"#arbitrary-repetition"}]}]},"at-media":{begin:/(?=\p{space}*@media\b)/dgv,end:/\p{space}*(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.block.end.less"}},patterns:[{begin:/\p{space}*((@)media)/dgv,beginCaptures:{"1":{name:"keyword.control.at-rule.media.less"},"2":{name:"punctuation.definition.keyword.less"},"3":{name:"support.constant.media.less"}},end:/\p{space}*(?=\{)/dgv,name:"meta.at-rule.media.less",patterns:[{include:"#media-query-list"}]},{begin:/\p{space}*(\{)/dgv,beginCaptures:{"1":{name:"punctuation.definition.block.begin.less"}},end:/(?=\})/dgv,patterns:[{include:"#rule-list-body"},{include:"$self"}]}]},"at-namespace":{begin:/\p{space}*((@)namespace)\p{space}+/dgv,beginCaptures:{"1":{name:"keyword.control.at-rule.namespace.less"},"2":{name:"punctuation.definition.keyword.less"}},end:/;/dgv,endCaptures:{"0":{name:"punctuation.terminator.rule.less"}},name:"meta.at-rule.namespace.less",patterns:[{include:"#url-function"},{include:"#literal-string"},{match:/(-?(?:[_a-zA-Z[^\x00-\x7F]]|(?:\\\p{AHex}{1,6}[\p{space}\t\n\f]?|\\[^\n\f\p{AHex}]))(?:[\-\p{L}\p{M}\p{N}\p{Pc}[^\x00-\x7F]]|(?:\\\p{AHex}{1,6}[\p{space}\t\n\f]?|\\[^\n\f\p{AHex}]))*)/dgv,name:"entity.name.constant.namespace-prefix.less"}]},"at-page":{captures:{"1":{name:"keyword.control.at-rule.page.less"},"2":{name:"punctuation.definition.keyword.less"},"3":{name:"punctuation.definition.entity.less"},"4":{name:"entity.other.attribute-name.pseudo-class.less"}},match:/\p{space}*((@)page)\p{space}*(?:(:)(first|left|right))?\p{space}*(?=\{|(?=$|\n))/dgv,name:"meta.at-rule.page.less",patterns:[{include:"#comment-block"},{include:"#rule-list"}]},"at-rules":{patterns:[{include:"#at-charset"},{include:"#at-container"},{include:"#at-counter-style"},{include:"#at-custom-media"},{include:"#at-font-face"},{include:"#at-media"},{include:"#at-import"},{include:"#at-keyframes"},{include:"#at-namespace"},{include:"#at-page"},{include:"#at-supports"},{include:"#at-viewport"}]},"at-supports":{begin:/(?=\p{space}*@supports\b)/dgv,end:/(?=\p{space}*)(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.block.end.less"}},patterns:[{begin:/\p{space}*((@)supports)/dgv,beginCaptures:{"1":{name:"keyword.control.at-rule.supports.less"},"2":{name:"punctuation.definition.keyword.less"},"3":{name:"support.constant.supports.less"}},end:/\p{space}*(?=\{)/dgv,name:"meta.at-rule.supports.less",patterns:[{include:"#at-supports-operators"},{include:"#at-supports-parens"}]},{begin:/\p{space}*(\{)/dgv,beginCaptures:{"1":{name:"punctuation.section.property-list.begin.less"}},end:/(?=\})/dgv,patterns:[{include:"#rule-list-body"},{include:"$self"}]}]},"at-supports-operators":{match:/\b(?:and|or|not)\b/dgv,name:"keyword.operator.logic.less"},"at-supports-parens":{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.group.less",patterns:[{include:"#at-supports-operators"},{include:"#at-supports-parens"},{include:"#rule-list-body"}]},"attr-function":{begin:/\b(attr)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.filter.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#qualified-name"},{include:"#literal-string"},{begin:/(-?(?:[_a-zA-Z[^\x00-\x7F]]|(?:\\\p{AHex}{1,6}[\p{space}\t\n\f]?|\\[^\n\f\p{AHex}]))(?:[\-\p{L}\p{M}\p{N}\p{Pc}[^\x00-\x7F]]|(?:\\\p{AHex}{1,6}[\p{space}\t\n\f]?|\\[^\n\f\p{AHex}]))*)/dgv,end:/(?=\))/dgv,name:"entity.other.attribute-name.less",patterns:[{match:/\b((?:em|ex|ch|rem)|(?:vw|vh|vmin|vmax)|(?:cm|mm|q|in|pt|pc|px|fr)|(?:deg|grad|rad|turn)|(?:s|ms)|(?:Hz|kHz)|(?:dpi|dpcm|dppx))\b/dgiv,name:"keyword.other.unit.less"},{include:"#comma-delimiter"},{include:"#property-value-constants"},{include:"#numeric-values"}]},{include:"#color-values"}]}]},"builtin-functions":{patterns:[{include:"#attr-function"},{include:"#calc-function"},{include:"#color-functions"},{include:"#counter-functions"},{include:"#cross-fade-function"},{include:"#cubic-bezier-function"},{include:"#filter-function"},{include:"#fit-content-function"},{include:"#format-function"},{include:"#gradient-functions"},{include:"#grid-repeat-function"},{include:"#image-function"},{include:"#less-functions"},{include:"#local-function"},{include:"#minmax-function"},{include:"#regexp-function"},{include:"#shape-functions"},{include:"#steps-function"},{include:"#symbols-function"},{include:"#transform-functions"},{include:"#url-function"},{include:"#var-function"}]},"calc-function":{begin:/\b(calc)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.calc.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#less-strings"},{include:"#var-function"},{include:"#calc-function"},{include:"#attr-function"},{include:"#less-math"},{include:"#relative-color"}]}]},"color-adjuster-operators":{match:/[\-\+\*](?=\p{space}+)/dgv,name:"keyword.operator.less"},"color-functions":{patterns:[{begin:/\b(rgba?)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.color.less"}},comment:"rgb(), rgba()",end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#less-strings"},{include:"#less-variables"},{include:"#var-function"},{include:"#comma-delimiter"},{include:"#value-separator"},{include:"#percentage-type"},{include:"#number-type"}]}]},{begin:/\b(hsla|hsl|hwb|oklab|oklch|lab|lch)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.color.less"}},comment:"hsla, hsl, hwb, oklab, oklch, lab, lch",end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#color-values"},{include:"#less-strings"},{include:"#less-variables"},{include:"#var-function"},{include:"#comma-delimiter"},{include:"#angle-type"},{include:"#percentage-type"},{include:"#number-type"},{include:"#calc-function"},{include:"#value-separator"}]}]},{begin:/\b(light-dark)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.color.less"}},comment:"light-dark()",end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#color-values"},{include:"#comma-delimiter"}]}]},{include:"#less-color-functions"}]},"color-values":{patterns:[{include:"#color-functions"},{include:"#less-functions"},{include:"#less-variables"},{include:"#var-function"},{match:/\b(aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)\b/dgv,name:"support.constant.color.w3c-standard-color-name.less"},{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|rebeccapurple|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|thistle|tomato|turquoise|violet|wheat|whitesmoke|yellowgreen)\b/dgv,name:"support.constant.color.w3c-extended-color-keywords.less"},{match:/\b(currentColor|transparent)\b/dgiv,name:"support.constant.color.w3c-special-color-keyword.less"},{captures:{"1":{name:"punctuation.definition.constant.less"}},match:/(#)(\p{AHex}{3}|\p{AHex}{4}|\p{AHex}{6}|\p{AHex}{8})\b/dgv,name:"constant.other.color.rgb-value.less"},{include:"#relative-color"}]},"comma-delimiter":{captures:{"1":{name:"punctuation.separator.less"}},match:/\p{space}*(,)\p{space}*/dgv},"comment-block":{patterns:[{begin:/\/\*/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.less"}},end:/\*\//dgv,endCaptures:{"0":{name:"punctuation.definition.comment.less"}},name:"comment.block.less"},{include:"#comment-line"}]},"comment-line":{captures:{"1":{name:"punctuation.definition.comment.less"}},match:/(\/\/)[^\n]*(?=$|\n)\n?/dgv,name:"comment.line.double-slash.less"},"counter-functions":{patterns:[{begin:/\b(counter)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.filter.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#less-strings"},{include:"#less-variables"},{include:"#var-function"},{match:/(?:--(?:[\-\p{L}\p{M}\p{N}\p{Pc}[^\x00-\x7F]]|(?:\\\p{AHex}{1,6}[\p{space}\t\n\f]?|\\[^\n\f\p{AHex}]))+|-?(?:[_a-zA-Z[^\x00-\x7F]]|(?:\\\p{AHex}{1,6}[\p{space}\t\n\f]?|\\[^\n\f\p{AHex}]))(?:[\-\p{L}\p{M}\p{N}\p{Pc}[^\x00-\x7F]]|(?:\\\p{AHex}{1,6}[\p{space}\t\n\f]?|\\[^\n\f\p{AHex}]))*)/dgv,name:"entity.other.counter-name.less"},{begin:/(?=,)/dgv,end:/(?=\))/dgv,patterns:[{include:"#comma-delimiter"},{match:/\b((?:[Aa][Rr][Aa][Bb][Ii][Cc]-[Ii][Nn][Dd][Ii][Cc]|[Aa][Rr][Mm][Ee][Nn][Ii][Aa][Nn]|[Bb][Ee][Nn][Gg][Aa][Ll][Ii]|[Cc][Aa][Mm][Bb][Oo][Dd][Ii][Aa][Nn]|[Cc][Ii][Rr][Cc][Ll][Ee]|[Cc][Jj][KKk]-[Dd][Ee][Cc][Ii][Mm][Aa][Ll]|[Cc][Jj][KKk]-[Ee][Aa][Rr][Tt][Hh][Ll][Yy]-[Bb][Rr][Aa][Nn][Cc][Hh]|[Cc][Jj][KKk]-[Hh][Ee][Aa][Vv][Ee][Nn][Ll][Yy]-[Ssſ][Tt][Ee][Mm]|[Dd][Ee][Cc][Ii][Mm][Aa][Ll]-[Ll][Ee][Aa][Dd][Ii][Nn][Gg]-[Zz][Ee][Rr][Oo]|[Dd][Ee][Cc][Ii][Mm][Aa][Ll]|[Dd][Ee][Vv][Aa][Nn][Aa][Gg][Aa][Rr][Ii]|[Dd][Ii][Ssſ][Cc][Ll][Oo][Ssſ][Uu][Rr][Ee]-[Cc][Ll][Oo][Ssſ][Ee][Dd]|[Dd][Ii][Ssſ][Cc][Ll][Oo][Ssſ][Uu][Rr][Ee]-[Oo][Pp][Ee][Nn]|[Dd][Ii][Ssſ][Cc]|[Ee][Tt][Hh][Ii][Oo][Pp][Ii][Cc]-[Nn][Uu][Mm][Ee][Rr][Ii][Cc]|[Gg][Ee][Oo][Rr][Gg][Ii][Aa][Nn]|[Gg][Uu][Jj][Aa][Rr][Aa][Tt][Ii]|[Gg][Uu][Rr][Mm][Uu][KKk][Hh][Ii]|[Hh][Ee][Bb][Rr][Ee][Ww]|[Hh][Ii][Rr][Aa][Gg][Aa][Nn][Aa]-[Ii][Rr][Oo][Hh][Aa]|[Hh][Ii][Rr][Aa][Gg][Aa][Nn][Aa]|[Jj][Aa][Pp][Aa][Nn][Ee][Ssſ][Ee]-[Ff][Oo][Rr][Mm][Aa][Ll]|[Jj][Aa][Pp][Aa][Nn][Ee][Ssſ][Ee]-[Ii][Nn][Ff][Oo][Rr][Mm][Aa][Ll]|[KKk][Aa][Nn][Nn][Aa][Dd][Aa]|[KKk][Aa][Tt][Aa][KKk][Aa][Nn][Aa]-[Ii][Rr][Oo][Hh][Aa]|[KKk][Aa][Tt][Aa][KKk][Aa][Nn][Aa]|[KKk][Hh][Mm][Ee][Rr]|[KKk][Oo][Rr][Ee][Aa][Nn]-[Hh][Aa][Nn][Gg][Uu][Ll]-[Ff][Oo][Rr][Mm][Aa][Ll]|[KKk][Oo][Rr][Ee][Aa][Nn]-[Hh][Aa][Nn][Jj][Aa]-[Ff][Oo][Rr][Mm][Aa][Ll]|[KKk][Oo][Rr][Ee][Aa][Nn]-[Hh][Aa][Nn][Jj][Aa]-[Ii][Nn][Ff][Oo][Rr][Mm][Aa][Ll]|[Ll][Aa][Oo]|[Ll][Oo][Ww][Ee][Rr]-[Aa][Ll][Pp][Hh][Aa]|[Ll][Oo][Ww][Ee][Rr]-[Aa][Rr][Mm][Ee][Nn][Ii][Aa][Nn]|[Ll][Oo][Ww][Ee][Rr]-[Gg][Rr][Ee][Ee][KKk]|[Ll][Oo][Ww][Ee][Rr]-[Ll][Aa][Tt][Ii][Nn]|[Ll][Oo][Ww][Ee][Rr]-[Rr][Oo][Mm][Aa][Nn]|[Mm][Aa][Ll][Aa][Yy][Aa][Ll][Aa][Mm]|[Mm][Oo][Nn][Gg][Oo][Ll][Ii][Aa][Nn]|[Mm][Yy][Aa][Nn][Mm][Aa][Rr]|[Oo][Rr][Ii][Yy][Aa]|[Pp][Ee][Rr][Ssſ][Ii][Aa][Nn]|[Ssſ][Ii][Mm][Pp]-[Cc][Hh][Ii][Nn][Ee][Ssſ][Ee]-[Ff][Oo][Rr][Mm][Aa][Ll]|[Ssſ][Ii][Mm][Pp]-[Cc][Hh][Ii][Nn][Ee][Ssſ][Ee]-[Ii][Nn][Ff][Oo][Rr][Mm][Aa][Ll]|[Ssſ][Qq][Uu][Aa][Rr][Ee]|[Tt][Aa][Mm][Ii][Ll]|[Tt][Ee][Ll][Uu][Gg][Uu]|[Tt][Hh][Aa][Ii]|[Tt][Ii][Bb][Ee][Tt][Aa][Nn]|[Tt][Rr][Aa][Dd]-[Cc][Hh][Ii][Nn][Ee][Ssſ][Ee]-[Ff][Oo][Rr][Mm][Aa][Ll]|[Tt][Rr][Aa][Dd]-[Cc][Hh][Ii][Nn][Ee][Ssſ][Ee]-[Ii][Nn][Ff][Oo][Rr][Mm][Aa][Ll]|[Uu][Pp][Pp][Ee][Rr]-[Aa][Ll][Pp][Hh][Aa]|[Uu][Pp][Pp][Ee][Rr]-[Aa][Rr][Mm][Ee][Nn][Ii][Aa][Nn]|[Uu][Pp][Pp][Ee][Rr]-[Ll][Aa][Tt][Ii][Nn]|[Uu][Pp][Pp][Ee][Rr]-[Rr][Oo][Mm][Aa][Nn])|none)\b/dgv,name:"support.constant.property-value.counter-style.less"}]}]}]},{begin:/\b(counters)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.filter.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{match:/(-?(?:[_a-zA-Z[^\x00-\x7F]]|(?:\\\p{AHex}{1,6}[\p{space}\t\n\f]?|\\[^\n\f\p{AHex}]))(?:[\-\p{L}\p{M}\p{N}\p{Pc}[^\x00-\x7F]]|(?:\\\p{AHex}{1,6}[\p{space}\t\n\f]?|\\[^\n\f\p{AHex}]))*)/dgv,name:"entity.other.counter-name.less string.unquoted.less"},{begin:/(?=,)/dgv,end:/(?=\))/dgv,patterns:[{include:"#less-strings"},{include:"#less-variables"},{include:"#var-function"},{include:"#literal-string"},{include:"#comma-delimiter"},{match:/\b((?:[Aa][Rr][Aa][Bb][Ii][Cc]-[Ii][Nn][Dd][Ii][Cc]|[Aa][Rr][Mm][Ee][Nn][Ii][Aa][Nn]|[Bb][Ee][Nn][Gg][Aa][Ll][Ii]|[Cc][Aa][Mm][Bb][Oo][Dd][Ii][Aa][Nn]|[Cc][Ii][Rr][Cc][Ll][Ee]|[Cc][Jj][KKk]-[Dd][Ee][Cc][Ii][Mm][Aa][Ll]|[Cc][Jj][KKk]-[Ee][Aa][Rr][Tt][Hh][Ll][Yy]-[Bb][Rr][Aa][Nn][Cc][Hh]|[Cc][Jj][KKk]-[Hh][Ee][Aa][Vv][Ee][Nn][Ll][Yy]-[Ssſ][Tt][Ee][Mm]|[Dd][Ee][Cc][Ii][Mm][Aa][Ll]-[Ll][Ee][Aa][Dd][Ii][Nn][Gg]-[Zz][Ee][Rr][Oo]|[Dd][Ee][Cc][Ii][Mm][Aa][Ll]|[Dd][Ee][Vv][Aa][Nn][Aa][Gg][Aa][Rr][Ii]|[Dd][Ii][Ssſ][Cc][Ll][Oo][Ssſ][Uu][Rr][Ee]-[Cc][Ll][Oo][Ssſ][Ee][Dd]|[Dd][Ii][Ssſ][Cc][Ll][Oo][Ssſ][Uu][Rr][Ee]-[Oo][Pp][Ee][Nn]|[Dd][Ii][Ssſ][Cc]|[Ee][Tt][Hh][Ii][Oo][Pp][Ii][Cc]-[Nn][Uu][Mm][Ee][Rr][Ii][Cc]|[Gg][Ee][Oo][Rr][Gg][Ii][Aa][Nn]|[Gg][Uu][Jj][Aa][Rr][Aa][Tt][Ii]|[Gg][Uu][Rr][Mm][Uu][KKk][Hh][Ii]|[Hh][Ee][Bb][Rr][Ee][Ww]|[Hh][Ii][Rr][Aa][Gg][Aa][Nn][Aa]-[Ii][Rr][Oo][Hh][Aa]|[Hh][Ii][Rr][Aa][Gg][Aa][Nn][Aa]|[Jj][Aa][Pp][Aa][Nn][Ee][Ssſ][Ee]-[Ff][Oo][Rr][Mm][Aa][Ll]|[Jj][Aa][Pp][Aa][Nn][Ee][Ssſ][Ee]-[Ii][Nn][Ff][Oo][Rr][Mm][Aa][Ll]|[KKk][Aa][Nn][Nn][Aa][Dd][Aa]|[KKk][Aa][Tt][Aa][KKk][Aa][Nn][Aa]-[Ii][Rr][Oo][Hh][Aa]|[KKk][Aa][Tt][Aa][KKk][Aa][Nn][Aa]|[KKk][Hh][Mm][Ee][Rr]|[KKk][Oo][Rr][Ee][Aa][Nn]-[Hh][Aa][Nn][Gg][Uu][Ll]-[Ff][Oo][Rr][Mm][Aa][Ll]|[KKk][Oo][Rr][Ee][Aa][Nn]-[Hh][Aa][Nn][Jj][Aa]-[Ff][Oo][Rr][Mm][Aa][Ll]|[KKk][Oo][Rr][Ee][Aa][Nn]-[Hh][Aa][Nn][Jj][Aa]-[Ii][Nn][Ff][Oo][Rr][Mm][Aa][Ll]|[Ll][Aa][Oo]|[Ll][Oo][Ww][Ee][Rr]-[Aa][Ll][Pp][Hh][Aa]|[Ll][Oo][Ww][Ee][Rr]-[Aa][Rr][Mm][Ee][Nn][Ii][Aa][Nn]|[Ll][Oo][Ww][Ee][Rr]-[Gg][Rr][Ee][Ee][KKk]|[Ll][Oo][Ww][Ee][Rr]-[Ll][Aa][Tt][Ii][Nn]|[Ll][Oo][Ww][Ee][Rr]-[Rr][Oo][Mm][Aa][Nn]|[Mm][Aa][Ll][Aa][Yy][Aa][Ll][Aa][Mm]|[Mm][Oo][Nn][Gg][Oo][Ll][Ii][Aa][Nn]|[Mm][Yy][Aa][Nn][Mm][Aa][Rr]|[Oo][Rr][Ii][Yy][Aa]|[Pp][Ee][Rr][Ssſ][Ii][Aa][Nn]|[Ssſ][Ii][Mm][Pp]-[Cc][Hh][Ii][Nn][Ee][Ssſ][Ee]-[Ff][Oo][Rr][Mm][Aa][Ll]|[Ssſ][Ii][Mm][Pp]-[Cc][Hh][Ii][Nn][Ee][Ssſ][Ee]-[Ii][Nn][Ff][Oo][Rr][Mm][Aa][Ll]|[Ssſ][Qq][Uu][Aa][Rr][Ee]|[Tt][Aa][Mm][Ii][Ll]|[Tt][Ee][Ll][Uu][Gg][Uu]|[Tt][Hh][Aa][Ii]|[Tt][Ii][Bb][Ee][Tt][Aa][Nn]|[Tt][Rr][Aa][Dd]-[Cc][Hh][Ii][Nn][Ee][Ssſ][Ee]-[Ff][Oo][Rr][Mm][Aa][Ll]|[Tt][Rr][Aa][Dd]-[Cc][Hh][Ii][Nn][Ee][Ssſ][Ee]-[Ii][Nn][Ff][Oo][Rr][Mm][Aa][Ll]|[Uu][Pp][Pp][Ee][Rr]-[Aa][Ll][Pp][Hh][Aa]|[Uu][Pp][Pp][Ee][Rr]-[Aa][Rr][Mm][Ee][Nn][Ii][Aa][Nn]|[Uu][Pp][Pp][Ee][Rr]-[Ll][Aa][Tt][Ii][Nn]|[Uu][Pp][Pp][Ee][Rr]-[Rr][Oo][Mm][Aa][Nn])|none)\b/dgv,name:"support.constant.property-value.counter-style.less"}]}]}]}]},"cross-fade-function":{patterns:[{begin:/\b(cross-fade)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.image.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#comma-delimiter"},{include:"#percentage-type"},{include:"#color-values"},{include:"#image-type"},{include:"#literal-string"},{include:"#unquoted-string"}]}]}]},"cubic-bezier-function":{begin:/\b(cubic-bezier)(\()/dgv,beginCaptures:{"1":{name:"support.function.timing.less"},"2":{name:"punctuation.definition.group.begin.less"}},contentName:"meta.group.less",end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{include:"#less-functions"},{include:"#calc-function"},{include:"#less-variables"},{include:"#var-function"},{include:"#comma-delimiter"},{include:"#number-type"}]},"custom-property-name":{captures:{"1":{name:"punctuation.definition.custom-property.less"},"2":{name:"support.type.custom-property.name.less"}},match:/\p{space}*(--)((?:[\-\p{L}\p{M}\p{N}\p{Pc}[^\x00-\x7F]]|(?:\\\p{AHex}{1,6}[\p{space}\t\n\f]?|\\[^\n\f\p{AHex}]))+)/dgv,name:"support.type.custom-property.less"},dimensions:{patterns:[{include:"#angle-type"},{include:"#frequency-type"},{include:"#time-type"},{include:"#percentage-type"},{include:"#length-type"}]},"filter-function":{begin:/\b(filter)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.filter.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,name:"meta.group.less",patterns:[{include:"#comma-delimiter"},{include:"#image-type"},{include:"#literal-string"},{include:"#filter-functions"}]}]},"filter-functions":{patterns:[{include:"#less-functions"},{begin:/\b(blur)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.filter.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#length-type"}]}]},{begin:/\b(brightness|contrast|grayscale|invert|opacity|saturate|sepia)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.filter.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#percentage-type"},{include:"#number-type"},{include:"#less-functions"}]}]},{begin:/\b(drop-shadow)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.filter.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#length-type"},{include:"#color-values"}]}]},{begin:/\b(hue-rotate)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.filter.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#angle-type"}]}]}]},"fit-content-function":{begin:/\b(fit-content)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.grid.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#less-variables"},{include:"#var-function"},{include:"#calc-function"},{include:"#percentage-type"},{include:"#length-type"}]}]},"format-function":{patterns:[{begin:/\b(format)(?=\()/dgv,beginCaptures:{"0":{name:"support.function.format.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#literal-string"}]}]}]},"frequency-type":{captures:{"1":{name:"keyword.other.unit.less"}},match:/[\-\+]?(?:\p{Nd}*\.\p{Nd}+(?:[eE][\-\+]?\p{Nd}+)*|[\-\+]?\p{Nd}+)(Hz|kHz)\b/dgiv,name:"constant.numeric.less"},"global-property-values":{match:/\b(?:initial|inherit|unset|revert-layer|revert)\b/dgv,name:"support.constant.property-value.less"},"gradient-functions":{patterns:[{begin:/\b((?:repeating-)?linear-gradient)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.gradient.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#less-variables"},{include:"#var-function"},{include:"#angle-type"},{include:"#color-values"},{include:"#percentage-type"},{include:"#length-type"},{include:"#comma-delimiter"},{match:/\bto\b/dgv,name:"keyword.other.less"},{match:/\b(top|right|bottom|left)\b/dgv,name:"support.constant.property-value.less"}]}]},{begin:/\b((?:repeating-)?radial-gradient)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.gradient.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#less-variables"},{include:"#var-function"},{include:"#color-values"},{include:"#percentage-type"},{include:"#length-type"},{include:"#comma-delimiter"},{match:/\b(at|circle|ellipse)\b/dgv,name:"keyword.other.less"},{match:/\b(top|right|bottom|left|center|(farthest|closest)-(corner|side))\b/dgv,name:"support.constant.property-value.less"}]}]}]},"grid-repeat-function":{begin:/\b(repeat)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.grid.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#comma-delimiter"},{include:"#var-function"},{include:"#length-type"},{include:"#percentage-type"},{include:"#minmax-function"},{include:"#integer-type"},{match:/\b(auto-(fill|fit))\b/dgv,name:"support.keyword.repetitions.less"},{match:/\b(((max|min)-content)|auto)\b/dgv,name:"support.constant.property-value.less"}]}]},"image-function":{begin:/\b(image)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.image.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#image-type"},{include:"#literal-string"},{include:"#color-values"},{include:"#comma-delimiter"},{include:"#unquoted-string"}]}]},"image-type":{patterns:[{include:"#cross-fade-function"},{include:"#gradient-functions"},{include:"#image-function"},{include:"#url-function"}]},important:{captures:{"1":{name:"punctuation.separator.less"}},match:/(!)\p{space}*important/dgv,name:"keyword.other.important.less"},"integer-type":{match:/[\-\+]?\p{Nd}+/dgv,name:"constant.numeric.less"},"keyframe-name":{begin:/\p{space}*(-?(?:[_a-z]|[^\x00-\x7F]|(?:(:?\\[0-9a-f]{1,6}(\r\n|[\p{space}\t\r\n\f])?)|\\[^\r\n\f0-9a-f]))(?:[_a-z0-9\-]|[^\x00-\x7F]|(?:(:?\\[0-9a-f]{1,6}(\r\n|[\t\r\n\f])?)|\\[^\r\n\f0-9a-f]))*)?/dgv,beginCaptures:{"1":{name:"variable.other.constant.animation-name.less"}},end:/\p{space}*(?:(,)|(?=[\{\;]))/dgv,endCaptures:{"1":{name:"punctuation.definition.arbitrary-repetition.less"}}},"length-type":{patterns:[{captures:{"1":{name:"keyword.other.unit.less"}},match:/[\-\+]?(?:\p{Nd}+\.\p{Nd}+|\.?\p{Nd}+)(?:[eE][\-\+]?\p{Nd}+)?(em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|m|q|in|pt|pc|px|fr|dpi|dpcm|dppx|x)/dgv,name:"constant.numeric.less"},{match:/\b[\-\+]?0\b/dgv,name:"constant.numeric.less"}]},"less-boolean-function":{begin:/\b(boolean)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.boolean.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#less-logical-comparisons"}]}]},"less-color-blend-functions":{patterns:[{begin:/\b(multiply|screen|overlay|(soft|hard)light|difference|exclusion|negation|average)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.color-blend.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#less-variables"},{include:"#var-function"},{include:"#comma-delimiter"},{include:"#color-values"}]}]}]},"less-color-channel-functions":{patterns:[{begin:/\b(hue|saturation|lightness|hsv(hue|saturation|value)|red|green|blue|alpha|luma|luminance)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.color-definition.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#color-values"}]}]}]},"less-color-definition-functions":{patterns:[{begin:/\b(argb)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.color-definition.less"}},comment:"argb()",end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#less-variables"},{include:"#var-function"},{include:"#color-values"}]}]},{begin:/\b(hsva?)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.color.less"}},comment:"hsva(), hsv()",end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#integer-type"},{include:"#percentage-type"},{include:"#number-type"},{include:"#less-strings"},{include:"#less-variables"},{include:"#var-function"},{include:"#calc-function"},{include:"#comma-delimiter"}]}]}]},"less-color-functions":{patterns:[{include:"#less-color-blend-functions"},{include:"#less-color-channel-functions"},{include:"#less-color-definition-functions"},{include:"#less-color-operation-functions"}]},"less-color-operation-functions":{patterns:[{begin:/\b(fade|shade|tint)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.color-operation.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#color-values"},{include:"#comma-delimiter"},{include:"#percentage-type"}]}]},{begin:/\b(spin)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.color-operation.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#color-values"},{include:"#comma-delimiter"},{include:"#number-type"}]}]},{begin:/\b(((de)?saturate)|((light|dark)en)|(fade(in|out)))(?=\()/dgv,beginCaptures:{"1":{name:"support.function.color-operation.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#color-values"},{include:"#comma-delimiter"},{include:"#percentage-type"},{match:/\brelative\b/dgv,name:"constant.language.relative.less"}]}]},{begin:/\b(contrast)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.color-operation.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#color-values"},{include:"#comma-delimiter"},{include:"#percentage-type"}]}]},{begin:/\b(greyscale)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.color-operation.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#color-values"}]}]},{begin:/\b(mix)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.color-operation.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#color-values"},{include:"#comma-delimiter"},{include:"#less-math"},{include:"#percentage-type"}]}]}]},"less-extend":{begin:/(:)(extend)(?=\()/dgv,beginCaptures:{"1":{name:"punctuation.definition.entity.less"},"2":{name:"entity.other.attribute-name.pseudo-class.extend.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{match:/\ball\b/dgv,name:"constant.language.all.less"},{include:"#selectors"}]}]},"less-functions":{patterns:[{include:"#less-boolean-function"},{include:"#less-color-functions"},{include:"#less-if-function"},{include:"#less-list-functions"},{include:"#less-math-functions"},{include:"#less-misc-functions"},{include:"#less-string-functions"},{include:"#less-type-functions"}]},"less-if-function":{begin:/\b(if)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.if.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#less-mixin-guards"},{include:"#comma-delimiter"},{include:"#property-values"}]}]},"less-list-functions":{patterns:[{begin:/\b(length)(?=\()\b/dgv,beginCaptures:{"1":{name:"support.function.length.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#property-values"},{include:"#comma-delimiter"}]}]},{begin:/\b(extract)(?=\()\b/dgv,beginCaptures:{"1":{name:"support.function.extract.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#property-values"},{include:"#comma-delimiter"},{include:"#integer-type"}]}]},{begin:/\b(range)(?=\()\b/dgv,beginCaptures:{"1":{name:"support.function.range.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#property-values"},{include:"#comma-delimiter"},{include:"#integer-type"}]}]}]},"less-logical-comparisons":{patterns:[{captures:{"1":{name:"keyword.operator.logical.less"}},match:/\p{space}*(=|((<|>)=?))\p{space}*/dgv},{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.group.less",patterns:[{include:"#less-logical-comparisons"}]},{match:/\btrue|false\b/dgv,name:"constant.language.less"},{match:/,/dgv,name:"punctuation.separator.less"},{include:"#property-values"},{include:"#selectors"},{include:"#unquoted-string"}]},"less-math":{patterns:[{match:/[\-\+\*\/]/dgv,name:"keyword.operator.arithmetic.less"},{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.group.less",patterns:[{include:"#less-math"}]},{include:"#numeric-values"},{include:"#less-variables"}]},"less-math-functions":{patterns:[{begin:/\b(ceil|floor|percentage|round|sqrt|abs|a?(sin|cos|tan))(?=\()/dgv,beginCaptures:{"1":{name:"support.function.math.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#less-variables"},{include:"#numeric-values"}]}]},{captures:{"2":{name:"support.function.math.less"},"3":{name:"punctuation.definition.group.begin.less"},"4":{name:"punctuation.definition.group.end.less"}},match:/((pi)(\()(\)))/dgv,name:"meta.function-call.less"},{begin:/\b(pow|m(od|in|ax))(?=\()/dgv,beginCaptures:{"1":{name:"support.function.math.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#less-variables"},{include:"#numeric-values"},{include:"#comma-delimiter"}]}]}]},"less-misc-functions":{patterns:[{begin:/\b(color)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.color.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#literal-string"}]}]},{begin:/\b(image-(size|width|height))(?=\()/dgv,beginCaptures:{"1":{name:"support.function.image.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#literal-string"},{include:"#unquoted-string"}]}]},{begin:/\b(convert|unit)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.convert.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#less-variables"},{include:"#numeric-values"},{include:"#literal-string"},{include:"#comma-delimiter"},{match:/((c|m)?m|in|p(t|c|x)|m?s|g?rad|deg|turn|%|r?em|ex|ch)/dgv,name:"keyword.other.unit.less"}]}]},{begin:/\b(data-uri)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.data-uri.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#less-variables"},{include:"#literal-string"},{captures:{"1":{name:"punctuation.separator.less"}},match:/\p{space}*(,)/dgv}]}]},{captures:{"2":{name:"punctuation.definition.group.begin.less"},"3":{name:"punctuation.definition.group.end.less"}},match:/\b(default(\()(\)))\b/dgv,name:"support.function.default.less"},{begin:/\b(get-unit)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.get-unit.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#dimensions"}]}]},{begin:/\b(svg-gradient)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.svg-gradient.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#angle-type"},{include:"#comma-delimiter"},{include:"#color-values"},{include:"#percentage-type"},{include:"#length-type"},{match:/\bto\b/dgv,name:"keyword.other.less"},{match:/\b(top|right|bottom|left|center)\b/dgv,name:"support.constant.property-value.less"},{match:/\b(at|circle|ellipse)\b/dgv,name:"keyword.other.less"}]}]}]},"less-mixin-guards":{patterns:[{begin:/\p{space}*(and|not|or)?\p{space}*(?=\()/dgv,beginCaptures:{"1":{name:"keyword.operator.logical.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,name:"meta.group.less",patterns:[{include:"#less-variable-comparison"},{captures:{"1":{name:"meta.group.less"},"2":{name:"punctuation.definition.group.begin.less"},"3":{name:"punctuation.definition.group.end.less"}},match:/default((\()(\)))/dgv,name:"support.function.default.less"},{include:"#property-values"},{include:"#less-logical-comparisons"},{include:"$self"}]}]}]},"less-namespace-accessors":{patterns:[{begin:/(?=\p{space}*when\b)/dgv,end:/\p{space}*(?:(,)|(?=[\{\;]))/dgv,endCaptures:{"1":{name:"punctuation.definition.block.end.less"}},name:"meta.conditional.guarded-namespace.less",patterns:[{captures:{"1":{name:"keyword.control.conditional.less"},"2":{name:"punctuation.definition.keyword.less"}},match:/\p{space}*(when)(?=[^\n]*?)/dgv},{include:"#less-mixin-guards"},{include:"#comma-delimiter"},{begin:/\p{space}*(\{)/dgv,beginCaptures:{"1":{name:"punctuation.section.property-list.begin.less"}},end:/(?=\})/dgv,name:"meta.block.less",patterns:[{include:"#rule-list-body"}]},{include:"#selectors"}]},{begin:/(\()/dgv,beginCaptures:{"1":{name:"punctuation.definition.group.begin.less"}},end:/(\))/dgv,endCaptures:{"1":{name:"punctuation.definition.group.end.less"},"2":{name:"punctuation.terminator.rule.less"}},name:"meta.group.less",patterns:[{include:"#less-variable-assignment"},{include:"#comma-delimiter"},{include:"#property-values"},{include:"#rule-list-body"}]},{captures:{"1":{name:"punctuation.terminator.rule.less"}},match:/(;)|(?=[\}\)])/dgv}]},"less-string-functions":{patterns:[{begin:/\b(e(scape)?)(?=\()\b/dgv,beginCaptures:{"1":{name:"support.function.escape.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#less-variables"},{include:"#comma-delimiter"},{include:"#literal-string"},{include:"#unquoted-string"}]}]},{begin:/\p{space}*(%)(?=\()\p{space}*/dgv,beginCaptures:{"1":{name:"support.function.format.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#less-variables"},{include:"#comma-delimiter"},{include:"#literal-string"},{include:"#property-values"}]}]},{begin:/\b(replace)(?=\()\b/dgv,beginCaptures:{"1":{name:"support.function.replace.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#less-variables"},{include:"#comma-delimiter"},{include:"#literal-string"},{include:"#property-values"}]}]}]},"less-strings":{patterns:[{begin:/(~)('|")/dgv,beginCaptures:{"1":{name:"constant.character.escape.less"},"2":{name:"punctuation.definition.string.begin.less"}},contentName:"markup.raw.inline.less",end:/('|")|(\n)/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.less"},"2":{name:"invalid.illegal.newline.less"}},name:"string.quoted.other.less",patterns:[{include:"#string-content"}]}]},"less-type-functions":{patterns:[{begin:/\b(is(number|string|color|keyword|url|pixel|em|percentage|ruleset))(?=\()/dgv,beginCaptures:{"1":{name:"support.function.type.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#property-values"}]}]},{begin:/\b(isunit)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.type.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#property-values"},{include:"#comma-delimiter"},{match:/\b((?:em|ex|ch|rem)|(?:vw|vh|vmin|vmax)|(?:cm|mm|q|in|pt|pc|px|fr)|(?:deg|grad|rad|turn)|(?:s|ms)|(?:Hz|kHz)|(?:dpi|dpcm|dppx))\b/dgiv,name:"keyword.other.unit.less"}]}]},{begin:/\b(isdefined)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.type.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#less-variables"}]}]}]},"less-variable-assignment":{patterns:[{begin:/(@)(-?(?:[\-\p{L}\p{M}\p{N}\p{Pc}[^\x00-\x7F]]|(?:\\\p{AHex}{1,6}[\p{space}\t\n\f]?|\\[^\n\f\p{AHex}]))(?:[\-\p{L}\p{M}\p{N}\p{Pc}[^\x00-\x7F]]|(?:\\\p{AHex}{1,6}[\p{space}\t\n\f]?|\\[^\n\f\p{AHex}]))*)/dgv,beginCaptures:{"0":{name:"variable.other.readwrite.less"},"1":{name:"punctuation.definition.variable.less"},"2":{name:"support.other.variable.less"}},end:/\p{space}*(;|(\.{3})|(?=\)))/dgv,endCaptures:{"1":{name:"punctuation.terminator.rule.less"},"2":{name:"keyword.operator.spread.less"}},name:"meta.property-value.less",patterns:[{captures:{"1":{name:"punctuation.separator.key-value.less"},"4":{name:"meta.property-value.less"}},match:/(((\+_?)?):)([\p{space}\t]*)/dgv},{include:"#property-values"},{include:"#comma-delimiter"},{include:"#property-list"},{include:"#unquoted-string"}]}]},"less-variable-comparison":{patterns:[{begin:/(@{1,2})([\-]?([_a-z]|[^\x00-\x7F]|(?:\\\p{AHex}{1,6}[\p{space}\t\n\f]?|\\[^\n\f\p{AHex}]))(?:[\-\p{L}\p{M}\p{N}\p{Pc}[^\x00-\x7F]]|(?:\\\p{AHex}{1,6}[\p{space}\t\n\f]?|\\[^\n\f\p{AHex}]))*)/dgv,beginCaptures:{"0":{name:"variable.other.readwrite.less"},"1":{name:"punctuation.definition.variable.less"},"2":{name:"support.other.variable.less"}},end:/\p{space}*(?=\))/dgv,endCaptures:{"1":{name:"punctuation.terminator.rule.less"}},patterns:[{captures:{"1":{name:"keyword.operator.logical.less"}},match:/\p{space}*(=|((<|>)=?))\p{space}*/dgv},{match:/\btrue\b/dgv,name:"constant.language.less"},{include:"#property-values"},{include:"#selectors"},{include:"#unquoted-string"},{match:/,/dgv,name:"punctuation.separator.less"}]}]},"less-variable-interpolation":{captures:{"1":{name:"punctuation.definition.variable.less"},"2":{name:"punctuation.definition.expression.less"},"3":{name:"support.other.variable.less"},"4":{name:"punctuation.definition.expression.less"}},match:/(@)(\{)([\-\p{L}\p{M}\p{N}\p{Pc}]+)(\})/dgv,name:"variable.other.readwrite.less"},"less-variables":{patterns:[{captures:{"1":{name:"punctuation.definition.variable.less"},"2":{name:"support.other.variable.less"}},match:/\p{space}*(@@?)([\-\p{L}\p{M}\p{N}\p{Pc}]+)/dgv,name:"variable.other.readwrite.less"},{include:"#less-variable-interpolation"}]},"literal-string":{patterns:[{begin:/'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.less"}},end:/(')|(\n)/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.less"},"2":{name:"invalid.illegal.newline.less"}},name:"string.quoted.single.less",patterns:[{include:"#string-content"}]},{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.less"}},end:/(")|(\n)/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.less"},"2":{name:"invalid.illegal.newline.less"}},name:"string.quoted.double.less",patterns:[{include:"#string-content"}]},{include:"#less-strings"}]},"local-function":{begin:/\b(local)(?=\()/dgv,beginCaptures:{"0":{name:"support.function.font-face.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#unquoted-string"}]}]},"media-query":{begin:/\p{space}*(only|not)?\p{space}*(all|aural|braille|embossed|handheld|print|projection|screen|tty|tv)?/dgv,beginCaptures:{"1":{name:"keyword.operator.logic.media.less"},"2":{name:"support.constant.media.less"}},end:/\p{space}*(?:(,)|(?=[\{\;]))/dgv,endCaptures:{"1":{name:"punctuation.definition.arbitrary-repetition.less"}},patterns:[{include:"#less-variables"},{include:"#custom-property-name"},{begin:/\p{space}*(and)?\p{space}*(\()\p{space}*/dgv,beginCaptures:{"1":{name:"keyword.operator.logic.media.less"},"2":{name:"punctuation.definition.group.begin.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.group.less",patterns:[{begin:/(--|-?(?:(?:[a-zA-Z_]|[·À-ÖØ-öø-ͽͿ-῿‌‍‿⁀⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-\u{EFFFF}])|\\(?:[^\n]|[^0-9A-Fa-f]|[0-9A-Fa-f]{1,6}[\p{space}R]))(?:(?:[\-\p{Nd}a-zA-Z_]|[·À-ÖØ-öø-ͽͿ-῿‌‍‿⁀⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-\u{EFFFF}])|\\(?:[^\n]|[^0-9A-Fa-f]|[0-9A-Fa-f]{1,6}[\p{space}R]))*)\p{space}*(?=[\:\)])/dgv,beginCaptures:{"0":{name:"support.type.property-name.media.less"}},end:/(((\+_?)?):)|(?=\))/dgv,endCaptures:{"1":{name:"punctuation.separator.key-value.less"}}},{match:/\b(portrait|landscape|progressive|interlace)/dgv,name:"support.constant.property-value.less"},{captures:{"1":{name:"constant.numeric.less"},"2":{name:"keyword.operator.arithmetic.less"},"3":{name:"constant.numeric.less"}},match:/\p{space}*(\p{Nd}+)(\/)(\p{Nd}+)/dgv},{include:"#less-math"}]}]},"media-query-list":{begin:/\p{space}*(?=[^\{\;])/dgv,end:/\p{space}*(?=[\{\;])/dgv,patterns:[{include:"#media-query"}]},"minmax-function":{begin:/\b(minmax)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.grid.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#less-variables"},{include:"#var-function"},{include:"#length-type"},{include:"#comma-delimiter"},{match:/\b(max-content|min-content)\b/dgv,name:"support.constant.property-value.less"}]}]},"number-type":{match:/[\-\+]?(?:\p{Nd}+\.\p{Nd}+|\.?\p{Nd}+)(?:[eE][\-\+]?\p{Nd}+)?/dgv,name:"constant.numeric.less"},"numeric-values":{patterns:[{include:"#dimensions"},{include:"#percentage-type"},{include:"#number-type"}]},"percentage-type":{captures:{"1":{name:"keyword.other.unit.less"}},match:/[\-\+]?(?:\p{Nd}+\.\p{Nd}+|\.?\p{Nd}+)(?:[eE][\-\+]?\p{Nd}+)?(%)/dgv,name:"constant.numeric.less"},"property-list":{patterns:[{begin:/(?=(?=[^\;]*)\{)/dgv,end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.block.end.less"}},patterns:[{include:"#rule-list"}]}]},"property-value-constants":{patterns:[{comment:"align-content, align-items, align-self, justify-content, justify-items, justify-self",match:/\b(flex-start|flex-end|start|end|space-between|space-around|space-evenly|stretch|baseline|safe|unsafe|legacy|anchor-center|first|last|self-start|self-end)\b/dgv,name:"support.constant.property-value.less"},{comment:"alignment-baseline",match:/\b(text-before-edge|before-edge|middle|central|text-after-edge|after-edge|ideographic|alphabetic|hanging|mathematical|top|center|bottom)\b/dgv,name:"support.constant.property-value.less"},{include:"#global-property-values"},{include:"#cubic-bezier-function"},{include:"#steps-function"},{comment:"animation-composition",match:/\b(?:replace|add|accumulate)\b/dgv,name:"support.constant.property-value.less"},{comment:"animation-direction",match:/\b(?:normal|alternate-reverse|alternate|reverse)\b/dgv,name:"support.constant.property-value.less"},{comment:"animation-fill-mode",match:/\b(?:forwards|backwards|both)\b/dgv,name:"support.constant.property-value.less"},{comment:"animation-iteration-count",match:/\binfinite\b/dgv,name:"support.constant.property-value.less"},{comment:"animation-play-state",match:/\b(?:running|paused)\b/dgv,name:"support.constant.property-value.less"},{comment:"animation-range, animation-range-start, animation-range-end",match:/\b(?:entry-crossing|exit-crossing|entry|exit)\b/dgv,name:"support.constant.property-value.less"},{comment:"animation-timing-function",match:/\b(linear|ease-in-out|ease-in|ease-out|ease|step-start|step-end)\b/dgv,name:"support.constant.property-value.less"},{match:/\b(absolute|active|add|all-petite-caps|all-small-caps|all-scroll|all|alphabetic|alpha|alternate-reverse|alternate|always|annotation|antialiased|at|autohiding-scrollbar|auto|avoid-column|avoid-page|avoid-region|avoid|background-color|background-image|background-position|background-size|background-repeat|background|backwards|balance|baseline|below|bevel|bicubic|bidi-override|blink|block-line-height|block-start|block-end|block|blur|bolder|bold|border-top-left-radius|border-top-right-radius|border-bottom-left-radius|border-bottom-right-radius|border-end-end-radius|border-end-start-radius|border-start-end-radius|border-start-start-radius|border-block-start-color|border-block-start-style|border-block-start-width|border-block-start|border-block-end-color|border-block-end-style|border-block-end-width|border-block-end|border-block-color|border-block-style|border-block-width|border-block|border-inline-start-color|border-inline-start-style|border-inline-start-width|border-inline-start|border-inline-end-color|border-inline-end-style|border-inline-end-width|border-inline-end|border-inline-color|border-inline-style|border-inline-width|border-inline|border-top-color|border-top-style|border-top-width|border-top|border-right-color|border-right-style|border-right-width|border-right|border-bottom-color|border-bottom-style|border-bottom-width|border-bottom|border-left-color|border-left-style|border-left-width|border-left|border-image-outset|border-image-repeat|border-image-slice|border-image-source|border-image-width|border-image|border-color|border-style|border-width|border-radius|border-collapse|border-spacing|border|both|bottom|box-shadow|box|break-all|break-word|break-spaces|brightness|butt(on)?|capitalize|central|center|char(acter-variant)?|cjk-ideographic|clip|clone|close-quote|closest-corner|closest-side|col-resize|collapse|color-stop|color-burn|color-dodge|color|column-count|column-gap|column-reverse|column-rule-color|column-rule-width|column-rule|column-width|columns|column|common-ligatures|condensed|consider-shifts|contain|content-box|contents?|contextual|contrast|cover|crisp-edges|crispEdges|crop|crosshair|cross|darken|dashed|default|dense|device-width|diagonal-fractions|difference|disabled|discard|discretionary-ligatures|disregard-shifts|distribute-all-lines|distribute-letter|distribute-space|distribute|dotted|double|drop-shadow|[nsew]{1,4}-resize|ease-in-out|ease-in|ease-out|ease|element|ellipsis|embed|end|EndColorStr|evenodd|exclude-ruby|exclusion|expanded|extra-condensed|extra-expanded|farthest-corner|farthest-side|farthest|fill-box|fill-opacity|fill|filter|fit-content|fixed|flat|flex-basis|flex-end|flex-grow|flex-shrink|flex-start|flexbox|flex|flip|flood-color|font-size-adjust|font-size|font-stretch|font-weight|font|forwards|from-image|from|full-width|gap|geometricPrecision|glyphs|gradient|grayscale|grid-column-gap|grid-column|grid-row-gap|grid-row|grid-gap|grid-height|grid|groove|hand|hanging|hard-light|height|help|hidden|hide|historical-forms|historical-ligatures|horizontal-tb|horizontal|hue|ideographic|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|inactive|include-ruby|infinite|inherit|initial|inline-end|inline-size|inline-start|inline-table|inline-line-height|inline-flexbox|inline-flex|inline-box|inline-block|inline|inset|inside|inter-ideograph|inter-word|intersect|invert|isolate|isolation|italic|jis(04|78|83|90)|justify-all|justify|keep-all|larger|large|last|layout|left|letter-spacing|lighten|lighter|lighting-color|linear-gradient|linearRGB|linear|line-edge|line-height|line-through|line|lining-nums|list-item|local|loose|lowercase|lr-tb|ltr|luminosity|luminance|manual|manipulation|margin-bottom|margin-box|margin-left|margin-right|margin-top|margin|marker(-offset|s)?|match-parent|mathematical|max-(content|height|lines|size|width)|medium|middle|min-(content|height|width)|miter|mixed|move|multiply|newspaper|no-change|no-clip|no-close-quote|no-open-quote|no-common-ligatures|no-discretionary-ligatures|no-historical-ligatures|no-contextual|no-drop|no-repeat|none|nonzero|normal|not-allowed|nowrap|oblique|offset-after|offset-before|offset-end|offset-start|offset|oldstyle-nums|opacity|open-quote|optimize(Legibility|Precision|Quality|Speed)|order|ordinal|ornaments|outline-color|outline-offset|outline-width|outline|outset|outside|overline|over-edge|overlay|padding(-bottom|-box|-left|-right|-top|-box)?|page|paint(ed)?|paused|pan-(x|left|right|y|up|down)|perspective-origin|petite-caps|pixelated|pointer|pinch-zoom|pretty|pre(-line|-wrap)?|preserve-3d|preserve-breaks|preserve-spaces|preserve|progid:DXImageTransform\.Microsoft\.(Alpha|Blur|dropshadow|gradient|Shadow)|progress|proportional-nums|proportional-width|radial-gradient|recto|region|relative|repeating-linear-gradient|repeating-radial-gradient|repeat-x|repeat-y|repeat|replaced|reset-size|reverse|revert-layer|revert|ridge|right|round|row-gap|row-resize|row-reverse|row|rtl|ruby|running|saturate|saturation|screen|scrollbar|scroll-position|scroll|separate|sepia|scale-down|semi-condensed|semi-expanded|shape-image-threshold|shape-margin|shape-outside|show|sideways-lr|sideways-rl|sideways|simplified|size|slashed-zero|slice|small-caps|smaller|small|smooth|snap|solid|soft-light|space-around|space-between|space|span|sRGB|stable|stacked-fractions|stack|startColorStr|start|static|step-end|step-start|sticky|stop-color|stop-opacity|stretch|strict|stroke-box|stroke-dasharray|stroke-dashoffset|stroke-miterlimit|stroke-opacity|stroke-width|stroke|styleset|style|stylistic|subgrid|subpixel-antialiased|subtract|super|swash|table-caption|table-cell|table-column-group|table-footer-group|table-header-group|table-row-group|table-column|table-row|table|tabular-nums|tb-rl|text((-bottom|-(decoration|emphasis)-color|-indent|-(over|under)-edge|-shadow|-size(-adjust)?|-top)|field)?|thick|thin|titling-caps|titling-case|top|touch|to|traditional|transform-origin|transform-style|transform|ultra-condensed|ultra-expanded|under-edge|underline|unicase|unset|uppercase|upright|use-glyph-orientation|use-script|verso|vertical(-align|-ideographic|-lr|-rl|-text)?|view-box|viewport-fill-opacity|viewport-fill|visibility|visibleFill|visiblePainted|visibleStroke|visible|wait|wavy|weight|whitespace|width|word-spacing|wrap-reverse|wrap-reverse|wrap|xx?-(large|small)|z-index|zero|zoom-in|zoom-out|zoom|arabic-indic|armenian|bengali|cambodian|circle|cjk-decimal|cjk-earthly-branch|cjk-heavenly-stem|decimal-leading-zero|decimal|devanagari|disclosure-closed|disclosure-open|disc|ethiopic-numeric|georgian|gujarati|gurmukhi|hebrew|hiragana-iroha|hiragana|japanese-formal|japanese-informal|kannada|katakana-iroha|katakana|khmer|korean-hangul-formal|korean-hanja-formal|korean-hanja-informal|lao|lower-alpha|lower-armenian|lower-greek|lower-latin|lower-roman|malayalam|mongolian|myanmar|oriya|persian|simp-chinese-formal|simp-chinese-informal|square|tamil|telugu|thai|tibetan|trad-chinese-formal|trad-chinese-informal|upper-alpha|upper-armenian|upper-latin|upper-roman)\b/dgv,name:"support.constant.property-value.less"},{match:/\b(sans-serif|serif|monospace|fantasy|cursive)\b(?=\p{space}*[\;\,\n\}])/dgv,name:"support.constant.font-name.less"}]},"property-values":{patterns:[{include:"#comment-block"},{include:"#builtin-functions"},{include:"#color-functions"},{include:"#less-functions"},{include:"#less-variables"},{include:"#unicode-range"},{include:"#numeric-values"},{include:"#color-values"},{include:"#property-value-constants"},{include:"#less-math"},{include:"#literal-string"},{include:"#comma-delimiter"},{include:"#important"}]},"pseudo-selectors":{patterns:[{begin:/(:)(dir)(?=\()/dgv,beginCaptures:{"1":{name:"punctuation.definition.entity.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"entity.other.attribute-name.pseudo-class.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{match:/ltr|rtl/dgv,name:"variable.parameter.dir.less"},{include:"#less-variables"}]}]},{begin:/(:)(lang)(?=\()/dgv,beginCaptures:{"1":{name:"punctuation.definition.entity.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"entity.other.attribute-name.pseudo-class.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#less-variables"},{include:"#literal-string"},{include:"#unquoted-string"}]}]},{begin:/(:)(not)(?=\()/dgv,beginCaptures:{"1":{name:"punctuation.definition.entity.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"entity.other.attribute-name.pseudo-class.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#selectors"}]}]},{begin:/(:)(nth(-last)?-(child|of-type))(?=\()/dgv,beginCaptures:{"1":{name:"punctuation.definition.entity.less"},"2":{name:"entity.other.attribute-name.pseudo-class.less"}},contentName:"meta.function-call.less",end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"entity.other.attribute-name.pseudo-class.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,name:"meta.group.less",patterns:[{match:/\b(even|odd)\b/dgv,name:"keyword.other.pseudo-class.less"},{captures:{"1":{name:"keyword.operator.arithmetic.less"},"2":{name:"keyword.other.unit.less"},"4":{name:"keyword.operator.arithmetic.less"}},match:/(?:([\-\+])?(?:\p{Nd}+)?(n)(\p{space}*([\-\+])\p{space}*\p{Nd}+)?|[\-\+]?\p{space}*\p{Nd}+)/dgv,name:"constant.numeric.less"},{include:"#less-math"},{include:"#less-strings"},{include:"#less-variable-interpolation"}]}]},{begin:/(:)(host-context|host|has|is|not|where)(?=\()/dgv,beginCaptures:{"1":{name:"punctuation.definition.entity.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"entity.other.attribute-name.pseudo-class.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#selectors"}]}]},{captures:{"1":{name:"punctuation.definition.entity.less"},"2":{name:"entity.other.attribute-name.pseudo-class.less"}},match:/(:)(active|any-link|autofill|blank|buffering|checked|current|default|defined|disabled|empty|enabled|first-child|first-of-type|first|focus-visible|focus-within|focus|fullscreen|future|host|hover|in-range|indeterminate|invalid|last-child|last-of-type|left|local-link|link|modal|muted|only-child|only-of-type|optional|out-of-range|past|paused|picture-in-picture|placeholder-shown|playing|popover-open|read-only|read-write|required|right|root|scope|seeking|stalled|target-within|target|user-invalid|user-valid|valid|visited|volume-locked)\b/dgv,name:"meta.function-call.less"},{begin:/(::?)(highlight|part|state)(?=\p{space}*(\())/dgv,beginCaptures:{"1":{name:"punctuation.definition.entity.less"}},comment:"::highlight()",end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"entity.other.attribute-name.pseudo-element.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{match:/--|-?(?:(?:[a-zA-Z_]|[·À-ÖØ-öø-ͽͿ-῿‌‍‿⁀⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-\u{EFFFF}])|\\(?:[^\n]|[^0-9A-Fa-f]|[0-9A-Fa-f]{1,6}[\p{space}R]))(?:(?:[\-\p{Nd}a-zA-Z_]|[·À-ÖØ-öø-ͽͿ-῿‌‍‿⁀⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-\u{EFFFF}])|\\(?:[^\n]|[^0-9A-Fa-f]|[0-9A-Fa-f]{1,6}[\p{space}R]))*/dgv,name:"variable.parameter.less"},{include:"#less-variables"}]}]},{begin:/(::?)slotted(?=\p{space}*(\())/dgv,beginCaptures:{"1":{name:"punctuation.definition.entity.less"}},comment:"::slotted()",contentName:"meta.function-call.less",end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"entity.other.attribute-name.pseudo-element.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,name:"meta.group.less",patterns:[{include:"#selectors"}]}]},{captures:{"1":{name:"punctuation.definition.entity.less"}},comment:"defined pseudo-elements",match:/(::?)(after|backdrop|before|cue|file-selector-button|first-letter|first-line|grammar-error|marker|placeholder|selection|spelling-error|target-text|view-transition-group|view-transition-image-pair|view-transition-new|view-transition-old|view-transition)\b/dgv,name:"entity.other.attribute-name.pseudo-element.less"},{captures:{"1":{name:"punctuation.definition.entity.less"},"2":{name:"meta.namespace.vendor-prefix.less"}},comment:"other possible pseudo-elements",match:/(::?)(-[\p{L}\p{M}\p{N}\p{Pc}]+-)(--|-?(?:(?:[a-zA-Z_]|[·À-ÖØ-öø-ͽͿ-῿‌‍‿⁀⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-\u{EFFFF}])|\\(?:[^\n]|[^0-9A-Fa-f]|[0-9A-Fa-f]{1,6}[\p{space}R]))(?:(?:[\-\p{Nd}a-zA-Z_]|[·À-ÖØ-öø-ͽͿ-῿‌‍‿⁀⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-\u{EFFFF}])|\\(?:[^\n]|[^0-9A-Fa-f]|[0-9A-Fa-f]{1,6}[\p{space}R]))*)\b/dgv,name:"entity.other.attribute-name.pseudo-element.less"}]},"qualified-name":{captures:{"1":{name:"entity.name.constant.less"},"2":{name:"entity.name.namespace.wildcard.less"},"3":{name:"punctuation.separator.namespace.less"}},match:/(?:(-?(?:[\-\p{L}\p{M}\p{N}\p{Pc}[^\x00-\x7F]]|(?:\\\p{AHex}{1,6}[\p{space}\t\n\f]?|\\[^\n\f\p{AHex}]))(?:[_a-zA-Z[^\x00-\x7F]]|(?:\\\p{AHex}{1,6}[\p{space}\t\n\f]?|\\[^\n\f\p{AHex}]))*)|(\*))?([\|])(?!=)/dgv},"regexp-function":{begin:/\b(regexp)(?=\()/dgv,end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"support.function.regexp.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,name:"meta.function-call.less",patterns:[{include:"#literal-string"}]}]},"relative-color":{patterns:[{match:/from/dgv,name:"keyword.other.less"},{match:/\b[hslawbch]\b/dgv,name:"keyword.other.less"}]},"rule-list":{patterns:[{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.definition.block.begin.less"}},end:/(?=\p{space}*\})/dgv,name:"meta.property-list.less",patterns:[{captures:{"1":{name:"punctuation.terminator.rule.less"}},match:/\p{space}*(;)|(?=[\}\)])/dgv},{include:"#rule-list-body"},{include:"#less-extend"}]}]},"rule-list-body":{patterns:[{include:"#comment-block"},{include:"#comment-line"},{include:"#at-rules"},{include:"#less-variable-assignment"},{begin:/(?=[\-\p{L}\p{M}\p{N}\p{Pc}]*?@\{[^\n]*\}[\-\p{L}\p{M}\p{N}\p{Pc}]*?\p{space}*:[^\;\{\(]*(?=[\;\}\)]))/dgv,end:/(?=\p{space}*(;)|(?=[\}\)]))/dgv,patterns:[{begin:/(?=[^\p{space}\:])/dgv,end:/(?=(((\+_?)?):)[\p{space}\t]*)/dgv,name:"support.type.property-name.less",patterns:[{include:"#less-variable-interpolation"}]},{begin:/(((\+_?)?):)(?=[\p{space}\t]*)/dgv,beginCaptures:{"1":{name:"punctuation.separator.key-value.less"}},contentName:"support.type.property-name.less",end:/(?=\p{space}*(;)|(?=[\}\)]))/dgv,patterns:[{include:"#property-values"}]}]},{begin:/(?=[\-a-z])/dgv,end:/(?=$|\n)|(?![\-a-z])/dgv,patterns:[{include:"#custom-property-name"},{begin:/(-[\p{L}\p{M}\p{N}\p{Pc}\-]+?-)((?:(?:[a-zA-Z_]|[·À-ÖØ-öø-ͽͿ-῿‌‍‿⁀⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-\u{EFFFF}])|\\(?:[^\n]|[^0-9A-Fa-f]|[0-9A-Fa-f]{1,6}[\p{space}R]))(?:(?:[\-\p{Nd}a-zA-Z_]|[·À-ÖØ-öø-ͽͿ-῿‌‍‿⁀⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-\u{EFFFF}])|\\(?:[^\n]|[^0-9A-Fa-f]|[0-9A-Fa-f]{1,6}[\p{space}R]))*)\b/dgv,beginCaptures:{"0":{name:"support.type.property-name.less"},"1":{name:"meta.namespace.vendor-prefix.less"}},comment:"vendor-prefixed properties",end:/\p{space}*(;)|(?=[\}\)])/dgv,endCaptures:{"1":{name:"punctuation.terminator.rule.less"}},patterns:[{begin:/(((\+_?)?):)(?=[\p{space}\t]*)/dgv,beginCaptures:{"1":{name:"punctuation.separator.key-value.less"}},contentName:"meta.property-value.less",end:/(?=\p{space}*(;)|(?=[\}\)]))/dgv,patterns:[{include:"#property-values"},{match:/[\p{L}\p{M}\p{N}\p{Pc}\-]+/dgv,name:"support.constant.property-value.less"}]}]},{include:"#filter-function"},{begin:/\b(border((-(bottom|top)-(left|right))|((-(start|end)){2}))?-radius|(border-image(?!-)))\b/dgv,beginCaptures:{"0":{name:"support.type.property-name.less"}},comment:"border-radius and border-image properties utilize a slash as a separator",end:/\p{space}*(;)|(?=[\}\)])/dgv,endCaptures:{"1":{name:"punctuation.terminator.rule.less"}},patterns:[{begin:/(((\+_?)?):)(?=[\p{space}\t]*)/dgv,beginCaptures:{"1":{name:"punctuation.separator.key-value.less"}},contentName:"meta.property-value.less",end:/(?=\p{space}*(;)|(?=[\}\)]))/dgv,patterns:[{include:"#value-separator"},{include:"#property-values"}]}]},{captures:{"1":{name:"keyword.other.custom-property.prefix.less"},"2":{name:"support.type.custom-property.name.less"}},match:/\b(var-)(-?(?:[\-\p{L}\p{M}\p{N}\p{Pc}[^\x00-\x9F]]|(?:\\\p{AHex}{1,6}[\p{space}\t\n\f]?|\\[^\n\f\p{AHex}]))(?:[_a-zA-Z[^\x00-\x9F]]|(?:\\\p{AHex}{1,6}[\p{space}\t\n\f]?|\\[^\n\f\p{AHex}]))*)(?=\p{space})/dgv,name:"invalid.deprecated.custom-property.less"},{begin:/\bfont(-family)?(?!-)\b/dgv,beginCaptures:{"0":{name:"support.type.property-name.less"}},end:/\p{space}*(;)|(?=[\}\)])/dgv,endCaptures:{"1":{name:"punctuation.terminator.rule.less"}},name:"meta.property-name.less",patterns:[{captures:{"1":{name:"punctuation.separator.key-value.less"},"4":{name:"meta.property-value.less"}},match:/(((\+_?)?):)([\p{space}\t]*)/dgv},{include:"#property-values"},{match:/-?(?:[_a-zA-Z[^\x00-\x9F]]|(?:\\\p{AHex}{1,6}[\p{space}\t\n\f]?|\\[^\n\f\p{AHex}]))(?:[\-\p{L}\p{M}\p{N}\p{Pc}[^\x00-\x9F]]|(?:\\\p{AHex}{1,6}[\p{space}\t\n\f]?|\\[^\n\f\p{AHex}]))*(\p{space}+-?(?:[_a-zA-Z[^\x00-\x9F]]|(?:\\\p{AHex}{1,6}[\p{space}\t\n\f]?|\\[^\n\f\p{AHex}]))(?:[\-\p{L}\p{M}\p{N}\p{Pc}[^\x00-\x9F]]|(?:\\\p{AHex}{1,6}[\p{space}\t\n\f]?|\\[^\n\f\p{AHex}]))*)*/dgv,name:"string.unquoted.less"},{match:/,/dgv,name:"punctuation.separator.less"}]},{begin:/\banimation-timeline\b/dgv,beginCaptures:{"0":{name:"support.type.property-name.less"}},end:/\p{space}*(;)|(?=[\}\)])/dgv,endCaptures:{"1":{name:"punctuation.terminator.rule.less"}},patterns:[{begin:/(((\+_?)?):)(?=[\p{space}\t]*)/dgv,beginCaptures:{"1":{name:"punctuation.separator.key-value.less"}},contentName:"meta.property-value.less",end:/(?=\p{space}*(;)|(?=[\}\)]))/dgv,patterns:[{include:"#comment-block"},{include:"#custom-property-name"},{include:"#scroll-function"},{include:"#view-function"},{include:"#property-values"},{include:"#less-variables"},{include:"#arbitrary-repetition"},{include:"#important"}]}]},{begin:/\banimation(?:-name)?(?=(?:\+_?)?:)\b/dgv,beginCaptures:{"0":{name:"support.type.property-name.less"}},end:/\p{space}*(;)|(?=[\}\)])/dgv,endCaptures:{"1":{name:"punctuation.terminator.rule.less"}},patterns:[{begin:/(((\+_?)?):)(?=[\p{space}\t]*)/dgv,beginCaptures:{"1":{name:"punctuation.separator.key-value.less"}},contentName:"meta.property-value.less",end:/(?=\p{space}*(;)|(?=[\}\)]))/dgv,patterns:[{include:"#comment-block"},{include:"#builtin-functions"},{include:"#less-functions"},{include:"#less-variables"},{include:"#numeric-values"},{include:"#property-value-constants"},{match:/-?(?:[_a-zA-Z]|[^\x00-\x7F]|(?:(:?\\[0-9a-f]{1,6}(\r\n|[\p{space}\t\r\n\f])?)|\\[^\r\n\f0-9a-f]))(?:[\-_a-zA-Z0-9]|[^\x00-\x7F]|(?:(:?\\[0-9a-f]{1,6}(\r\n|[\t\r\n\f])?)|\\[^\r\n\f0-9a-f]))*/dgv,name:"variable.other.constant.animation-name.less string.unquoted.less"},{include:"#less-math"},{include:"#arbitrary-repetition"},{include:"#important"}]}]},{begin:/\b(transition(-(property|duration|delay|timing-function))?)\b/dgv,beginCaptures:{"1":{name:"support.type.property-name.less"}},end:/\p{space}*(;)|(?=[\}\)])/dgv,endCaptures:{"1":{name:"punctuation.terminator.rule.less"}},patterns:[{begin:/(((\+_?)?):)(?=[\p{space}\t]*)/dgv,beginCaptures:{"1":{name:"punctuation.separator.key-value.less"}},contentName:"meta.property-value.less",end:/(?=\p{space}*(;)|(?=[\}\)]))/dgv,patterns:[{include:"#time-type"},{include:"#property-values"},{include:"#cubic-bezier-function"},{include:"#steps-function"},{include:"#arbitrary-repetition"}]}]},{begin:/\b(?:backdrop-)?filter\b/dgv,beginCaptures:{"0":{name:"support.type.property-name.less"}},end:/\p{space}*(;)|(?=[\}\)])/dgv,endCaptures:{"1":{name:"punctuation.terminator.rule.less"}},name:"meta.property-name.less",patterns:[{captures:{"1":{name:"punctuation.separator.key-value.less"},"4":{name:"meta.property-value.less"}},match:/(((\+_?)?):)([\p{space}\t]*)/dgv},{match:/\b(inherit|initial|unset|none)\b/dgv,name:"meta.property-value.less"},{include:"#filter-functions"}]},{begin:/\bwill-change\b/dgv,beginCaptures:{"0":{name:"support.type.property-name.less"}},end:/\p{space}*(;)|(?=[\}\)])/dgv,endCaptures:{"1":{name:"punctuation.terminator.rule.less"}},name:"meta.property-name.less",patterns:[{captures:{"1":{name:"punctuation.separator.key-value.less"},"4":{name:"meta.property-value.less"}},match:/(((\+_?)?):)([\p{space}\t]*)/dgv},{match:/unset|initial|inherit|will-change|auto|scroll-position|contents/dgv,name:"invalid.illegal.property-value.less"},{match:/-?(?:[\-\p{L}\p{M}\p{N}\p{Pc}[^\x00-\x9F]]|(?:\\\p{AHex}{1,6}[\p{space}\t\n\f]?|\\[^\n\f\p{AHex}]))(?:[_a-zA-Z[^\x00-\x9F]]|(?:\\\p{AHex}{1,6}[\p{space}\t\n\f]?|\\[^\n\f\p{AHex}]))*/dgv,name:"support.constant.property-value.less"},{include:"#arbitrary-repetition"}]},{begin:/\bcounter-(increment|(re)?set)\b/dgv,beginCaptures:{"0":{name:"support.type.property-name.less"}},end:/\p{space}*(;)|(?=[\}\)])/dgv,endCaptures:{"1":{name:"punctuation.terminator.rule.less"}},name:"meta.property-name.less",patterns:[{captures:{"1":{name:"punctuation.separator.key-value.less"},"4":{name:"meta.property-value.less"}},match:/(((\+_?)?):)([\p{space}\t]*)/dgv},{match:/-?(?:[\-\p{L}\p{M}\p{N}\p{Pc}[^\x00-\x9F]]|(?:\\\p{AHex}{1,6}[\p{space}\t\n\f]?|\\[^\n\f\p{AHex}]))(?:[_a-zA-Z[^\x00-\x9F]]|(?:\\\p{AHex}{1,6}[\p{space}\t\n\f]?|\\[^\n\f\p{AHex}]))*/dgv,name:"entity.name.constant.counter-name.less"},{include:"#integer-type"},{match:/unset|initial|inherit|auto/dgv,name:"invalid.illegal.property-value.less"}]},{begin:/\bcontainer(?:-name)?(?=\p{space}*?:)/dgv,end:/\p{space}*(;)|(?=[\}\)])/dgv,endCaptures:{"1":{name:"punctuation.terminator.rule.less"}},name:"support.type.property-name.less",patterns:[{begin:/(((\+_?)?):)(?=[\p{space}\t]*)/dgv,beginCaptures:{"1":{name:"punctuation.separator.key-value.less"}},contentName:"meta.property-value.less",end:/(?=\p{space}*(;)|(?=[\}\)]))/dgv,patterns:[{match:/\bdefault\b/dgv,name:"invalid.illegal.property-value.less"},{include:"#global-property-values"},{include:"#custom-property-name"},{contentName:"variable.other.constant.container-name.less",match:/--|-?(?:(?:[a-zA-Z_]|[·À-ÖØ-öø-ͽͿ-῿‌‍‿⁀⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-\u{EFFFF}])|\\(?:[^\n]|[^0-9A-Fa-f]|[0-9A-Fa-f]{1,6}[\p{space}R]))(?:(?:[\-\p{Nd}a-zA-Z_]|[·À-ÖØ-öø-ͽͿ-῿‌‍‿⁀⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-\u{EFFFF}])|\\(?:[^\n]|[^0-9A-Fa-f]|[0-9A-Fa-f]{1,6}[\p{space}R]))*/dgv,name:"support.constant.property-value.less"},{include:"#property-values"}]}]},{match:/\b(accent-height|align-content|align-items|align-self|alignment-baseline|all|animation-timing-function|animation-range-start|animation-range-end|animation-range|animation-play-state|animation-name|animation-iteration-count|animation-fill-mode|animation-duration|animation-direction|animation-delay|animation-composition|animation|appearance|ascent|aspect-ratio|azimuth|backface-visibility|background-size|background-repeat-y|background-repeat-x|background-repeat|background-position-y|background-position-x|background-position|background-origin|background-image|background-color|background-clip|background-blend-mode|background-attachment|background|baseline-shift|begin|bias|blend-mode|border-top-left-radius|border-top-right-radius|border-bottom-left-radius|border-bottom-right-radius|border-end-end-radius|border-end-start-radius|border-start-end-radius|border-start-start-radius|border-block-start-color|border-block-start-style|border-block-start-width|border-block-start|border-block-end-color|border-block-end-style|border-block-end-width|border-block-end|border-block-color|border-block-style|border-block-width|border-block|border-inline-start-color|border-inline-start-style|border-inline-start-width|border-inline-start|border-inline-end-color|border-inline-end-style|border-inline-end-width|border-inline-end|border-inline-color|border-inline-style|border-inline-width|border-inline|border-top-color|border-top-style|border-top-width|border-top|border-right-color|border-right-style|border-right-width|border-right|border-bottom-color|border-bottom-style|border-bottom-width|border-bottom|border-left-color|border-left-style|border-left-width|border-left|border-image-outset|border-image-repeat|border-image-slice|border-image-source|border-image-width|border-image|border-color|border-style|border-width|border-radius|border-collapse|border-spacing|border|bottom|box-(align|decoration-break|direction|flex|ordinal-group|orient|pack|shadow|sizing)|break-(after|before|inside)|caption-side|clear|clip-path|clip-rule|clip|color(-(interpolation(-filters)?|profile|rendering))?|columns|column-(break-before|count|fill|gap|(rule(-(color|style|width))?)|span|width)|container-name|container-type|container|contain-intrinsic-block-size|contain-intrinsic-inline-size|contain-intrinsic-height|contain-intrinsic-size|contain-intrinsic-width|contain|content|counter-(increment|reset)|cursor|[cdf][xy]|direction|display|divisor|dominant-baseline|dur|elevation|empty-cells|enable-background|end|fallback|fill(-(opacity|rule))?|filter|flex(-(align|basis|direction|flow|grow|item-align|line-pack|negative|order|pack|positive|preferred-size|shrink|wrap))?|float|flood-(color|opacity)|font-display|font-family|font-feature-settings|font-kerning|font-language-override|font-size(-adjust)?|font-smoothing|font-stretch|font-style|font-synthesis|font-variant(-(alternates|caps|east-asian|ligatures|numeric|position))?|font-weight|font|fr|((column|row)-)?gap|glyph-orientation-(horizontal|vertical)|grid-(area|gap)|grid-auto-(columns|flow|rows)|grid-(column|row)(-(end|gap|start))?|grid-template(-(areas|columns|rows))?|grid|height|hyphens|image-(orientation|rendering|resolution)|inset(-(block|inline))?(-(start|end))?|isolation|justify-content|justify-items|justify-self|kerning|left|letter-spacing|lighting-color|line-(box-contain|break|clamp|height)|list-style(-(image|position|type))?|(margin|padding)(-(bottom|left|right|top)|(-(block|inline)?(-(end|start))?))?|marker(-(end|mid|start))?|mask(-(clip||composite|image|origin|position|repeat|size|type))?|(max|min)-(height|width)|mix-blend-mode|nbsp-mode|negative|object-(fit|position)|opacity|operator|order|orphans|outline(-(color|offset|style|width))?|overflow(-((inline|block)|scrolling|wrap|x|y))?|overscroll-behavior(-block|-(inline|x|y))?|pad(ding(-(bottom|left|right|top))?)?|page(-break-(after|before|inside))?|paint-order|pause(-(after|before))?|perspective(-origin(-(x|y))?)?|pitch(-range)?|place-content|place-self|pointer-events|position|prefix|quotes|range|resize|right|rotate|scale|scroll-behavior|shape-(image-threshold|margin|outside|rendering)|size|speak(-as)?|src|stop-(color|opacity)|stroke(-(dash(array|offset)|line(cap|join)|miterlimit|opacity|width))?|suffix|symbols|system|tab-size|table-layout|tap-highlight-color|text-align(-last)?|text-decoration(-(color|line|style))?|text-emphasis(-(color|position|style))?|text-(anchor|fill-color|height|indent|justify|orientation|overflow|rendering|size-adjust|shadow|transform|underline-position|wrap)|top|touch-action|transform(-origin(-(x|y))?)|transform(-style)?|transition(-(delay|duration|property|timing-function))?|translate|unicode-(bidi|range)|user-(drag|select)|vertical-align|visibility|white-space(-collapse)?|widows|width|will-change|word-(break|spacing|wrap)|writing-mode|z-index|zoom)\b/dgv,name:"support.type.property-name.less"},{match:/\b(((contain-intrinsic|max|min)-)?(block|inline)?-size)\b/dgv,name:"support.type.property-name.less"},{include:"$self"}]},{begin:/\b((?:\+_?)?:)([\p{space}\t]*)/dgv,beginCaptures:{"1":{name:"punctuation.separator.key-value.less"},"2":{name:"meta.property-value.less"}},captures:{"1":{name:"punctuation.separator.key-value.less"},"4":{name:"meta.property-value.less"}},contentName:"meta.property-value.less",end:/\p{space}*(;)|(?=[\}\)])/dgv,endCaptures:{"1":{name:"punctuation.terminator.rule.less"}},patterns:[{include:"#property-values"}]},{include:"$self"}]},"scroll-function":{begin:/\b(scroll)(\()/dgv,beginCaptures:{"1":{name:"support.function.scroll.less"},"2":{name:"punctuation.definition.group.begin.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{match:/root|nearest|self/dgv,name:"support.constant.scroller.less"},{match:/block|inline|x|y/dgv,name:"support.constant.axis.less"},{include:"#less-variables"},{include:"#var-function"}]},selector:{patterns:[{begin:/(?=[\>\~\+\/\.\*\#a-zA-Z\[\&]|(:{1,2}[^\p{space}])|@\{)/dgv,contentName:"meta.selector.less",end:/(?=@(?!\{)|[\{\;])/dgv,patterns:[{include:"#comment-line"},{include:"#selectors"},{include:"#less-namespace-accessors"},{include:"#less-variable-interpolation"},{include:"#important"}]}]},selectors:{patterns:[{match:/\b([a-z](?:[\-_a-z0-9·]|\\\.|[À-ÖØ-öø-˿̀-ͽͿ-῿‌-‍‿-⁀⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-\u{EFFFF}])*-(?:[\-_a-z0-9·]|\\\.|[À-ÖØ-öø-˿̀-ͽͿ-῿‌-‍‿-⁀⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-\u{EFFFF}])*)\b/dgv,name:"entity.name.tag.custom.less"},{match:/\b(a|abbr|acronym|address|applet|area|article|aside|audio|b|base|basefont|bdi|bdo|big|blockquote|body|br|button|canvas|caption|circle|cite|clipPath|code|col|colgroup|content|data|dataList|dd|defs|del|details|dfn|dialog|dir|div|dl|dt|element|ellipse|em|embed|eventsource|fieldset|figcaption|figure|filter|footer|foreignObject|form|frame|frameset|g|glyph|glyphRef|h1|h2|h3|h4|h5|h6|head|header|hgroup|hr|html|i|iframe|image|img|input|ins|isindex|kbd|keygen|label|legend|li|line|linearGradient|link|main|map|mark|marker|mask|menu|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|path|pattern|picture|polygon|polyline|pre|progress|q|radialGradient|rect|rp|ruby|rt|rtc|s|samp|script|section|select|shadow|small|source|span|stop|strike|strong|style|sub|summary|sup|svg|switch|symbol|table|tbody|td|template|textarea|textPath|tfoot|th|thead|time|title|tr|track|tref|tspan|tt|u|ul|use|var|video|wbr|xmp)\b/dgv,name:"entity.name.tag.less"},{begin:/(\.)/dgv,beginCaptures:{"1":{name:"punctuation.definition.entity.less"}},end:/(?![\-\p{L}\p{M}\p{N}\p{Pc}]|[^\x00-\x9F]|\\([A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9])|(@(?=\{)))/dgv,name:"entity.other.attribute-name.class.less",patterns:[{include:"#less-variable-interpolation"}]},{begin:/(#)/dgv,beginCaptures:{"1":{name:"punctuation.definition.entity.less"}},end:/(?![\-\p{L}\p{M}\p{N}\p{Pc}]|[^\x00-\x9F]|\\([A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9])|(@(?=\{)))/dgv,name:"entity.other.attribute-name.id.less",patterns:[{include:"#less-variable-interpolation"}]},{begin:/(&)/dgv,beginCaptures:{"1":{name:"punctuation.definition.entity.less"}},contentName:"entity.other.attribute-name.parent.less",end:/(?![\-\p{L}\p{M}\p{N}\p{Pc}]|[^\x00-\x9F]|\\([A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9])|(@(?=\{)))/dgv,name:"entity.other.attribute-name.parent.less",patterns:[{include:"#less-variable-interpolation"},{include:"#selectors"}]},{include:"#pseudo-selectors"},{include:"#less-extend"},{match:/(?!\+_?:)(?:>{1,3}|[\~\+])(?![\>\~\+\;\}])/dgv,name:"punctuation.separator.combinator.less"},{match:/((?:>{1,3}|[\~\+])){2,}/dgv,name:"invalid.illegal.combinator.less"},{match:/\/deep\//dgv,name:"invalid.illegal.combinator.less"},{begin:/\[/dgv,beginCaptures:{"0":{name:"punctuation.section.braces.begin.less"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.section.braces.end.less"}},name:"meta.attribute-selector.less",patterns:[{include:"#less-variable-interpolation"},{include:"#qualified-name"},{match:/(-?(?:[_a-zA-Z[^\x00-\x7F]]|(?:\\\p{AHex}{1,6}[\p{space}\t\n\f]?|\\[^\n\f\p{AHex}]))(?:[\-\p{L}\p{M}\p{N}\p{Pc}[^\x00-\x7F]]|(?:\\\p{AHex}{1,6}[\p{space}\t\n\f]?|\\[^\n\f\p{AHex}]))*)/dgv,name:"entity.other.attribute-name.less"},{begin:/\p{space}*([\~\*\|\^\$]?=)\p{space}*/dgv,beginCaptures:{"1":{name:"keyword.operator.attribute-selector.less"}},end:/(?=(\p{space}|\]))/dgv,patterns:[{include:"#less-variable-interpolation"},{match:/[^\p{space}\]\['"]/dgv,name:"string.unquoted.less"},{include:"#literal-string"},{captures:{"1":{name:"keyword.other.less"}},match:/(?:\p{space}+([iI]))?/dgv},{match:/\]/dgv,name:"punctuation.definition.entity.less"}]}]},{include:"#arbitrary-repetition"},{match:/\*/dgv,name:"entity.name.tag.wildcard.less"}]},"shape-functions":{patterns:[{begin:/\b(rect)(?=\()/dgv,beginCaptures:{"0":{name:"support.function.shape.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{match:/\bauto\b/dgv,name:"support.constant.property-value.less"},{include:"#length-type"},{include:"#comma-delimiter"}]}]},{begin:/\b(inset)(?=\()/dgv,beginCaptures:{"0":{name:"support.function.shape.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{match:/\bround\b/dgv,name:"keyword.other.less"},{include:"#length-type"},{include:"#percentage-type"}]}]},{begin:/\b(circle|ellipse)(?=\()/dgv,beginCaptures:{"0":{name:"support.function.shape.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{match:/\bat\b/dgv,name:"keyword.other.less"},{match:/\b(top|right|bottom|left|center|closest-side|farthest-side)\b/dgv,name:"support.constant.property-value.less"},{include:"#length-type"},{include:"#percentage-type"}]}]},{begin:/\b(polygon)(?=\()/dgv,beginCaptures:{"0":{name:"support.function.shape.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{match:/\b(nonzero|evenodd)\b/dgv,name:"support.constant.property-value.less"},{include:"#length-type"},{include:"#percentage-type"}]}]}]},"steps-function":{begin:/\b(steps)(\()/dgv,beginCaptures:{"1":{name:"support.function.timing.less"},"2":{name:"punctuation.definition.group.begin.less"}},contentName:"meta.group.less",end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{match:/jump-start|jump-end|jump-none|jump-both|start|end/dgv,name:"support.constant.step-position.less"},{include:"#comma-delimiter"},{include:"#integer-type"},{include:"#less-variables"},{include:"#var-function"},{include:"#calc-function"}]},"string-content":{patterns:[{include:"#less-variable-interpolation"},{match:/\\\p{space}*\n/dgv,name:"constant.character.escape.newline.less"},{match:/\\(\p{AHex}{1,6}|[^\n])/dgv,name:"constant.character.escape.less"}]},"style-function":{begin:/\b(style)(?=\()/dgv,beginCaptures:{"0":{name:"support.function.style.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#rule-list-body"}]}]},"symbols-function":{begin:/\b(symbols)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.counter.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{match:/\b(cyclic|numeric|alphabetic|symbolic|fixed)\b/dgv,name:"support.constant.symbol-type.less"},{include:"#comma-delimiter"},{include:"#literal-string"},{include:"#image-type"}]}]},"time-type":{captures:{"1":{name:"keyword.other.unit.less"}},match:/[\-\+]?(?:\p{Nd}*\.\p{Nd}+(?:[eE][\-\+]?\p{Nd}+)*|[\-\+]?\p{Nd}+)(s|ms)\b/dgiv,name:"constant.numeric.less"},"transform-functions":{patterns:[{begin:/\b(matrix3d|scale3d|matrix|scale)(?=\()/dgv,beginCaptures:{"0":{name:"support.function.transform.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#comma-delimiter"},{include:"#number-type"},{include:"#less-variables"},{include:"#var-function"}]}]},{begin:/\b(translate(3d)?)(?=\()/dgv,beginCaptures:{"0":{name:"support.function.transform.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#comma-delimiter"},{include:"#percentage-type"},{include:"#length-type"},{include:"#number-type"},{include:"#less-variables"},{include:"#var-function"}]}]},{begin:/\b(translate[XY])(?=\()/dgv,beginCaptures:{"0":{name:"support.function.transform.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#percentage-type"},{include:"#length-type"},{include:"#number-type"},{include:"#less-variables"},{include:"#var-function"}]}]},{begin:/\b(rotate[XYZ]?|skew[XY])(?=\()/dgv,beginCaptures:{"0":{name:"support.function.transform.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#angle-type"},{include:"#less-variables"},{include:"#calc-function"},{include:"#var-function"}]}]},{begin:/\b(skew)(?=\()/dgv,beginCaptures:{"0":{name:"support.function.transform.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#comma-delimiter"},{include:"#angle-type"},{include:"#less-variables"},{include:"#calc-function"},{include:"#var-function"}]}]},{begin:/\b(translateZ|perspective)(?=\()/dgv,beginCaptures:{"0":{name:"support.function.transform.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#length-type"},{include:"#less-variables"},{include:"#calc-function"},{include:"#var-function"}]}]},{begin:/\b(rotate3d)(?=\()/dgv,beginCaptures:{"0":{name:"support.function.transform.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#comma-delimiter"},{include:"#angle-type"},{include:"#number-type"},{include:"#less-variables"},{include:"#calc-function"},{include:"#var-function"}]}]},{begin:/\b(scale[XYZ])(?=\()/dgv,beginCaptures:{"0":{name:"support.function.transform.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#comma-delimiter"},{include:"#number-type"},{include:"#less-variables"},{include:"#calc-function"},{include:"#var-function"}]}]}]},"unicode-range":{captures:{"1":{name:"support.constant.unicode-range.prefix.less"},"2":{name:"constant.codepoint-range.less"},"3":{name:"punctuation.section.range.less"}},match:/(u\+)([0-9a-f\?]{1,6}(?:(-)[0-9a-f]{1,6})?)/dgiv,name:"support.unicode-range.less"},"unquoted-string":{match:/[^\p{space}'"]/dgv,name:"string.unquoted.less"},"url-function":{begin:/\b(url)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.url.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#less-variables"},{include:"#literal-string"},{include:"#unquoted-string"},{include:"#var-function"}]}]},"value-separator":{captures:{"1":{name:"punctuation.separator.less"}},match:/\p{space}*(\/)\p{space}*/dgv},"var-function":{begin:/\b(var)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.var.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{include:"#comma-delimiter"},{include:"#custom-property-name"},{include:"#less-variables"},{include:"#property-values"}]}]},"view-function":{begin:/\b(view)(?=\()/dgv,beginCaptures:{"1":{name:"support.function.view.less"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.group.end.less"}},name:"meta.function-call.less",patterns:[{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.definition.group.begin.less"}},end:/(?=\))/dgv,patterns:[{match:/block|inline|x|y|auto/dgv,name:"support.constant.property-value.less"},{include:"#percentage-type"},{include:"#length-type"},{include:"#less-variables"},{include:"#var-function"},{include:"#calc-function"},{include:"#arbitrary-repetition"}]}]}},scopeName:"source.css.less",embeddedLangs:undefined,aliases:undefined})
2
+
3
+ export default [
4
+ lang
5
+ ]
@@ -0,0 +1,3 @@
1
+ import type { LanguageRegistration } from '@shikijs/types'
2
+ const langs: LanguageRegistration []
3
+ export default langs
@@ -0,0 +1,14 @@
1
+ import html from './html.mjs'
2
+ import css from './css.mjs'
3
+ import json from './json.mjs'
4
+ import javascript from './javascript.mjs'
5
+
6
+ const lang = Object.freeze({displayName:"Liquid",fileTypes:["liquid"],foldingStartMarker:/\{%-?\p{space}*(capture|case|comment|for|form|if|javascript|paginate|schema|style)[^\(\%\}\)]+%\}/dgv,foldingStopMarker:/\{%\p{space}*(endcapture|endcase|endcomment|endfor|endform|endif|endjavascript|endpaginate|endschema|endstyle)[^\(\%\}\)]+%\}/dgv,injections:{"L:meta.embedded.block.js, L:meta.embedded.block.css, L:meta.embedded.block.html, L:string.quoted":{patterns:[{include:"#injection"}]}},name:"liquid",patterns:[{include:"#core"}],repository:{attribute:{begin:/[\p{L}\p{M}\p{N}\p{Pc}]+:/dgv,beginCaptures:{"0":{name:"entity.other.attribute-name.liquid"}},end:/(?=,|%\}|\}\}|\|)/dgv,patterns:[{include:"#value_expression"}]},attribute_liquid:{begin:/[\p{L}\p{M}\p{N}\p{Pc}]+:/dgv,beginCaptures:{"0":{name:"entity.other.attribute-name.liquid"}},end:/(?=,|\|)|(?=$|\n)/dgv,patterns:[{include:"#value_expression"}]},comment_block:{begin:/\{%-?\p{space}*comment\p{space}*-?%\}/dgv,end:/\{%-?\p{space}*endcomment\p{space}*-?%\}/dgv,name:"comment.block.liquid",patterns:[{include:"#comment_block"},{match:/([^\n](?!\{%-?\p{space}*(comment|endcomment)\p{space}*-?%\}))*[^\n]/dgv}]},core:{patterns:[{include:"#raw_tag"},{include:"#doc_tag"},{include:"#comment_block"},{include:"#style_codefence"},{include:"#stylesheet_codefence"},{include:"#json_codefence"},{include:"#javascript_codefence"},{include:"#object"},{include:"#tag"},{include:"text.html.basic"}]},doc_tag:{begin:/\{%-?\p{space}*(doc)\p{space}*-?%\}/dgv,beginCaptures:{"0":{name:"meta.tag.liquid"},"1":{name:"entity.name.tag.doc.liquid"}},contentName:"comment.block.documentation.liquid",end:/\{%-?\p{space}*(enddoc)\p{space}*-?%\}/dgv,endCaptures:{"0":{name:"meta.tag.liquid"},"1":{name:"entity.name.tag.doc.liquid"}},name:"meta.block.doc.liquid",patterns:[{include:"#liquid_doc_param_tag"},{include:"#liquid_doc_example_tag"},{include:"#liquid_doc_fallback_tag"}]},filter:{captures:{"1":{name:"support.function.liquid"}},match:/\|\p{space}*((?![\.0-9])[a-zA-Z0-9_\-]+:?)\p{space}*/dgv},injection:{patterns:[{include:"#raw_tag"},{include:"#comment_block"},{include:"#object"},{include:"#tag_injection"}]},invalid_range:{match:/\(([^\n](?!\.\.))+\)/dgv,name:"invalid.illegal.range.liquid"},javascript_codefence:{begin:/(\{%-?)\p{space}*(javascript)\p{space}*(-?%\})/dgv,beginCaptures:{"0":{name:"meta.tag.metadata.javascript.start.liquid"},"1":{name:"punctuation.definition.tag.begin.liquid"},"2":{name:"entity.name.tag.javascript.liquid"},"3":{name:"punctuation.definition.tag.begin.liquid"}},contentName:"meta.embedded.block.js",end:/(\{%-?)\p{space}*(endjavascript)\p{space}*(-?%\})/dgv,endCaptures:{"0":{name:"meta.tag.metadata.javascript.end.liquid"},"1":{name:"punctuation.definition.tag.end.liquid"},"2":{name:"entity.name.tag.javascript.liquid"},"3":{name:"punctuation.definition.tag.end.liquid"}},name:"meta.block.javascript.liquid",patterns:[{include:"source.js"}]},json_codefence:{begin:/(\{%-?)\p{space}*(schema)\p{space}*(-?%\})/dgv,beginCaptures:{"0":{name:"meta.tag.metadata.schema.start.liquid"},"1":{name:"punctuation.definition.tag.begin.liquid"},"2":{name:"entity.name.tag.schema.liquid"},"3":{name:"punctuation.definition.tag.begin.liquid"}},contentName:"meta.embedded.block.json",end:/(\{%-?)\p{space}*(endschema)\p{space}*(-?%\})/dgv,endCaptures:{"0":{name:"meta.tag.metadata.schema.end.liquid"},"1":{name:"punctuation.definition.tag.end.liquid"},"2":{name:"entity.name.tag.schema.liquid"},"3":{name:"punctuation.definition.tag.end.liquid"}},name:"meta.block.schema.liquid",patterns:[{include:"source.json"}]},language_constant:{match:/\b(false|true|nil|blank)\b|empty(?!\?)/dgv,name:"constant.language.liquid"},liquid_doc_example_tag:{captures:{"1":{name:"storage.type.class.liquid"}},match:/(@example)\b/dgv},liquid_doc_fallback_tag:{captures:{"1":{name:"storage.type.class.liquid"}},match:/(@[\p{L}\p{M}\p{N}\p{Pc}]+)\b/dgv},liquid_doc_param_tag:{captures:{"1":{name:"storage.type.class.liquid"},"2":{name:"entity.name.type.instance.liquid"},"3":{name:"variable.other.liquid"}},match:/(@param)\p{space}+(?:(\{[^\}]*\}?)\p{space}+)?([a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)?/dgv},number:{match:/((-|\+)\p{space}*)?\p{Nd}+(\.\p{Nd}+)?/dgv,name:"constant.numeric.liquid"},object:{begin:/(?<!comment %\})(?<!comment -%\})(?<!comment%\})(?<!comment-%\})(?<!raw %\})(?<!raw -%\})(?<!raw%\})(?<!raw-%\})\{\{-?/dgv,beginCaptures:{"0":{name:"punctuation.definition.tag.begin.liquid"}},end:/-?\}\}/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.liquid"}},name:"meta.object.liquid",patterns:[{include:"#filter"},{include:"#attribute"},{include:"#value_expression"}]},operator:{captures:{"1":{name:"keyword.operator.expression.liquid"}},match:/(?:(?<=\p{space})|\b)(==|!=|>|<|>=|<=|or|and|contains)(?:(?=\p{space})|\b)/dgv},range:{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.section.parens.begin.liquid"}},end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.parens.end.liquid"}},name:"meta.range.liquid",patterns:[{match:/\.\./dgv,name:"punctuation.range.liquid"},{include:"#variable_lookup"},{include:"#number"}]},raw_tag:{begin:/\{%-?\p{space}*(raw)\p{space}*-?%\}/dgv,beginCaptures:{"1":{name:"entity.name.tag.liquid"}},contentName:"string.unquoted.liquid",end:/\{%-?\p{space}*(endraw)\p{space}*-?%\}/dgv,endCaptures:{"1":{name:"entity.name.tag.liquid"}},name:"meta.entity.tag.raw.liquid",patterns:[{match:/([^\n](?!\{%-?\p{space}*endraw\p{space}*-?%\}))*[^\n]/dgv}]},string:{patterns:[{include:"#string_single"},{include:"#string_double"}]},string_double:{begin:/"/dgv,end:/"/dgv,name:"string.quoted.double.liquid"},string_single:{begin:/'/dgv,end:/'/dgv,name:"string.quoted.single.liquid"},style_codefence:{begin:/(\{%-?)\p{space}*(style)\p{space}*(-?%\})/dgv,beginCaptures:{"0":{name:"meta.tag.metadata.style.start.liquid"},"1":{name:"punctuation.definition.tag.begin.liquid"},"2":{name:"entity.name.tag.style.liquid"},"3":{name:"punctuation.definition.tag.begin.liquid"}},contentName:"meta.embedded.block.css",end:/(\{%-?)\p{space}*(endstyle)\p{space}*(-?%\})/dgv,endCaptures:{"0":{name:"meta.tag.metadata.style.end.liquid"},"1":{name:"punctuation.definition.tag.end.liquid"},"2":{name:"entity.name.tag.style.liquid"},"3":{name:"punctuation.definition.tag.end.liquid"}},name:"meta.block.style.liquid",patterns:[{include:"source.css"}]},stylesheet_codefence:{begin:/(\{%-?)\p{space}*(stylesheet)\p{space}*(-?%\})/dgv,beginCaptures:{"0":{name:"meta.tag.metadata.style.start.liquid"},"1":{name:"punctuation.definition.tag.begin.liquid"},"2":{name:"entity.name.tag.style.liquid"},"3":{name:"punctuation.definition.tag.begin.liquid"}},contentName:"meta.embedded.block.css",end:/(\{%-?)\p{space}*(endstylesheet)\p{space}*(-?%\})/dgv,endCaptures:{"0":{name:"meta.tag.metadata.style.end.liquid"},"1":{name:"punctuation.definition.tag.end.liquid"},"2":{name:"entity.name.tag.style.liquid"},"3":{name:"punctuation.definition.tag.end.liquid"}},name:"meta.block.style.liquid",patterns:[{include:"source.css"}]},tag:{begin:/(?<!comment %\})(?<!comment -%\})(?<!comment%\})(?<!comment-%\})(?<!raw %\})(?<!raw -%\})(?<!raw%\})(?<!raw-%\})\{%-?/dgv,beginCaptures:{"0":{name:"punctuation.definition.tag.begin.liquid"}},end:/-?%\}/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.liquid"}},name:"meta.tag.liquid",patterns:[{include:"#tag_body"}]},tag_assign:{begin:/(?:(?<=\{%)|(?<=\{%-)|(?<=^|\n(?!$)))\p{space}*(assign|echo)\b/dgv,beginCaptures:{"1":{name:"entity.name.tag.liquid"}},end:/(?=%\})/dgv,name:"meta.entity.tag.liquid",patterns:[{include:"#filter"},{include:"#attribute"},{include:"#value_expression"}]},tag_assign_liquid:{begin:/(?:(?<=\{%)|(?<=\{%-)|(?<=^|\n(?!$)))\p{space}*(assign|echo)\b/dgv,beginCaptures:{"1":{name:"entity.name.tag.liquid"}},end:/(?=$|\n)/dgv,name:"meta.entity.tag.liquid",patterns:[{include:"#filter"},{include:"#attribute_liquid"},{include:"#value_expression"}]},tag_body:{patterns:[{include:"#tag_liquid"},{include:"#tag_assign"},{include:"#tag_comment_inline"},{include:"#tag_case"},{include:"#tag_conditional"},{include:"#tag_for"},{include:"#tag_paginate"},{include:"#tag_render"},{include:"#tag_tablerow"},{include:"#tag_expression"}]},tag_case:{begin:/(?:(?<=\{%)|(?<=\{%-)|(?<=^|\n(?!$)))\p{space}*(case|when)\b/dgv,beginCaptures:{"1":{name:"keyword.control.case.liquid"}},end:/(?=%\})/dgv,name:"meta.entity.tag.case.liquid",patterns:[{include:"#value_expression"}]},tag_case_liquid:{begin:/(?:(?<=\{%)|(?<=\{%-)|(?<=^|\n(?!$)))\p{space}*(case|when)\b/dgv,beginCaptures:{"1":{name:"keyword.control.case.liquid"}},end:/(?=$|\n)/dgv,name:"meta.entity.tag.case.liquid",patterns:[{include:"#value_expression"}]},tag_comment_block_liquid:{begin:/(?<=^|\n(?!$))\p{space}*(comment)\b/dgv,end:/(?<=^|\n(?!$))\p{space}*(endcomment)\b/dgv,name:"comment.block.liquid",patterns:[{include:"#tag_comment_block_liquid"},{match:/(?<=^|\n(?!$))\p{space}*(?!(comment|endcomment))[^\n]*/dgv}]},tag_comment_inline:{begin:/#/dgv,end:/(?=%\})/dgv,name:"comment.line.number-sign.liquid"},tag_comment_inline_liquid:{begin:/(?<=^|\n(?!$))\p{space}*#[^\n]*/dgv,end:/(?=$|\n)/dgv,name:"comment.line.number-sign.liquid"},tag_conditional:{begin:/(?:(?<=\{%)|(?<=\{%-)|(?<=^|\n(?!$)))\p{space}*(if|elsif|unless)\b/dgv,beginCaptures:{"1":{name:"keyword.control.conditional.liquid"}},end:/(?=%\})/dgv,name:"meta.entity.tag.conditional.liquid",patterns:[{include:"#value_expression"}]},tag_conditional_liquid:{begin:/(?:(?<=\{%)|(?<=\{%-)|(?<=^|\n(?!$)))\p{space}*(if|elsif|unless)\b/dgv,beginCaptures:{"1":{name:"keyword.control.conditional.liquid"}},end:/(?=$|\n)/dgv,name:"meta.entity.tag.conditional.liquid",patterns:[{include:"#value_expression"}]},tag_expression:{patterns:[{include:"#tag_expression_without_arguments"},{begin:/(?:(?<=\{%)|(?<=\{%-)|(?<=^|\n(?!$)))\p{space}*([\p{L}\p{M}\p{N}\p{Pc}]+)/dgv,beginCaptures:{"1":{name:"entity.name.tag.liquid"}},end:/(?=%\})/dgv,name:"meta.entity.tag.liquid",patterns:[{include:"#value_expression"}]}]},tag_expression_liquid:{patterns:[{include:"#tag_expression_without_arguments"},{begin:/(?:(?<=\{%)|(?<=\{%-)|(?<=^|\n(?!$)))\p{space}*([\p{L}\p{M}\p{N}\p{Pc}]+)/dgv,beginCaptures:{"1":{name:"entity.name.tag.liquid"}},end:/(?=$|\n)/dgv,name:"meta.entity.tag.liquid",patterns:[{include:"#value_expression"}]}]},tag_expression_without_arguments:{patterns:[{captures:{"1":{name:"keyword.control.conditional.liquid"}},match:/(?:(?<=\{%)|(?<=\{%-)|(?<=^|\n(?!$)))\p{space}*(endunless|endif)\b/dgv},{captures:{"1":{name:"keyword.control.loop.liquid"}},match:/(?:(?<=\{%)|(?<=\{%-)|(?<=^|\n(?!$)))\p{space}*(endfor|endtablerow|endpaginate)\b/dgv},{captures:{"1":{name:"keyword.control.case.liquid"}},match:/(?:(?<=\{%)|(?<=\{%-)|(?<=^|\n(?!$)))\p{space}*(endcase)\b/dgv},{captures:{"1":{name:"keyword.control.other.liquid"}},match:/(?:(?<=\{%)|(?<=\{%-)|(?<=^|\n(?!$)))\p{space}*(capture|case|comment|for|form|if|javascript|paginate|schema|style)\b/dgv},{captures:{"1":{name:"keyword.control.other.liquid"}},match:/(?:(?<=\{%)|(?<=\{%-)|(?<=^|\n(?!$)))\p{space}*(endcapture|endcase|endcomment|endfor|endform|endif|endjavascript|endpaginate|endschema|endstyle)\b/dgv},{captures:{"1":{name:"keyword.control.other.liquid"}},match:/(?:(?<=\{%)|(?<=\{%-)|(?<=^|\n(?!$)))\p{space}*(else|break|continue)\b/dgv}]},tag_for:{begin:/(?:(?<=\{%)|(?<=\{%-)|(?<=^|\n(?!$)))\p{space}*(for)\b/dgv,beginCaptures:{"1":{name:"keyword.control.for.liquid"}},end:/(?=%\})/dgv,name:"meta.entity.tag.for.liquid",patterns:[{include:"#tag_for_body"}]},tag_for_body:{patterns:[{match:/\b(in|reversed)\b/dgv,name:"keyword.control.liquid"},{match:/\b(offset|limit):/dgv,name:"keyword.control.liquid"},{include:"#value_expression"}]},tag_for_liquid:{begin:/(?:(?<=\{%)|(?<=\{%-)|(?<=^|\n(?!$)))\p{space}*(for)\b/dgv,beginCaptures:{"1":{name:"keyword.control.for.liquid"}},end:/(?=$|\n)/dgv,name:"meta.entity.tag.for.liquid",patterns:[{include:"#tag_for_body"}]},tag_injection:{begin:/(?<!comment %\})(?<!comment -%\})(?<!comment%\})(?<!comment-%\})(?<!raw %\})(?<!raw -%\})(?<!raw%\})(?<!raw-%\})\{%-?(?!-?\p{space}*(endstyle|endjavascript|endcomment|endraw))/dgv,beginCaptures:{"0":{name:"punctuation.definition.tag.end.liquid"}},end:/-?%\}/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.liquid"}},name:"meta.tag.liquid",patterns:[{include:"#tag_body"}]},tag_liquid:{begin:/(?:(?<=\{%)|(?<=\{%-)|(?<=^|\n(?!$)))\p{space}*(liquid)\b/dgv,beginCaptures:{"1":{name:"keyword.control.liquid.liquid"}},end:/(?=%\})/dgv,name:"meta.entity.tag.liquid.liquid",patterns:[{include:"#tag_comment_block_liquid"},{include:"#tag_comment_inline_liquid"},{include:"#tag_assign_liquid"},{include:"#tag_case_liquid"},{include:"#tag_conditional_liquid"},{include:"#tag_for_liquid"},{include:"#tag_paginate_liquid"},{include:"#tag_render_liquid"},{include:"#tag_tablerow_liquid"},{include:"#tag_expression_liquid"}]},tag_paginate:{begin:/(?:(?<=\{%)|(?<=\{%-)|(?<=^|\n(?!$)))\p{space}*(paginate)\b/dgv,beginCaptures:{"1":{name:"keyword.control.paginate.liquid"}},end:/(?=%\})/dgv,name:"meta.entity.tag.paginate.liquid",patterns:[{include:"#tag_paginate_body"}]},tag_paginate_body:{patterns:[{match:/\b(by)\b/dgv,name:"keyword.control.liquid"},{include:"#value_expression"}]},tag_paginate_liquid:{begin:/(?:(?<=\{%)|(?<=\{%-)|(?<=^|\n(?!$)))\p{space}*(paginate)\b/dgv,beginCaptures:{"1":{name:"keyword.control.paginate.liquid"}},end:/(?=$|\n)/dgv,name:"meta.entity.tag.paginate.liquid",patterns:[{include:"#tag_paginate_body"}]},tag_render:{begin:/(?:(?<=\{%)|(?<=\{%-)|(?<=^|\n(?!$)))\p{space}*(render)\b/dgv,beginCaptures:{"1":{name:"entity.name.tag.render.liquid"}},end:/(?=%\})/dgv,name:"meta.entity.tag.render.liquid",patterns:[{include:"#tag_render_special_keywords"},{include:"#attribute"},{include:"#value_expression"}]},tag_render_liquid:{begin:/(?:(?<=\{%)|(?<=\{%-)|(?<=^|\n(?!$)))\p{space}*(render)\b/dgv,beginCaptures:{"1":{name:"entity.name.tag.render.liquid"}},end:/(?=$|\n)/dgv,name:"meta.entity.tag.render.liquid",patterns:[{include:"#tag_render_special_keywords"},{include:"#attribute_liquid"},{include:"#value_expression"}]},tag_render_special_keywords:{match:/\b(with|as|for)\b/dgv,name:"keyword.control.other.liquid"},tag_tablerow:{begin:/(?:(?<=\{%)|(?<=\{%-)|(?<=^|\n(?!$)))\p{space}*(tablerow)\b/dgv,beginCaptures:{"1":{name:"keyword.control.tablerow.liquid"}},end:/(?=%\})/dgv,name:"meta.entity.tag.tablerow.liquid",patterns:[{include:"#tag_tablerow_body"}]},tag_tablerow_body:{patterns:[{match:/\b(in)\b/dgv,name:"keyword.control.liquid"},{match:/\b(cols|offset|limit):/dgv,name:"keyword.control.liquid"},{include:"#value_expression"}]},tag_tablerow_liquid:{begin:/(?:(?<=\{%)|(?<=\{%-)|(?<=^|\n(?!$)))\p{space}*(tablerow)\b/dgv,beginCaptures:{"1":{name:"keyword.control.tablerow.liquid"}},end:/(?=$|\n)/dgv,name:"meta.entity.tag.tablerow.liquid",patterns:[{include:"#tag_tablerow_body"}]},value_expression:{patterns:[{captures:{"2":{name:"invalid.illegal.filter.liquid"},"3":{name:"invalid.illegal.filter.liquid"}},match:/(\[)(\|)(?=[^\]]*)(?=\])/dgv},{match:/(?<=\p{space})(\+|-|\/|\*)(?=\p{space})/dgv,name:"invalid.illegal.filter.liquid"},{include:"#language_constant"},{include:"#operator"},{include:"#invalid_range"},{include:"#range"},{include:"#number"},{include:"#string"},{include:"#variable_lookup"}]},variable_lookup:{patterns:[{match:/\b(additional_checkout_buttons|address|all_country_option_tags|all_products|article|articles|block|blog|blogs|canonical_url|cart|checkout|collection|collections|comment|content_for_additional_checkout_buttons|content_for_header|content_for_index|content_for_layout|country_option_tags|currency|current_page|current_tags|customer|customer_address|discount_allocation|discount_application|external_video|font|forloop|form|fulfillment|gift_card|handle|image|images|line_item|link|linklist|linklists|location|localization|metafield|model|model_source|order|page|page_description|page_image|page_title|pages|paginate|part|policy|powered_by_link|predictive_search|product|product_option|product_variant|recommendations|request|routes|script|scripts|search|section|selling_plan|selling_plan_allocation|selling_plan_group|settings|shipping_method|shop|shop_locale|store_availability|tablerow|tax_line|template|theme|transaction|unit_price_measurement|variant|video|video_source)\b/dgv,name:"variable.language.liquid"},{match:/((?<=[\p{L}\p{M}\p{N}\p{Pc}]:\p{space})[\p{L}\p{M}\p{N}\p{Pc}]+)/dgv,name:"variable.parameter.liquid"},{begin:/(?<=[\p{L}\p{M}\p{N}\p{Pc}])\[/dgv,beginCaptures:{"0":{name:"punctuation.section.brackets.begin.liquid"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.section.brackets.end.liquid"}},name:"meta.brackets.liquid",patterns:[{include:"#string"}]},{match:/(?<=([\p{L}\p{M}\p{N}\p{Pc}]|\])\.)([\-\p{L}\p{M}\p{N}\p{Pc}]+\??)/dgv,name:"variable.other.member.liquid"},{match:/(?<=[\p{L}\p{M}\p{N}\p{Pc}])\.(?=[\p{L}\p{M}\p{N}\p{Pc}])/dgv,name:"punctuation.accessor.liquid"},{match:/[a-z_]([\p{L}\p{M}\p{N}\p{Pc}]|-(?!\}\}))*/dgiv,name:"variable.other.liquid"}]}},scopeName:"text.html.liquid",embeddedLangs:["html","css","json","javascript"],aliases:undefined})
7
+
8
+ export default [
9
+ ...html,
10
+ ...css,
11
+ ...json,
12
+ ...javascript,
13
+ lang
14
+ ]
@@ -0,0 +1,3 @@
1
+ import type { LanguageRegistration } from '@shikijs/types'
2
+ const langs: LanguageRegistration []
3
+ export default langs
package/dist/lisp.mjs ADDED
@@ -0,0 +1,2 @@
1
+ /* Alias lisp for common-lisp */
2
+ export { default } from './common-lisp.mjs'
package/dist/lit.d.mts ADDED
@@ -0,0 +1,3 @@
1
+ import type { LanguageRegistration } from '@shikijs/types'
2
+ const langs: LanguageRegistration []
3
+ export default langs
package/dist/lit.mjs ADDED
@@ -0,0 +1,2 @@
1
+ /* Alias lit for ts-tags */
2
+ export { default } from './ts-tags.mjs'
package/dist/log.d.mts ADDED
@@ -0,0 +1,3 @@
1
+ import type { LanguageRegistration } from '@shikijs/types'
2
+ const langs: LanguageRegistration []
3
+ export default langs
package/dist/log.mjs ADDED
@@ -0,0 +1,5 @@
1
+ const lang = Object.freeze({displayName:"Log file",fileTypes:["log"],name:"log",patterns:[{match:/\b(Trace)\b:/dgv,name:"comment log.verbose"},{match:/\[(verbose|verb|vrb|vb|v)\]/dgiv,name:"comment log.verbose"},{match:/(?<=(?<=^|\n(?!$))[\p{space}\p{Nd}p]*)\bV\b/dgv,name:"comment log.verbose"},{match:/\b(DEBUG|Debug)\b|\b([Dd][Ee][Bb][Uu][Gg]):/dgv,name:"markup.changed log.debug"},{match:/\[(debug|dbug|dbg|de|d)\]/dgiv,name:"markup.changed log.debug"},{match:/(?<=(?<=^|\n(?!$))[\p{space}\p{Nd}p]*)\bD\b/dgv,name:"markup.changed log.debug"},{match:/\b(HINT|INFO|INFORMATION|Info|NOTICE|II)\b|\b([Ii][Nn][Ff][Oo]|[Ii][Nn][Ff][Oo][Rr][Mm][Aa][Tt][Ii][Oo][Nn]):/dgv,name:"markup.inserted log.info"},{match:/\[(information|info|inf|in|i)\]/dgiv,name:"markup.inserted log.info"},{match:/(?<=(?<=^|\n(?!$))[\p{space}\p{Nd}p]*)\bI\b/dgv,name:"markup.inserted log.info"},{match:/\b(WARNING|WARN|Warn|WW)\b|\b([Ww][Aa][Rr][Nn][Ii][Nn][Gg]):/dgv,name:"markup.deleted log.warning"},{match:/\[(warning|warn|wrn|wn|w)\]/dgiv,name:"markup.deleted log.warning"},{match:/(?<=(?<=^|\n(?!$))[\p{space}\p{Nd}p]*)\bW\b/dgv,name:"markup.deleted log.warning"},{match:/\b(ALERT|CRITICAL|EMERGENCY|ERROR|FAILURE|FAIL|Fatal|FATAL|Error|EE)\b|\b([Ee][Rr][Rr][Oo][Rr]):/dgv,name:"string.regexp, strong log.error"},{match:/\[(error|eror|err|er|e|fatal|fatl|ftl|fa|f)\]/dgiv,name:"string.regexp, strong log.error"},{match:/(?<=(?<=^|\n(?!$))[\p{space}\p{Nd}p]*)\bE\b/dgv,name:"string.regexp, strong log.error"},{match:/\b\p{Nd}{4}-\p{Nd}{2}-\p{Nd}{2}(?=T|\b)/dgv,name:"comment log.date"},{match:/(?<=((?<=^|\n(?!$))|\p{space}))\p{Nd}{2}[^\p{L}\p{M}\p{N}\p{Pc}\p{space}]\p{Nd}{2}[^\p{L}\p{M}\p{N}\p{Pc}\p{space}]\p{Nd}{4}\b/dgv,name:"comment log.date"},{match:/T?\p{Nd}{1,2}:\p{Nd}{2}(:\p{Nd}{2}([\.\,]\p{Nd}+)?)?(Z| ?[\+\-]\p{Nd}{1,2}:\p{Nd}{2})?\b/dgv,name:"comment log.date"},{match:/T\p{Nd}{2}\p{Nd}{2}(\p{Nd}{2}([\.\,]\p{Nd}+)?)?(Z| ?[\+\-]\p{Nd}{1,2}\p{Nd}{2})?\b/dgv,name:"comment log.date"},{match:/\b([0-9a-fA-F]{40}|[0-9a-fA-F]{10}|[0-9a-fA-F]{7})\b/dgv,name:"constant.language"},{match:/\b[0-9a-fA-F]{8}[\-]?([0-9a-fA-F]{4}[\-]?){3}[0-9a-fA-F]{12}\b/dgv,name:"constant.language log.constant"},{match:/\b([0-9a-fA-F]{2,}[\:\-])+(?:[0-9a-fA-F]{2,})+\b/dgv,name:"constant.language log.constant"},{match:/\b(\p{Nd}+|true|false|null)\b/dgv,name:"constant.language log.constant"},{match:/\b(0x[a-fA-F0-9]+)\b/dgv,name:"constant.language log.constant"},{match:/"[^"]*"/dgv,name:"string log.string"},{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}])'[^']*'/dgv,name:"string log.string"},{match:/\b([a-zA-Z\.]*Exception)\b/dgv,name:"string.regexp, emphasis log.exceptiontype"},{begin:/(?<=^|\n(?!$))[\t ]*at[\t ]/dgv,end:/(?=$|\n)/dgv,name:"string.key, emphasis log.exception"},{match:/\b[a-z]+:\/\/\P{space}+\b\/?/dgv,name:"constant.language log.constant"},{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}\/\\])([\p{L}\p{M}\p{N}\p{Pc}\-]+\.)+([\p{L}\p{M}\p{N}\p{Pc}\-])+(?![\p{L}\p{M}\p{N}\p{Pc}\/\\])/dgv,name:"constant.language log.constant"}],scopeName:"text.log",embeddedLangs:undefined,aliases:undefined})
2
+
3
+ export default [
4
+ lang
5
+ ]
@@ -0,0 +1,3 @@
1
+ import type { LanguageRegistration } from '@shikijs/types'
2
+ const langs: LanguageRegistration []
3
+ export default langs
package/dist/logo.mjs ADDED
@@ -0,0 +1,7 @@
1
+ import { EmulatedRegExp } from 'oniguruma-to-es'
2
+
3
+ const lang = Object.freeze({displayName:"Logo",fileTypes:[],name:"logo",patterns:[{match:/(?<=^|\n(?!$))to [\p{L}\p{M}\p{N}\p{Pc}\.]+/dgv,name:"entity.name.function.logo"},{match:/continue|do\.until|do\.while|end|for(each)?|if(else|falsetrue|)|repeat|stop|until/dgv,name:"keyword.control.logo"},{match:/\b(\.defmacro|\.eq|\.macro|\.maybeoutput|\.setbf|\.setfirst|\.setitem|\.setsegmentsize|allopen|allowgetset|and|apply|arc|arctan|arity|array|arrayp|arraytolist|ascii|ashift|back|background|backslashedp|beforep|bitand|bitnot|bitor|bitxor|buried|buriedp|bury|buryall|buryname|butfirst|butfirsts|butlast|bye|cascade|case|caseignoredp|catch|char|clean|clearscreen|cleartext|close|closeall|combine|cond|contents|copydef|cos|count|crossmap|cursor|define|definedp|dequeue|difference|dribble|edall|edit|editfile|edn|edns|edpl|edpls|edps|emptyp|eofp|epspict|equalp|erall|erase|erasefile|ern|erns|erpl|erpls|erps|erract|error|exp|fence|filep|fill|filter|find|first|firsts|forever|form|forward|fput|fullprintp|fullscreen|fulltext|gc|gensym|global|goto|gprop|greaterp|heading|help|hideturtle|home|ignore|int|invoke|iseq|item|keyp|label|last|left|lessp|list|listp|listtoarray|ln|load|loadnoisily|loadpict|local|localmake|log10|lowercase|lput|lshift|macroexpand|macrop|make|map|map[^\n]se|mdarray|mditem|mdsetitem|member|memberp|minus|modulo|name|namelist|namep|names|nodes|nodribble|norefresh|not|numberp|openappend|openread|openupdate|openwrite|or|output|palette|parse|pause|pen|pencolor|pendown|pendownp|penerase|penmode|penpaint|penreverse|pensize|penup|pick|plist|plistp|plists|pllist|po|poall|pon|pons|pop|popl|popls|pops|pos|pot|pots|power|pprop|prefix|primitivep|print|printdepthlimit|printwidthlimit|procedurep|procedures|product|push|queue|quoted|quotient|radarctan|radcos|radsin|random|rawascii|readchar|readchars|reader|readlist|readpos|readrawline|readword|redefp|reduce|refresh|remainder|remdup|remove|remprop|repcount|rerandom|reverse|right|round|rseq|run|runparse|runresult|save|savel|savepict|screenmode|scrunch|sentence|setbackground|setcursor|seteditor|setheading|sethelploc|setitem|setlibloc|setmargins|setpalette|setpen|setpencolor|setpensize|setpos|setprefix|setread|setreadpos|setscrunch|settemploc|settextcolor|setwrite|setwritepos|setx|setxy|sety|shell|show|shownp|showturtle|sin|splitscreen|sqrt|standout|startup|step|stepped|steppedp|substringp|sum|tag|test|text|textscreen|thing|throw|towards|trace|traced|tracedp|transfer|turtlemode|type|unbury|unburyall|unburyname|unburyonedit|unstep|untrace|uppercase|usealternatenam|wait|while|window|word|wordp|wrap|writepos|writer|xcor|ycor)\b/dgv,name:"keyword.other.logo"},{captures:{"1":{name:"punctuation.definition.variable.logo"}},match:/(:)(?:\|[^\|]*\||[\-\p{L}\p{M}\p{N}\p{Pc}\.]*)+/dgv,name:"variable.parameter.logo"},{match:/"(?:\|[^\|]*\||[\-\p{L}\p{M}\p{N}\p{Pc}\.]*)+/dgv,name:"string.other.word.logo"},{begin:/((?<=^|\n(?!$))[ \t]+)?(?=;)/dgv,beginCaptures:{"1":{name:"punctuation.whitespace.comment.leading.logo"}},end:new EmulatedRegExp("","dgv",{"strategy":"not_search_start"}),patterns:[{begin:/;/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.logo"}},end:/\n/dgv,name:"comment.line.semicolon.logo"}]}],scopeName:"source.logo",embeddedLangs:undefined,aliases:undefined})
4
+
5
+ export default [
6
+ lang
7
+ ]
package/dist/lua.d.mts ADDED
@@ -0,0 +1,3 @@
1
+ import type { LanguageRegistration } from '@shikijs/types'
2
+ const langs: LanguageRegistration []
3
+ export default langs
package/dist/lua.mjs ADDED
@@ -0,0 +1,9 @@
1
+ import { EmulatedRegExp } from 'oniguruma-to-es'
2
+ import c from './c.mjs'
3
+
4
+ const lang = Object.freeze({displayName:"Lua",name:"lua",patterns:[{begin:/\b(?:(local)\p{space}+)?(function)\b(?![\,\:])/dgv,beginCaptures:{"1":{name:"keyword.local.lua"},"2":{name:"keyword.control.lua"}},end:/(?<=[\)\-\{\}\[\]"'])/dgv,name:"meta.function.lua",patterns:[{include:"#comment"},{begin:/(\()/dgv,beginCaptures:{"1":{name:"punctuation.definition.parameters.begin.lua"}},end:/(\))|(?=[\-\.\{\}\[\]"'])/dgv,endCaptures:{"1":{name:"punctuation.definition.parameters.finish.lua"}},name:"meta.parameter.lua",patterns:[{include:"#comment"},{match:/[a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"variable.parameter.function.lua"},{match:/,/dgv,name:"punctuation.separator.arguments.lua"},{begin:/:/dgv,beginCaptures:{"0":{name:"punctuation.separator.arguments.lua"}},end:/(?=[\)\,])/dgv,patterns:[{include:"#emmydoc.type"}]}]},{match:/\b([a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)\b\p{space}*(?=:)/dgv,name:"entity.name.class.lua"},{match:/\b([a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)\b/dgv,name:"entity.name.function.lua"}]},{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}\p{Nd}\.])0[xX][0-9A-Fa-f]+(\.[0-9A-Fa-f]*)?([eE]-?\p{Nd}*)?([pP][\-\+]\p{Nd}+)?/dgv,name:"constant.numeric.float.hexadecimal.lua"},{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}\p{Nd}\.])0[xX]\.[0-9A-Fa-f]+([eE]-?\p{Nd}*)?([pP][\-\+]\p{Nd}+)?/dgv,name:"constant.numeric.float.hexadecimal.lua"},{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}\p{Nd}\.])0[xX][0-9A-Fa-f]+(?![pPeE\.0-9])/dgv,name:"constant.numeric.integer.hexadecimal.lua"},{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}\p{Nd}\.])\p{Nd}+(\.\p{Nd}*)?([eE]-?\p{Nd}*)?/dgv,name:"constant.numeric.float.lua"},{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}\p{Nd}\.])\.\p{Nd}+([eE]-?\p{Nd}*)?/dgv,name:"constant.numeric.float.lua"},{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}\p{Nd}\.])\p{Nd}+(?![pPeE\.0-9])/dgv,name:"constant.numeric.integer.lua"},{include:"#string"},{captures:{"1":{name:"punctuation.definition.comment.lua"}},match:/^(#!)[^\n]*(?=$|\n)\n?/dgv,name:"comment.line.shebang.lua"},{include:"#comment"},{captures:{"1":{name:"keyword.control.goto.lua"},"2":{name:"string.tag.lua"}},match:/\b(goto)\p{space}+([a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)/dgv},{captures:{"1":{name:"punctuation.section.embedded.begin.lua"},"2":{name:"punctuation.section.embedded.end.lua"}},match:/(::)\p{space}*[a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*\p{space}*(::)/dgv,name:"string.tag.lua"},{captures:{"0":{name:"storage.type.attribute.lua"}},match:/<\p{space}*(const|close)\p{space}*>/dgv},{match:/<[a-zA-Z_\*][a-zA-Z0-9_\.\*\-]*>/dgv,name:"storage.type.generic.lua"},{match:/\b(break|do|else|for|if|elseif|goto|return|then|repeat|while|until|end|in)\b/dgv,name:"keyword.control.lua"},{match:/\b(local)\b/dgv,name:"keyword.local.lua"},{match:/\b(function)\b(?![\,\:])/dgv,name:"keyword.control.lua"},{match:/(?<![^\.]\.|:)\b(false|nil(?!:)|true|_ENV|_G|_VERSION|math\.(pi|huge|maxinteger|mininteger)|utf8\.charpattern|io\.(stdin|stdout|stderr)|package\.(config|cpath|loaded|loaders|path|preload|searchers))\b|(?<![\.])\.{3}(?!\.)/dgv,name:"constant.language.lua"},{match:/(?<![^\.]\.|:)\b(self)\b/dgv,name:"variable.language.self.lua"},{match:/(?<![^\.]\.|:)\b(assert|collectgarbage|dofile|error|getfenv|getmetatable|ipairs|load|loadfile|loadstring|module|next|pairs|pcall|print|rawequal|rawget|rawlen|rawset|require|select|setfenv|setmetatable|tonumber|tostring|type|unpack|xpcall)\b(?!\p{space}*=(?!=))/dgv,name:"support.function.lua"},{match:/(?<![^\.]\.|:)\b(async)\b(?!\p{space}*=(?!=))/dgv,name:"entity.name.tag.lua"},{match:/(?<![^\.]\.|:)\b(coroutine\.(create|isyieldable|close|resume|running|status|wrap|yield)|string\.(byte|char|dump|find|format|gmatch|gsub|len|lower|match|pack|packsize|rep|reverse|sub|unpack|upper)|table\.(concat|insert|maxn|move|pack|remove|sort|unpack)|math\.(abs|acos|asin|atan2?|ceil|cosh?|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pow|rad|random|randomseed|sinh?|sqrt|tanh?|tointeger|type)|io\.(close|flush|input|lines|open|output|popen|read|tmpfile|type|write)|os\.(clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(loadlib|seeall|searchpath)|debug\.(debug|[gs]etfenv|[gs]ethook|getinfo|[gs]etlocal|[gs]etmetatable|getregistry|[gs]etupvalue|[gs]etuservalue|set[Cc]stacklimit|traceback|upvalueid|upvaluejoin)|bit32\.(arshift|band|bnot|bor|btest|bxor|extract|replace|lrotate|lshift|rrotate|rshift)|utf8\.(char|codes|codepoint|len|offset))\b(?!\p{space}*=(?!=))/dgv,name:"support.function.library.lua"},{match:/\b(and|or|not|\|\||&&|!)\b/dgv,name:"keyword.operator.lua"},{match:/\b([a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)\b(?=\p{space}*(?:[\(\{"']|\[\[))/dgv,name:"support.function.any-method.lua"},{match:/\b([a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)\b(?=\p{space}*\??:)/dgv,name:"entity.name.class.lua"},{match:/(?<=[^\.]\.|:)\b([a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)\b(?!\p{space}*=\p{space}*\b(function)\b)/dgv,name:"entity.other.attribute.lua"},{match:/\b([a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)\b(?!\p{space}*=\p{space}*\b(function)\b)/dgv,name:"variable.other.lua"},{match:/\b([a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)\b(?=\p{space}*=\p{space}*\b(function)\b)/dgv,name:"entity.name.function.lua"},{match:/\+|-|%|#|\*|\/|\^|==?|~=|!=|<=?|>=?|(?<!\.)\.{2}(?!\.)/dgv,name:"keyword.operator.lua"}],repository:{comment:{patterns:[{begin:/((?<=^|\n(?!$))[ \t]+)?(?=--)/dgv,beginCaptures:{"1":{name:"punctuation.whitespace.comment.leading.lua"}},end:new EmulatedRegExp("((?!(?<=^|\\n(?!$)))[ \\t]+\\n)?","dgv",{"strategy":"not_search_start"}),endCaptures:{"1":{name:"punctuation.whitespace.comment.trailing.lua"}},patterns:[{begin:/--\[(=*)\[@@@/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.begin.lua"}},end:/(--)?\]\1\]/dgv,endCaptures:{"0":{name:"punctuation.definition.comment.end.lua"}},name:"",patterns:[{include:"source.lua"}]},{begin:/--\[(=*)\[/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.begin.lua"}},end:/(--)?\]\1\]/dgv,endCaptures:{"0":{name:"punctuation.definition.comment.end.lua"}},name:"comment.block.lua",patterns:[{include:"#emmydoc"},{include:"#ldoc_tag"}]},{begin:/----/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.lua"}},end:/\n/dgv,name:"comment.line.double-dash.lua"},{begin:/---/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.lua"}},end:/\n/dgv,name:"comment.line.double-dash.documentation.lua",patterns:[{include:"#emmydoc"},{include:"#ldoc_tag"}]},{begin:/--/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.lua"}},end:/\n/dgv,name:"comment.line.double-dash.lua",patterns:[{include:"#ldoc_tag"}]}]},{begin:/\/\*/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.begin.lua"}},end:/\*\//dgv,endCaptures:{"0":{name:"punctuation.definition.comment.end.lua"}},name:"comment.block.lua",patterns:[{include:"#emmydoc"},{include:"#ldoc_tag"}]}]},emmydoc:{patterns:[{begin:/(?<=---)[ \t]*@class/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\@\#])/dgv,patterns:[{match:/\b([a-zA-Z_\*][a-zA-Z0-9_\.\*\-]*)/dgv,name:"support.class.lua"},{match:/:|,/dgv,name:"keyword.operator.lua"}]},{begin:/(?<=---)[ \t]*@enum/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\@\#])/dgv,patterns:[{begin:/\b([a-zA-Z_\*][a-zA-Z0-9_\.\*\-]*)/dgv,beginCaptures:{"0":{name:"variable.lua"}},end:/(?=\n)/dgv}]},{begin:/(?<=---)[ \t]*@type/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\@\#])/dgv,patterns:[{include:"#emmydoc.type"}]},{begin:/(?<=---)[ \t]*@alias/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\@\#])/dgv,patterns:[{begin:/\b([a-zA-Z_\*][a-zA-Z0-9_\.\*\-]*)/dgv,beginCaptures:{"0":{name:"variable.lua"}},end:/(?=[\n\#])/dgv,patterns:[{include:"#emmydoc.type"}]}]},{begin:/(?<=---)[ \t]*(@operator)\p{space}*(\b[a-z]+)?/dgv,beginCaptures:{"1":{name:"storage.type.annotation.lua"},"2":{name:"support.function.library.lua"}},end:/(?=[\n\@\#])/dgv,patterns:[{include:"#emmydoc.type"}]},{begin:/(?<=---)[ \t]*@cast/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\@\#])/dgv,patterns:[{begin:/\b([a-zA-Z_\*][a-zA-Z0-9_\.\*\-]*)/dgv,beginCaptures:{"0":{name:"variable.other.lua"}},end:/(?=\n)/dgv,patterns:[{include:"#emmydoc.type"},{match:/([\+-\|])/dgv,name:"keyword.operator.lua"}]}]},{begin:/(?<=---)[ \t]*@param/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\@\#])/dgv,patterns:[{begin:/\b([a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)\b(\??)/dgv,beginCaptures:{"1":{name:"entity.name.variable.lua"},"2":{name:"keyword.operator.lua"}},end:/(?=[\n\#])/dgv,patterns:[{include:"#emmydoc.type"}]}]},{begin:/(?<=---)[ \t]*@return/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\@\#])/dgv,patterns:[{match:/\?/dgv,name:"keyword.operator.lua"},{include:"#emmydoc.type"}]},{begin:/(?<=---)[ \t]*@field/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\@\#])/dgv,patterns:[{begin:/(\b([a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)\b|(\[))(\??)/dgv,beginCaptures:{"2":{name:"entity.name.variable.lua"},"3":{name:"keyword.operator.lua"}},end:/(?=[\n\#])/dgv,patterns:[{include:"#string"},{include:"#emmydoc.type"},{match:/\]/dgv,name:"keyword.operator.lua"}]}]},{begin:/(?<=---)[ \t]*@generic/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\@\#])/dgv,patterns:[{begin:/\b([a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)\b/dgv,beginCaptures:{"0":{name:"storage.type.generic.lua"}},end:/(?=\n)|(,)/dgv,endCaptures:{"0":{name:"keyword.operator.lua"}},patterns:[{match:/:/dgv,name:"keyword.operator.lua"},{include:"#emmydoc.type"}]}]},{begin:/(?<=---)[ \t]*@vararg/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\@\#])/dgv,patterns:[{include:"#emmydoc.type"}]},{begin:/(?<=---)[ \t]*@overload/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\@\#])/dgv,patterns:[{include:"#emmydoc.type"}]},{begin:/(?<=---)[ \t]*@deprecated/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\@\#])/dgv},{begin:/(?<=---)[ \t]*@meta/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\@\#])/dgv},{begin:/(?<=---)[ \t]*@private/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\@\#])/dgv},{begin:/(?<=---)[ \t]*@protected/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\@\#])/dgv},{begin:/(?<=---)[ \t]*@package/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\@\#])/dgv},{begin:/(?<=---)[ \t]*@version/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\@\#])/dgv,patterns:[{match:/\b(5\.1|5\.2|5\.3|5\.4|JIT)\b/dgv,name:"support.class.lua"},{match:/,|>|</dgv,name:"keyword.operator.lua"}]},{begin:/(?<=---)[ \t]*@see/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\@\#])/dgv,patterns:[{match:/\b([a-zA-Z_\*][a-zA-Z0-9_\.\*\-]*)/dgv,name:"support.class.lua"},{match:/#/dgv,name:"keyword.operator.lua"}]},{begin:/(?<=---)[ \t]*@diagnostic/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\@\#])/dgv,patterns:[{begin:/([a-zA-Z_\-0-9]+)[ \t]*(:)?/dgv,beginCaptures:{"1":{name:"keyword.other.unit"},"2":{name:"keyword.operator.unit"}},end:/(?=\n)/dgv,patterns:[{match:/\b([a-zA-Z_\*][a-zA-Z0-9_\-]*)/dgv,name:"support.class.lua"},{match:/,/dgv,name:"keyword.operator.lua"}]}]},{begin:/(?<=---)[ \t]*@module/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\@\#])/dgv,patterns:[{include:"#string"}]},{match:/(?<=---)[ \t]*@(async|nodiscard)/dgv,name:"storage.type.annotation.lua"},{begin:/(?<=---)\|\p{space}*[\>\+]?/dgv,beginCaptures:{"0":{name:"storage.type.annotation.lua"}},end:/(?=[\n\@\#])/dgv,patterns:[{include:"#string"}]}]},"emmydoc.type":{patterns:[{begin:/\bfun\b/dgv,beginCaptures:{"0":{name:"keyword.control.lua"}},end:/(?=[\p{space}\#])/dgv,patterns:[{match:/[\(\)\,\:\?][ \t]*/dgv,name:"keyword.operator.lua"},{match:/([a-zA-Z_][a-zA-Z0-9_\.\*\[\]\<\>\,\-]*)(?<!,)[ \t]*(?=\??:)/dgv,name:"entity.name.variable.lua"},{include:"#emmydoc.type"},{include:"#string"}]},{match:/<[a-zA-Z_\*][a-zA-Z0-9_\.\*\-]*>/dgv,name:"storage.type.generic.lua"},{match:/\basync\b/dgv,name:"entity.name.tag.lua"},{match:/[\{\}\:\,\?\|\`][ \t]*/dgv,name:"keyword.operator.lua"},{begin:/(?=[a-zA-Z_\.\*"'\[])/dgv,end:/(?=[\p{space}\)\,\?\:\}\|\#])/dgv,patterns:[{match:/([a-zA-Z0-9_\.\*\[\]\<\>\,\-]+)(?<!,)[ \t]*/dgv,name:"support.type.lua"},{match:/(\.\.\.)[ \t]*/dgv,name:"constant.language.lua"},{include:"#string"}]}]},escaped_char:{patterns:[{match:/\\[abfnrtv\\"'\n]/dgv,name:"constant.character.escape.lua"},{match:/\\z[\n\t ]*/dgv,name:"constant.character.escape.lua"},{match:/\\\p{Nd}{1,3}/dgv,name:"constant.character.escape.byte.lua"},{match:/\\x[0-9A-Fa-f][0-9A-Fa-f]/dgv,name:"constant.character.escape.byte.lua"},{match:/\\u\{[0-9A-Fa-f]+\}/dgv,name:"constant.character.escape.unicode.lua"},{match:/\\[^\n]/dgv,name:"invalid.illegal.character.escape.lua"}]},ldoc_tag:{captures:{"1":{name:"punctuation.definition.block.tag.ldoc"},"2":{name:"storage.type.class.ldoc"}},match:/[ \t]*(@)(alias|annotation|author|charset|class|classmod|comment|constructor|copyright|description|example|export|factory|field|file|fixme|function|include|lfunction|license|local|module|name|param|pragma|private|raise|release|return|script|section|see|set|static|submodule|summary|tfield|thread|tparam|treturn|todo|topic|type|usage|warning|within)\b/dgvy},string:{patterns:[{begin:/'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.lua"}},end:/'[ \t]*|(?=\n)/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.lua"}},name:"string.quoted.single.lua",patterns:[{include:"#escaped_char"}]},{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.lua"}},end:/"[ \t]*|(?=\n)/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.lua"}},name:"string.quoted.double.lua",patterns:[{include:"#escaped_char"}]},{begin:/`/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.lua"}},end:/`[ \t]*|(?=\n)/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.lua"}},name:"string.quoted.double.lua"},{begin:/(?<=\.cdef)\p{space}*(\[(=*)\[)/dgv,beginCaptures:{"0":{name:"string.quoted.other.multiline.lua"},"1":{name:"punctuation.definition.string.begin.lua"}},contentName:"meta.embedded.lua",end:/(\]\2\])[ \t]*()/dgv,endCaptures:{"0":{name:"string.quoted.other.multiline.lua"},"1":{name:"punctuation.definition.string.end.lua"}},patterns:[{include:"source.c"}]},{begin:/(?<!--)\[(=*)\[/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.lua"}},end:/\]\1\][ \t]*()/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.lua"}},name:"string.quoted.other.multiline.lua"}]}},scopeName:"source.lua",embeddedLangs:["c"],aliases:undefined})
5
+
6
+ export default [
7
+ ...c,
8
+ lang
9
+ ]
@@ -0,0 +1,3 @@
1
+ import type { LanguageRegistration } from '@shikijs/types'
2
+ const langs: LanguageRegistration []
3
+ export default langs
package/dist/luau.mjs ADDED
@@ -0,0 +1,5 @@
1
+ const lang = Object.freeze({displayName:"Luau",fileTypes:["luau"],name:"luau",patterns:[{include:"#function-definition"},{include:"#number"},{include:"#string"},{include:"#shebang"},{include:"#comment"},{include:"#local-declaration"},{include:"#for-loop"},{include:"#type-alias-declaration"},{include:"#keyword"},{include:"#language_constant"},{include:"#standard_library"},{include:"#identifier"},{include:"#operator"},{include:"#parentheses"},{include:"#table"},{include:"#type_cast"},{include:"#type_annotation"},{include:"#attribute"}],repository:{attribute:{patterns:[{captures:{"1":{name:"keyword.operator.attribute.luau"},"2":{name:"storage.type.attribute.luau"}},match:/(@)([a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)/dgv,name:"meta.attribute.luau"}]},comment:{patterns:[{begin:/--\[(=*)\[/dgv,end:/\]\1\]()/dgv,name:"comment.block.luau",patterns:[{begin:/(```luau?)\p{space}+/dgv,beginCaptures:{"1":{name:"comment.luau"}},end:/(```)/dgv,endCaptures:{"1":{name:"comment.luau"}},name:"keyword.operator.other.luau",patterns:[{include:"source.luau"}]},{include:"#doc_comment_tags"}]},{begin:/---/dgv,end:/\n/dgv,name:"comment.line.double-dash.documentation.luau",patterns:[{include:"#doc_comment_tags"}]},{begin:/--/dgv,end:/\n/dgv,name:"comment.line.double-dash.luau"}]},doc_comment_tags:{patterns:[{match:/@[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"storage.type.class.luadoc.luau"},{captures:{"1":{name:"storage.type.class.luadoc.luau"},"2":{name:"variable.parameter.luau"}},match:/((?<=[\p{space}\*\!\/])[\\\@]param)(?:\p{space})+(\b[\p{L}\p{M}\p{N}\p{Pc}]+\b)/dgv}]},"for-loop":{begin:/\b(for)\b/dgv,beginCaptures:{"1":{name:"keyword.control.luau"}},end:/\b(in)\b|(=)/dgv,endCaptures:{"1":{name:"keyword.control.luau"},"2":{name:"keyword.operator.assignment.luau"}},patterns:[{begin:/(:)/dgv,beginCaptures:{"1":{name:"keyword.operator.type.luau"}},end:/(?=\p{space}*in\b|\p{space}*[\=\,]|\p{space}*(?=$|\n))/dgv,patterns:[{include:"#type_literal"}]},{match:/\b([a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)\b/dgv,name:"variable.parameter.luau"}]},"function-definition":{begin:/\b(?:(local)\p{space}+)?(function)\b(?![\,\:])/dgv,beginCaptures:{"1":{name:"storage.modifier.local.luau"},"2":{name:"keyword.control.luau"}},end:/(?<=[\)\-\{\}\[\]"'])/dgv,name:"meta.function.luau",patterns:[{include:"#comment"},{include:"#generics-declaration"},{begin:/(\()/dgv,beginCaptures:{"1":{name:"punctuation.definition.parameters.begin.luau"}},end:/(\))/dgv,endCaptures:{"1":{name:"punctuation.definition.parameters.end.luau"}},name:"meta.parameter.luau",patterns:[{include:"#comment"},{match:/\.\.\./dgv,name:"variable.parameter.function.varargs.luau"},{match:/[a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"variable.parameter.function.luau"},{match:/,/dgv,name:"punctuation.separator.arguments.luau"},{begin:/:/dgv,beginCaptures:{"0":{name:"keyword.operator.type.luau"}},end:/(?=[\)\,])/dgv,patterns:[{include:"#type_literal"}]}]},{match:/\b(__add|__call|__concat|__div|__eq|__index|__le|__len|__lt|__metatable|__mod|__mode|__mul|__newindex|__pow|__sub|__tostring|__unm|__iter|__idiv)\b/dgv,name:"variable.language.metamethod.luau"},{match:/\b([a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)\b/dgv,name:"entity.name.function.luau"}]},"generics-declaration":{begin:/(<)/dgv,end:/(>)/dgv,patterns:[{match:/[a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*/dgv,name:"entity.name.type.luau"},{match:/=/dgv,name:"keyword.operator.assignment.luau"},{include:"#type_literal"}]},identifier:{patterns:[{match:/\b([a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)\b(?=\p{space}*(?:[\(\{"']|\[\[))/dgv,name:"entity.name.function.luau"},{match:/(?<=[^\.]\.|:)\b([a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)\b/dgv,name:"variable.other.property.luau"},{match:/\b([A-Z_][A-Z0-9_]*)\b/dgv,name:"variable.other.constant.luau"},{match:/\b([a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)\b/dgv,name:"variable.other.readwrite.luau"}]},interpolated_string_expression:{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.definition.interpolated-string-expression.begin.luau"}},contentName:"meta.embedded.line.luau",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.interpolated-string-expression.end.luau"}},name:"meta.template.expression.luau",patterns:[{include:"source.luau"}]},keyword:{patterns:[{match:/\b(break|do|else|for|if|elseif|return|then|repeat|while|until|end|in|continue)\b/dgv,name:"keyword.control.luau"},{match:/\b(local)\b/dgv,name:"storage.modifier.local.luau"},{match:/\b(function)\b(?![\,\:])/dgv,name:"keyword.control.luau"},{match:/(?<![^\.]\.|:)\b(self)\b/dgv,name:"variable.language.self.luau"},{match:/\b(and|or|not)\b/dgv,name:"keyword.operator.logical.luau keyword.operator.wordlike.luau"},{match:/(?<=[^\.]\.|:)\b(__add|__call|__concat|__div|__eq|__index|__le|__len|__lt|__metatable|__mod|__mode|__mul|__newindex|__pow|__sub|__tostring|__unm)\b/dgv,name:"variable.language.metamethod.luau"},{match:/(?<![\.])\.{3}(?!\.)/dgv,name:"keyword.other.unit.luau"}]},language_constant:{patterns:[{match:/(?<![^\.]\.|:)\b(false)\b/dgv,name:"constant.language.boolean.false.luau"},{match:/(?<![^\.]\.|:)\b(true)\b/dgv,name:"constant.language.boolean.true.luau"},{match:/(?<![^\.]\.|:)\b(nil(?!:))\b/dgv,name:"constant.language.nil.luau"}]},"local-declaration":{begin:/\b(local)\b/dgv,beginCaptures:{"1":{name:"storage.modifier.local.luau"}},end:/(?=\p{space}*do\b|\p{space}*[\=\;]|\p{space}*(?=$|\n))/dgv,patterns:[{include:"#comment"},{include:"#attribute"},{begin:/(:)/dgv,beginCaptures:{"1":{name:"keyword.operator.type.luau"}},end:/(?=\p{space}*do\b|\p{space}*[\=\;\,]|\p{space}*(?=$|\n))/dgv,patterns:[{include:"#type_literal"}]},{match:/\b([A-Z_][A-Z0-9_]*)\b/dgv,name:"variable.other.constant.luau"},{match:/\b([a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)\b/dgv,name:"variable.other.readwrite.luau"}]},number:{patterns:[{match:/\b0_*[xX]_*[\p{Nd}a-fA-F_]*(?:[eE][\+\-]?_*\p{Nd}[\p{Nd}_]*(?:\.[\p{Nd}_]*)?)?/dgv,name:"constant.numeric.hex.luau"},{match:/\b0_*[bB][01_]+(?:[eE][\+\-]?_*\p{Nd}[\p{Nd}_]*(?:\.[\p{Nd}_]*)?)?/dgv,name:"constant.numeric.binary.luau"},{match:/(?:\p{Nd}[\p{Nd}_]*(?:\.[\p{Nd}_]*)?|\.\p{Nd}[\p{Nd}_]*)(?:[eE][\+\-]?_*\p{Nd}[\p{Nd}_]*(?:\.[\p{Nd}_]*)?)?/dgv,name:"constant.numeric.decimal.luau"}]},operator:{patterns:[{match:/==|~=|!=|<=?|>=?/dgv,name:"keyword.operator.comparison.luau"},{match:/\+=|-=|\/=|\/\/=|\*=|%=|\^=|\.\.=|=/dgv,name:"keyword.operator.assignment.luau"},{match:/\+|-|%|\*|\/\/|\/|\^/dgv,name:"keyword.operator.arithmetic.luau"},{match:/#|(?<!\.)\.{2}(?!\.)/dgv,name:"keyword.operator.other.luau"}]},parentheses:{begin:/(\()/dgv,beginCaptures:{"1":{name:"punctuation.arguments.begin.luau"}},end:/(\))/dgv,endCaptures:{"1":{name:"punctuation.arguments.end.luau"}},patterns:[{match:/,/dgv,name:"punctuation.separator.arguments.luau"},{include:"source.luau"}]},shebang:{captures:{"1":{name:"punctuation.definition.comment.luau"}},match:/^(#!)[^\n]*(?=$|\n)\n?/dgv,name:"comment.line.shebang.luau"},standard_library:{patterns:[{match:/(?<![^\.]\.|:)\b(assert|collectgarbage|error|gcinfo|getfenv|getmetatable|ipairs|loadstring|newproxy|next|pairs|pcall|print|rawequal|rawset|require|select|setfenv|setmetatable|tonumber|tostring|type|typeof|unpack|xpcall)\b/dgv,name:"support.function.luau"},{match:/(?<![^\.]\.|:)\b(_G|_VERSION)\b/dgv,name:"constant.language.luau"},{match:/(?<![^\.]\.|:)\b(bit32\.(?:arshift|band|bnot|bor|btest|bxor|extract|lrotate|lshift|replace|rrotate|rshift|countlz|countrz|byteswap)|coroutine\.(?:create|isyieldable|resume|running|status|wrap|yield|close)|debug\.(?:info|loadmodule|profilebegin|profileend|traceback)|math\.(?:abs|acos|asin|atan|atan2|ceil|clamp|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|noise|pow|rad|random|randomseed|round|sign|sin|sinh|sqrt|tan|tanh)|os\.(?:clock|date|difftime|time)|string\.(?:byte|char|find|format|gmatch|gsub|len|lower|match|pack|packsize|rep|reverse|split|sub|unpack|upper)|table\.(?:concat|create|find|foreach|foreachi|getn|insert|maxn|move|pack|remove|sort|unpack|clear|freeze|isfrozen|clone)|task\.(?:spawn|synchronize|desynchronize|wait|defer|delay)|utf8\.(?:char|codepoint|codes|graphemes|len|nfcnormalize|nfdnormalize|offset)|buffer\.(?:create|fromstring|tostring|len|readi8|readu8|readi16|readu16|readi32|readu32|readf32|readf64|writei8|writeu8|writei16|writeu16|writei32|writeu32|writef32|writef64|readstring|writestring|copy|fill))\b/dgv,name:"support.function.luau"},{match:/(?<![^\.]\.|:)\b(bit32|buffer|coroutine|debug|math(\.(huge|pi))?|os|string|table|task|utf8(\.charpattern)?)\b/dgv,name:"support.constant.luau"},{match:/(?<![^\.]\.|:)\b(delay|DebuggerManager|elapsedTime|PluginManager|printidentity|settings|spawn|stats|tick|time|UserSettings|version|wait|warn)\b/dgv,name:"support.function.luau"},{match:/(?<![^\.]\.|:)\b(game|plugin|shared|script|workspace|Enum(?:\.[\p{L}\p{M}\p{N}\p{Pc}]+){0,2})\b/dgv,name:"constant.language.luau"}]},string:{patterns:[{begin:/"/dgv,end:/"/dgv,name:"string.quoted.double.luau",patterns:[{include:"#string_escape"}]},{begin:/'/dgv,end:/'/dgv,name:"string.quoted.single.luau",patterns:[{include:"#string_escape"}]},{begin:/\[(=*)\[/dgv,end:/\]\1\]()/dgv,name:"string.other.multiline.luau"},{begin:/`/dgv,end:/`/dgv,name:"string.interpolated.luau",patterns:[{include:"#interpolated_string_expression"},{include:"#string_escape"}]}]},string_escape:{patterns:[{match:/\\[abfnrtvz'"\`\{\\]/dgv,name:"constant.character.escape.luau"},{match:/\\\p{Nd}{1,3}/dgv,name:"constant.character.escape.luau"},{match:/\\x[0-9a-fA-F]{2}/dgv,name:"constant.character.escape.luau"},{match:/\\u\{[0-9a-fA-F]*\}/dgv,name:"constant.character.escape.luau"},{match:/\\(?=$|\n)/dgv,name:"constant.character.escape.luau"}]},table:{begin:/(\{)/dgv,beginCaptures:{"1":{name:"punctuation.table.begin.luau"}},end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.table.end.luau"}},patterns:[{match:/[\,\;]/dgv,name:"punctuation.separator.fields.luau"},{include:"source.luau"}]},"type-alias-declaration":{begin:/(?<=^|\n(?!$))\b(?:(export)\p{space}+)?(type)\b/dgv,beginCaptures:{"1":{name:"storage.modifier.visibility.luau"},"2":{name:"storage.type.luau"}},end:/(?=\p{space}*(?=$|\n))|(?=\p{space}*;)/dgv,patterns:[{include:"#type_literal"},{match:/=/dgv,name:"keyword.operator.assignment.luau"}]},type_annotation:{begin:/:(?!\b([a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)\b(?=\p{space}*(?:[\(\{"']|\[\[)))/dgv,end:/(?<=\))(?!\p{space}*->)|=|;|(?=$|\n)|(?=\breturn\b)|(?=\bend\b)/dgv,patterns:[{include:"#comment"},{include:"#type_literal"}]},type_cast:{begin:/(::)/dgv,beginCaptures:{"1":{name:"keyword.operator.typecast.luau"}},end:/(?=(?<=^|\n(?!$))|[\;\)\,\}\]\:\?\-\+\>](?!\p{space}*[\&\|])|(?=$|\n)|\b(break|do|else|for|if|elseif|return|then|repeat|while|until|end|in|continue)\b)/dgv,patterns:[{include:"#type_literal"}]},type_literal:{patterns:[{include:"#comment"},{include:"#string"},{match:/\?|&|\|/dgv,name:"keyword.operator.type.luau"},{match:/->/dgv,name:"keyword.operator.type.function.luau"},{match:/\b(false)\b/dgv,name:"constant.language.boolean.false.luau"},{match:/\b(true)\b/dgv,name:"constant.language.boolean.true.luau"},{match:/\b(nil|string|number|boolean|thread|userdata|symbol|any)\b/dgv,name:"support.type.primitive.luau"},{begin:/\b(typeof)\b(\()/dgv,beginCaptures:{"1":{name:"support.function.luau"},"2":{name:"punctuation.arguments.begin.typeof.luau"}},end:/(\))/dgv,endCaptures:{"1":{name:"punctuation.arguments.end.typeof.luau"}},patterns:[{include:"source.luau"}]},{begin:/(<)/dgv,beginCaptures:{"1":{name:"punctuation.definition.typeparameters.begin.luau"}},end:/(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.typeparameters.end.luau"}},patterns:[{match:/=/dgv,name:"keyword.operator.assignment.luau"},{include:"#type_literal"}]},{match:/\b([a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)\b/dgv,name:"entity.name.type.luau"},{begin:/\{/dgv,end:/\}/dgv,patterns:[{begin:/\[/dgv,end:/\]/dgv,patterns:[{include:"#type_literal"}]},{captures:{"1":{name:"variable.property.luau"},"2":{name:"keyword.operator.type.luau"}},match:/\b([a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)\b(:)/dgv},{include:"#type_literal"},{match:/[\,\;]/dgv,name:"punctuation.separator.fields.type.luau"}]},{begin:/\(/dgv,end:/\)/dgv,patterns:[{captures:{"1":{name:"variable.parameter.luau"},"2":{name:"keyword.operator.type.luau"}},match:/\b([a-zA-Z_][\p{L}\p{M}\p{N}\p{Pc}]*)\b(:)/dgv,name:"variable.parameter.luau"},{include:"#type_literal"}]}]}},scopeName:"source.luau",embeddedLangs:undefined,aliases:undefined})
2
+
3
+ export default [
4
+ lang
5
+ ]
@@ -0,0 +1,3 @@
1
+ import type { LanguageRegistration } from '@shikijs/types'
2
+ const langs: LanguageRegistration []
3
+ export default langs
package/dist/make.mjs ADDED
@@ -0,0 +1,7 @@
1
+ import { EmulatedRegExp } from 'oniguruma-to-es'
2
+
3
+ const lang = Object.freeze({displayName:"Makefile",name:"make",patterns:[{include:"#comment"},{include:"#variables"},{include:"#variable-assignment"},{include:"#directives"},{include:"#recipe"},{include:"#target"}],repository:{"another-variable-braces":{patterns:[{begin:/(?<=\{)(?!\})/dgv,end:/(?=\}|((?<!\\)\n))/dgv,name:"variable.other.makefile",patterns:[{include:"#variables"},{match:/\\\n/dgv,name:"constant.character.escape.continuation.makefile"}]}]},"another-variable-parentheses":{patterns:[{begin:/(?<=\()(?!\))/dgv,end:/(?=\)|((?<!\\)\n))/dgv,name:"variable.other.makefile",patterns:[{include:"#variables"},{match:/\\\n/dgv,name:"constant.character.escape.continuation.makefile"}]}]},"braces-interpolation":{begin:/\{/dgv,end:/\}/dgv,patterns:[{include:"#variables"},{include:"#interpolation"}]},"builtin-variable-braces":{patterns:[{match:/(?<=\{)(MAKEFILES|VPATH|SHELL|MAKESHELL|MAKE|MAKELEVEL|MAKEFLAGS|MAKECMDGOALS|CURDIR|SUFFIXES|\.LIBPATTERNS)(?=\p{space}*\})/dgv,name:"variable.language.makefile"}]},"builtin-variable-parentheses":{patterns:[{match:/(?<=\()(MAKEFILES|VPATH|SHELL|MAKESHELL|MAKE|MAKELEVEL|MAKEFLAGS|MAKECMDGOALS|CURDIR|SUFFIXES|\.LIBPATTERNS)(?=\p{space}*\))/dgv,name:"variable.language.makefile"}]},comma:{match:/,/dgv,name:"punctuation.separator.delimeter.comma.makefile"},comment:{begin:/((?<=^|\n(?!$))[ ]+)?((?<!\\)(\\\\)*)(?=#)/dgv,beginCaptures:{"1":{name:"punctuation.whitespace.comment.leading.makefile"}},end:new EmulatedRegExp("","dgv",{"strategy":"not_search_start"}),patterns:[{begin:/#/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.makefile"}},end:/(?=[^\\])(?=$|\n)/dgv,name:"comment.line.number-sign.makefile",patterns:[{match:/\\\n/dgv,name:"constant.character.escape.continuation.makefile"}]}]},directives:{patterns:[{begin:/(?<=^|\n(?!$))[ ]*([s\-]?include)\b/dgv,beginCaptures:{"1":{name:"keyword.control.include.makefile"}},end:/(?<=^|\n(?!$))/dgv,patterns:[{include:"#comment"},{include:"#variables"},{match:/%/dgv,name:"constant.other.placeholder.makefile"}]},{begin:/(?<=^|\n(?!$))[ ]*(vpath)\b/dgv,beginCaptures:{"1":{name:"keyword.control.vpath.makefile"}},end:/(?<=^|\n(?!$))/dgv,patterns:[{include:"#comment"},{include:"#variables"},{match:/%/dgv,name:"constant.other.placeholder.makefile"}]},{begin:/(?<=^|\n(?!$))\p{space}*(?:(override)\p{space}*)?(define)\p{space}*([^\p{space}]+)\p{space}*(=|\?=|:=|\+=)?(?=\p{space})/dgv,captures:{"1":{name:"keyword.control.override.makefile"},"2":{name:"keyword.control.define.makefile"},"3":{name:"variable.other.makefile"},"4":{name:"punctuation.separator.key-value.makefile"}},end:/(?<=^|\n(?!$))\p{space}*(endef)\b/dgv,name:"meta.scope.conditional.makefile",patterns:[{begin:/(?!\n)/dgvy,end:/(?<=^|\n(?!$))/dgv,patterns:[{include:"#comment"}]},{include:"#variables"},{include:"#directives"}]},{begin:/(?<=^|\n(?!$))[ ]*(export)\b/dgv,beginCaptures:{"1":{name:"keyword.control.$1.makefile"}},end:/(?<=^|\n(?!$))/dgv,patterns:[{include:"#comment"},{include:"#variable-assignment"},{match:/[^\p{space}]+/dgv,name:"variable.other.makefile"}]},{begin:/(?<=^|\n(?!$))[ ]*(override|private)\b/dgv,beginCaptures:{"1":{name:"keyword.control.$1.makefile"}},end:/(?<=^|\n(?!$))/dgv,patterns:[{include:"#comment"},{include:"#variable-assignment"}]},{begin:/(?<=^|\n(?!$))[ ]*(unexport|undefine)\b/dgv,beginCaptures:{"1":{name:"keyword.control.$1.makefile"}},end:/(?<=^|\n(?!$))/dgv,patterns:[{include:"#comment"},{match:/[^\p{space}]+/dgv,name:"variable.other.makefile"}]},{begin:/(?<=^|\n(?!$))\p{space}*(ifeq|ifneq|ifdef|ifndef)(?=\p{space})/dgv,captures:{"1":{name:"keyword.control.$1.makefile"}},end:/(?<=^|\n(?!$))\p{space}*(endif)\b/dgv,name:"meta.scope.conditional.makefile",patterns:[{begin:/(?:)/dgv,end:/(?<=^|\n(?!$))/dgv,name:"meta.scope.condition.makefile",patterns:[{include:"#comma"},{include:"#variables"},{include:"#comment"}]},{begin:/(?<=^|\n(?!$))\p{space}*else(?=\p{space})\p{space}*(ifeq|ifneq|ifdef|ifndef)*(?=\p{space})/dgv,beginCaptures:{"0":{name:"keyword.control.else.makefile"}},end:/(?<=^|\n(?!$))/dgv,patterns:[{include:"#comma"},{include:"#variables"},{include:"#comment"}]},{include:"$self"}]}]},"flavor-variable-braces":{patterns:[{begin:/(?<=\{)(origin|flavor)\p{space}(?=[^\p{space}\}]+\p{space}*\})/dgv,beginCaptures:{"1":{name:"support.function.$1.makefile"}},contentName:"variable.other.makefile",end:/(?=\})/dgv,name:"meta.scope.function-call.makefile",patterns:[{include:"#variables"}]}]},"flavor-variable-parentheses":{patterns:[{begin:/(?<=\()(origin|flavor)\p{space}(?=[^\p{space}\)]+\p{space}*\))/dgv,beginCaptures:{"1":{name:"support.function.$1.makefile"}},contentName:"variable.other.makefile",end:/(?=\))/dgv,name:"meta.scope.function-call.makefile",patterns:[{include:"#variables"}]}]},"function-variable-braces":{patterns:[{begin:/(?<=\{)(subst|patsubst|strip|findstring|filter(-out)?|sort|word(list)?|firstword|lastword|dir|notdir|suffix|basename|addsuffix|addprefix|join|wildcard|realpath|abspath|info|error|warning|shell|foreach|if|or|and|call|eval|value|file|guile)\p{space}/dgv,beginCaptures:{"1":{name:"support.function.$1.makefile"}},end:/(?=\}|((?<!\\)\n))/dgv,name:"meta.scope.function-call.makefile",patterns:[{include:"#comma"},{include:"#variables"},{include:"#interpolation"},{match:/%|\*/dgv,name:"constant.other.placeholder.makefile"},{match:/\\\n/dgv,name:"constant.character.escape.continuation.makefile"}]}]},"function-variable-parentheses":{patterns:[{begin:/(?<=\()(subst|patsubst|strip|findstring|filter(-out)?|sort|word(list)?|firstword|lastword|dir|notdir|suffix|basename|addsuffix|addprefix|join|wildcard|realpath|abspath|info|error|warning|shell|foreach|if|or|and|call|eval|value|file|guile)\p{space}/dgv,beginCaptures:{"1":{name:"support.function.$1.makefile"}},end:/(?=\)|((?<!\\)\n))/dgv,name:"meta.scope.function-call.makefile",patterns:[{include:"#comma"},{include:"#variables"},{include:"#interpolation"},{match:/%|\*/dgv,name:"constant.other.placeholder.makefile"},{match:/\\\n/dgv,name:"constant.character.escape.continuation.makefile"}]}]},interpolation:{patterns:[{include:"#parentheses-interpolation"},{include:"#braces-interpolation"}]},"parentheses-interpolation":{begin:/\(/dgv,end:/\)/dgv,patterns:[{include:"#variables"},{include:"#interpolation"}]},recipe:{begin:/(?<=^|\n(?!$))\t([\+\-\@]*)/dgv,beginCaptures:{"1":{name:"keyword.control.$1.makefile"}},end:/[^\\](?=$|\n)/dgv,name:"meta.scope.recipe.makefile",patterns:[{match:/\\\n/dgv,name:"constant.character.escape.continuation.makefile"},{include:"#variables"}]},"simple-variable":{patterns:[{match:/\$[^\(\)\{\}]/dgv,name:"variable.language.makefile"}]},target:{begin:/(?<=^|\n(?!$))(?!\t)([^\:]*)(:)(?!=)/dgv,beginCaptures:{"1":{patterns:[{captures:{"1":{name:"support.function.target.$1.makefile"}},match:/(?<=^|\n(?!$))\p{space}*(\.(PHONY|SUFFIXES|DEFAULT|PRECIOUS|INTERMEDIATE|SECONDARY|SECONDEXPANSION|DELETE_ON_ERROR|IGNORE|LOW_RESOLUTION_TIME|SILENT|EXPORT_ALL_VARIABLES|NOTPARALLEL|ONESHELL|POSIX))\p{space}*(?=$|\n)/dgv},{begin:/(?=\P{space})/dgv,end:/(?=\p{space}|(?=$|\n))/dgv,name:"entity.name.function.target.makefile",patterns:[{include:"#variables"},{match:/%/dgv,name:"constant.other.placeholder.makefile"}]}]},"2":{name:"punctuation.separator.key-value.makefile"}},end:/[^\\](?=$|\n)/dgv,name:"meta.scope.target.makefile",patterns:[{begin:/(?:)/dgv,end:/(?=[^\\])(?=$|\n)/dgv,name:"meta.scope.prerequisites.makefile",patterns:[{match:/\\\n/dgv,name:"constant.character.escape.continuation.makefile"},{match:/%|\*/dgv,name:"constant.other.placeholder.makefile"},{include:"#comment"},{include:"#variables"}]}]},"variable-assignment":{begin:/((?<=^|\n(?!$))[ ]*|\p{space}*)([^\p{space}\:\#\=]+)\p{space}*((?<![\?\:\+\!])=|\?=|:=|\+=|!=)/dgv,beginCaptures:{"2":{name:"variable.other.makefile",patterns:[{include:"#variables"}]},"3":{name:"punctuation.separator.key-value.makefile"}},end:/\n/dgv,patterns:[{match:/\\\n/dgv,name:"constant.character.escape.continuation.makefile"},{include:"#comment"},{include:"#variables"}]},"variable-braces":{patterns:[{begin:/\$\{/dgv,captures:{"0":{name:"punctuation.definition.variable.makefile"}},end:/\}|((?<!\\)\n)/dgv,name:"string.interpolated.makefile",patterns:[{include:"#variables"},{include:"#builtin-variable-braces"},{include:"#function-variable-braces"},{include:"#flavor-variable-braces"},{include:"#another-variable-braces"}]}]},"variable-parentheses":{patterns:[{begin:/\$\(/dgv,captures:{"0":{name:"punctuation.definition.variable.makefile"}},end:/\)|((?<!\\)\n)/dgv,name:"string.interpolated.makefile",patterns:[{include:"#variables"},{include:"#builtin-variable-parentheses"},{include:"#function-variable-parentheses"},{include:"#flavor-variable-parentheses"},{include:"#another-variable-parentheses"}]}]},variables:{patterns:[{include:"#simple-variable"},{include:"#variable-parentheses"},{include:"#variable-braces"}]}},scopeName:"source.makefile",embeddedLangs:undefined,aliases:["makefile"]})
4
+
5
+ export default [
6
+ lang
7
+ ]
@@ -0,0 +1,3 @@
1
+ import type { LanguageRegistration } from '@shikijs/types'
2
+ const langs: LanguageRegistration []
3
+ export default langs
@@ -0,0 +1,2 @@
1
+ /* Alias makefile for make */
2
+ export { default } from './make.mjs'
@@ -0,0 +1,3 @@
1
+ import type { LanguageRegistration } from '@shikijs/types'
2
+ const langs: LanguageRegistration []
3
+ export default langs
@@ -0,0 +1,7 @@
1
+ import { EmulatedRegExp } from 'oniguruma-to-es'
2
+
3
+ const lang = Object.freeze({fileTypes:[],injectTo:["text.html.markdown"],injectionSelector:"L:text.html.markdown",name:"markdown-vue",patterns:[{include:"#vue-code-block"}],repository:{"vue-code-block":{begin:new EmulatedRegExp("((?<=^|\\n(?!$)))(\\p{space}*)(`{3,}|~{3,})\\p{space}*(vue)((\\p{space}+|:|,|\\{|\\?)[^\\`\\~]*)?(?=$|\\n)","dgiv",{"strategy":"line_or_search_start"}),beginCaptures:{"3":{name:"punctuation.definition.markdown"},"4":{name:"fenced_code.block.language.markdown"},"5":{name:"fenced_code.block.language.attributes.markdown",patterns:[]}},end:new EmulatedRegExp("((?<=^|\\n(?!$)))((?!)|\\p{space}{0,3})((?!))\\p{space}*(?=$|\\n)","dgv",{"strategy":"line_or_search_start"}),endCaptures:{"3":{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{include:"source.vue"}]}},scopeName:"markdown.vue.codeblock",displayName:undefined,embeddedLangs:undefined,aliases:undefined})
4
+
5
+ export default [
6
+ lang
7
+ ]
@@ -0,0 +1,3 @@
1
+ import type { LanguageRegistration } from '@shikijs/types'
2
+ const langs: LanguageRegistration []
3
+ export default langs