@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/templ.mjs ADDED
@@ -0,0 +1,13 @@
1
+ import { EmulatedRegExp } from 'oniguruma-to-es'
2
+ import go from './go.mjs'
3
+ import javascript from './javascript.mjs'
4
+ import css from './css.mjs'
5
+
6
+ const lang = Object.freeze({displayName:"Templ",name:"templ",patterns:[{include:"#script-template"},{include:"#css-template"},{include:"#html-template"},{include:"source.go"}],repository:{"block-element":{begin:/(<\/?)((?:address|blockquote|dd|div|section|article|aside|header|footer|nav|menu|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|pre)(?=\p{space}|\\|>))/dgiv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.html"},"2":{name:"entity.name.tag.block.any.html"}},end:/(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.block.any.html",patterns:[{include:"#tag-stuff"}]},"call-expression":{begin:/(\{!)\p{space}+/dgv,beginCaptures:{"0":{name:"start.call-expression.templ"},"1":{name:"punctuation.brace.open"}},end:/(\})/dgv,endCaptures:{"0":{name:"end.call-expression.templ"},"1":{name:"punctuation.brace.close"}},name:"call-expression.templ",patterns:[{include:"source.go"}]},"case-expression":{begin:/(?<=^|\n(?!$))\p{space}*case [^\n]+?:(?=$|\n)/dgv,captures:{"0":{name:"case.switch.html-template.templ",patterns:[{include:"source.go"}]}},end:/((?<=^|\n(?!$))\p{space}*case [^\n]+?:(?=$|\n))|((?<=^|\n(?!$))\p{space}*default:(?=$|\n))|(\p{space}*(?=$|\n))/dgv,patterns:[{include:"#template-node"}]},"close-element":{begin:/(<\/?)([a-zA-Z0-9\:\-]+)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.html"},"2":{name:"entity.name.tag.other.html"}},end:/(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.other.html",patterns:[{include:"#tag-stuff"}]},"css-template":{begin:/(?<=^|\n(?!$))(css) ([A-z_][A-z_0-9]*\()/dgv,beginCaptures:{"1":{name:"keyword.control.go"},"2":{patterns:[{include:"source.go"}]}},end:/(?<=(?<=^|\n(?!$))\}(?=$|\n))/dgv,name:"css-template.templ",patterns:[{begin:/(?<=\()/dgv,end:/(\))/dgv,endCaptures:{"1":{name:"punctuation.definition.end.bracket.round.go"}},name:"params.css-template.templ",patterns:[{include:"source.go"}]},{begin:/(?<=\)) (\{)(?=$|\n)/dgv,beginCaptures:{"1":{name:"punctuation.definition.begin.bracket.curly.go"}},end:/(?<=^|\n(?!$))(\})(?=$|\n)/dgv,endCaptures:{"1":{name:"punctuation.definition.end.bracket.curly.go"}},name:"block.css-template.templ",patterns:[{begin:/\p{space}*((?:-(?:webkit|moz|o|ms|khtml)-)?(?:zoom|z-index|y|x|writing-mode|wrap|wrap-through|wrap-inside|wrap-flow|wrap-before|wrap-after|word-wrap|word-spacing|word-break|word|will-change|width|widows|white-space-collapse|white-space|white|weight|volume|voice-volume|voice-stress|voice-rate|voice-pitch-range|voice-pitch|voice-family|voice-duration|voice-balance|voice|visibility|vertical-align|vector-effect|variant|user-zoom|user-select|up|unicode-(bidi|range)|trim|translate|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform-style|transform-origin|transform-box|transform|touch-action|top-width|top-style|top-right-radius|top-left-radius|top-color|top|timing-function|text-wrap|text-underline-position|text-transform|text-spacing|text-space-trim|text-space-collapse|text-size-adjust|text-shadow|text-replace|text-rendering|text-overflow|text-outline|text-orientation|text-justify|text-indent|text-height|text-emphasis-style|text-emphasis-skip|text-emphasis-position|text-emphasis-color|text-emphasis|text-decoration-style|text-decoration-stroke|text-decoration-skip|text-decoration-line|text-decoration-fill|text-decoration-color|text-decoration|text-combine-upright|text-anchor|text-align-last|text-align-all|text-align|text|target-position|target-new|target-name|target|table-layout|tab-size|system|symbols|suffix|style-type|style-position|style-image|style|stroke-width|stroke-opacity|stroke-miterlimit|stroke-linejoin|stroke-linecap|stroke-dashoffset|stroke-dasharray|stroke|string-set|stretch|stress|stop-opacity|stop-color|stacking-strategy|stacking-shift|stacking-ruby|stacking|src|speed|speech-rate|speech|speak-punctuation|speak-numeral|speak-header|speak-as|speak|span|spacing|space-collapse|space|solid-opacity|solid-color|sizing|size-adjust|size|shape-rendering|shape-padding|shape-outside|shape-margin|shape-inside|shape-image-threshold|shadow|scroll-snap-type|scroll-snap-points-y|scroll-snap-points-x|scroll-snap-destination|scroll-snap-coordinate|scroll-behavior|scale|ry|rx|respond-to|rule-width|rule-style|rule-color|rule|ruby-span|ruby-position|ruby-overhang|ruby-merge|ruby-align|ruby|rows|rotation-point|rotation|rotate|role|right-width|right-style|right-color|right|richness|rest-before|rest-after|rest|resource|resolution|resize|reset|replace|repeat|rendering-intent|region-fragment|rate|range|radius|r|quotes|punctuation-trim|punctuation|property|profile|presentation-level|presentation|prefix|position|pointer-events|point|play-state|play-during|play-count|pitch-range|pitch|phonemes|perspective-origin|perspective|pause-before|pause-after|pause|page-policy|page-break-inside|page-break-before|page-break-after|page|padding-top|padding-right|padding-left|padding-inline-start|padding-inline-end|padding-bottom|padding-block-start|padding-block-end|padding|pad|pack|overhang|overflow-y|overflow-x|overflow-wrap|overflow-style|overflow-inline|overflow-block|overflow|outline-width|outline-style|outline-offset|outline-color|outline|orphans|origin|orientation|orient|ordinal-group|order|opacity|offset-start|offset-inline-start|offset-inline-end|offset-end|offset-block-start|offset-block-end|offset-before|offset-after|offset|object-position|object-fit|numeral|new|negative|nav-up|nav-right|nav-left|nav-index|nav-down|nav|name|move-to|motion-rotation|motion-path|motion-offset|motion|model|mix-blend-mode|min-zoom|min-width|min-inline-size|min-height|min-block-size|min|max-zoom|max-width|max-lines|max-inline-size|max-height|max-block-size|max|mask-type|mask-size|mask-repeat|mask-position|mask-origin|mask-mode|mask-image|mask-composite|mask-clip|mask-border-width|mask-border-source|mask-border-slice|mask-border-repeat|mask-border-outset|mask-border-mode|mask-border|mask|marquee-style|marquee-speed|marquee-play-count|marquee-loop|marquee-direction|marquee|marks|marker-start|marker-side|marker-mid|marker-end|marker|margin-top|margin-right|margin-left|margin-inline-start|margin-inline-end|margin-bottom|margin-block-start|margin-block-end|margin|list-style-type|list-style-position|list-style-image|list-style|list|lines|line-stacking-strategy|line-stacking-shift|line-stacking-ruby|line-stacking|line-snap|line-height|line-grid|line-break|line|lighting-color|level|letter-spacing|length|left-width|left-style|left-color|left|label|kerning|justify-self|justify-items|justify-content|justify|iteration-count|isolation|inline-size|inline-box-align|initial-value|initial-size|initial-letter-wrap|initial-letter-align|initial-letter|initial-before-align|initial-before-adjust|initial-after-align|initial-after-adjust|index|indent|increment|image-rendering|image-resolution|image-orientation|image|icon|hyphens|hyphenate-limit-zone|hyphenate-limit-lines|hyphenate-limit-last|hyphenate-limit-chars|hyphenate-character|hyphenate|height|header|hanging-punctuation|grid-template-rows|grid-template-columns|grid-template-areas|grid-template|grid-row-start|grid-row-gap|grid-row-end|grid-row|grid-rows|grid-gap|grid-column-start|grid-column-gap|grid-column-end|grid-column|grid-columns|grid-auto-rows|grid-auto-flow|grid-auto-columns|grid-area|grid|glyph-orientation-vertical|glyph-orientation-horizontal|gap|font-weight|font-variant-position|font-variant-numeric|font-variant-ligatures|font-variant-east-asian|font-variant-caps|font-variant-alternates|font-variant|font-synthesis|font-style|font-stretch|font-size-adjust|font-size|font-language-override|font-kerning|font-feature-settings|font-family|font|flow-into|flow-from|flow|flood-opacity|flood-color|float-offset|float|flex-wrap|flex-shrink|flex-grow|flex-group|flex-flow|flex-direction|flex-basis|flex|fit-position|fit|filter|fill-rule|fill-opacity|fill|family|fallback|enable-background|empty-cells|emphasis|elevation|duration|drop-initial-value|drop-initial-size|drop-initial-before-align|drop-initial-before-adjust|drop-initial-after-align|drop-initial-after-adjust|drop|down|dominant-baseline|display-role|display-model|display|direction|delay|decoration-break|decoration|cy|cx|cursor|cue-before|cue-after|cue|crop|counter-set|counter-reset|counter-increment|counter|count|corner-shape|corners|continue|content|contain|columns|column-width|column-span|column-rule-width|column-rule-style|column-rule-color|column-rule|column-gap|column-fill|column-count|column-break-before|column-break-after|column|color-rendering|color-profile|color-interpolation-filters|color-interpolation|color-adjust|color|collapse|clip-rule|clip-path|clip|clear|character|caret-shape|caret-color|caret|caption-side|buffered-rendering|break-inside|break-before|break-after|break|box-suppress|box-snap|box-sizing|box-shadow|box-pack|box-orient|box-ordinal-group|box-lines|box-flex-group|box-flex|box-direction|box-decoration-break|box-align|box|bottom-width|bottom-style|bottom-right-radius|bottom-left-radius|bottom-color|bottom|border-width|border-top-width|border-top-style|border-top-right-radius|border-top-left-radius|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-radius|border-limit|border-length|border-left-width|border-left-style|border-left-color|border-left|border-inline-start-width|border-inline-start-style|border-inline-start-color|border-inline-start|border-inline-end-width|border-inline-end-style|border-inline-end-color|border-inline-end|border-image-width|border-image-transform|border-image-source|border-image-slice|border-image-repeat|border-image-outset|border-image|border-color|border-collapse|border-clip-top|border-clip-right|border-clip-left|border-clip-bottom|border-clip|border-bottom-width|border-bottom-style|border-bottom-right-radius|border-bottom-left-radius|border-bottom-color|border-bottom|border-block-start-width|border-block-start-style|border-block-start-color|border-block-start|border-block-end-width|border-block-end-style|border-block-end-color|border-block-end|border|bookmark-target|bookmark-level|bookmark-label|bookmark|block-size|binding|bidi|before|baseline-shift|baseline|balance|background-size|background-repeat|background-position-y|background-position-x|background-position-inline|background-position-block|background-position|background-origin|background-image|background-color|background-clip|background-blend-mode|background-attachment|background|backface-visibility|backdrop-filter|azimuth|attachment|appearance|animation-timing-function|animation-play-state|animation-name|animation-iteration-count|animation-fill-mode|animation-duration|animation-direction|animation-delay|animation|alt|all|alignment-baseline|alignment-adjust|alignment|align-last|align-self|align-items|align-content|align|after|adjust|additive-symbols)):\p{space}+/dgv,beginCaptures:{"1":{name:"support.type.property-name.css"}},end:/(?<=;(?=$|\n))/dgv,name:"property.css-template.templ",patterns:[{begin:/(\{)/dgv,beginCaptures:{"1":{name:"punctuation.definition.begin.bracket.curly.go"}},end:/(\})(;)(?=$|\n)/dgv,endCaptures:{"1":{name:"punctuation.definition.end.bracket.curly.go"},"2":{name:"punctuation.terminator.rule.css"}},name:"expression.property.css-template.templ",patterns:[{include:"source.go"}]},{captures:{"1":{name:"support.type.property-value.css"},"2":{name:"punctuation.terminator.rule.css"}},match:/([^\n]*)(;)(?=$|\n)/dgv,name:"constant.property.css-template.templ"}]}]}]},"default-expression":{begin:/(?<=^|\n(?!$))\p{space}*default:(?=$|\n)/dgv,captures:{"0":{name:"default.switch.html-template.templ",patterns:[{include:"source.go"}]}},end:/((?<=^|\n(?!$))\p{space}*case [^\n]+?:(?=$|\n))|((?<=^|\n(?!$))\p{space}*default:(?=$|\n))|(\p{space}*(?=$|\n))/dgv,patterns:[{include:"#template-node"}]},element:{begin:new EmulatedRegExp("(<)((?:(?=($E$[a-zA-Z0-9\\:\\-]+))\\3))(?=[^\\>]*></\\2>)","dgv",{"useEmulationGroups":true}),beginCaptures:{"1":{name:"punctuation.definition.tag.html"},"2":{name:"entity.name.tag.html"}},end:/(>(<)\/)(\2)(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.html"},"2":{name:"meta.scope.between-tag-pair.html"},"3":{name:"entity.name.tag.html"},"4":{name:"punctuation.definition.tag.html"}},name:"meta.tag.any.html",patterns:[{include:"#tag-stuff"}]},"else-expression":{begin:/\p{space}+(else)\p{space}+(\{)\p{space}*(?=$|\n)/dgv,beginCaptures:{"1":{name:"keyword.control.go"},"2":{name:"punctuation.definition.begin.bracket.curly.go"}},end:/(?<=^|\n(?!$))\p{space}*(\})(?=$|\n)/dgv,endCaptures:{"1":{name:"punctuation.definition.end.bracket.curly.go"}},name:"else.html-template.templ",patterns:[{include:"#template-node"}]},"else-if-expression":{begin:/\p{space}(else if)\p{space}/dgv,beginCaptures:{"1":{name:"keyword.control.go"}},end:/(?<=\})/dgv,name:"else-if.html-template.templ",patterns:[{begin:/(?<=if\p{space})/dgv,end:/(\{)(?=$|\n)/dgv,endCaptures:{"1":{name:"punctuation.definition.begin.bracket.curly.go"}},name:"expression.else-if.html-template.templ",patterns:[{include:"source.go"}]},{begin:/(?<=\{)(?=$|\n)/dgv,end:/(?<=^|\n(?!$))\p{space}*(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.end.bracket.curly.go"}},name:"block.else-if.html-template.templ",patterns:[{include:"#template-node"}]}]},entities:{patterns:[{captures:{"1":{name:"punctuation.definition.entity.html"},"3":{name:"punctuation.definition.entity.html"}},match:/(&)([a-zA-Z0-9]+|#\p{Nd}+|#[xX][0-9a-fA-F]+)(;)/dgv,name:"constant.character.entity.html"},{match:/&/dgv,name:"invalid.illegal.bad-ampersand.html"}]},"for-expression":{begin:/(?<=^|\n(?!$))\p{space}*for [^\n]+\{/dgv,captures:{"0":{name:"meta.embedded.block.go",patterns:[{include:"source.go"}]}},end:/\p{space}*\}\p{space}*\n/dgv,name:"for.html-template.templ",patterns:[{include:"#template-node"}]},"go-comment-block":{begin:/(\/\*)/dgv,beginCaptures:{"1":{name:"punctuation.definition.comment.go"}},end:/(\*\/)/dgv,endCaptures:{"1":{name:"punctuation.definition.comment.go"}},name:"comment.block.go"},"go-comment-double-slash":{begin:/(\/\/)/dgv,beginCaptures:{"1":{name:"punctuation.definition.comment.go"}},end:/(?:\n|(?=$|\n))/dgv,name:"comment.line.double-slash.go"},"html-comment":{begin:/<!--/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.html"}},end:/-->/dgv,endCaptures:{"0":{name:"punctuation.definition.comment.html"}},name:"comment.block.html"},"html-template":{begin:/(?<=^|\n(?!$))(templ) ((?:\([A-z_][A-z_0-9]* \*?[A-z_][A-z_0-9]*\) )?[A-z_][A-z_0-9]*(\(|\[))/dgv,beginCaptures:{"1":{name:"keyword.control.go"},"2":{patterns:[{include:"source.go"}]}},end:/(?<=(?<=^|\n(?!$))\}(?=$|\n))/dgv,name:"html-template.templ",patterns:[{begin:/(?<=\()/dgv,end:/(\))/dgv,endCaptures:{"1":{name:"punctuation.definition.end.bracket.round.go"}},name:"params.html-template.templ",patterns:[{include:"source.go"}]},{begin:/(?<=\[)/dgv,end:/(\])/dgv,endCaptures:{"1":{name:"punctuation.definition.end.bracket.square.go"}},name:"type-params.html-template.templ",patterns:[{include:"source.go"}]},{begin:/(?<=\)) (\{)(?=$|\n)/dgv,beginCaptures:{"1":{name:"punctuation.definition.begin.bracket.curly.go"}},end:/(?<=^|\n(?!$))(\})(?=$|\n)/dgv,endCaptures:{"1":{name:"punctuation.definition.end.bracket.curly.go"}},name:"block.html-template.templ",patterns:[{include:"#template-node"}]}]},"if-expression":{begin:/(?<=^|\n(?!$))\p{space}*(if)\p{space}/dgv,beginCaptures:{"1":{name:"keyword.control.go"}},end:/(?<=\})/dgv,name:"if.html-template.templ",patterns:[{begin:/(?<=if\p{space})/dgv,end:/(\{)(?=$|\n)/dgv,endCaptures:{"1":{name:"punctuation.definition.begin.bracket.curly.go"}},name:"expression.if.html-template.templ",patterns:[{include:"source.go"}]},{begin:/(?<=\{)(?=$|\n)/dgv,end:/(?<=^|\n(?!$))\p{space}*(\})/dgv,endCaptures:{"1":{name:"punctuation.definition.end.bracket.curly.go"}},name:"block.if.html-template.templ",patterns:[{include:"#template-node"}]}]},"import-expression":{patterns:[{begin:/(@)((?:[A-z_][A-z_0-9]*\.)?[A-z_][A-z_0-9]*(?:\(|\{|(?=$|\n)))/dgv,beginCaptures:{"1":{name:"keyword.control.go"},"2":{patterns:[{include:"source.go"}]}},end:/(?<=\))(?=$|\n)|(?<=\})(?=$|\n)|(?<=(?=$|\n))/dgv,name:"import-expression.templ",patterns:[{begin:/(?<=[A-z_0-9]\{)/dgv,end:/\p{space}*(\})(\.[A-z_][A-z_0-9]*\()/dgv,endCaptures:{"1":{name:"punctuation.definition.end.bracket.curly.go"},"2":{patterns:[{include:"source.go"}]}},name:"struct-method.import-expression.templ",patterns:[{include:"source.go"}]},{begin:/(?<=\()/dgv,end:/(\))/dgv,endCaptures:{"1":{name:"punctuation.definition.end.bracket.round.go"}},name:"params.import-expression.templ",patterns:[{include:"source.go"}]},{begin:/(?<=\))\p{space}(\{)(?=$|\n)/dgv,beginCaptures:{"1":{name:"punctuation.brace.open"}},end:/(?<=^|\n(?!$))\p{space}*(\})(?=$|\n)/dgv,endCaptures:{"1":{name:"punctuation.brace.close"}},name:"children.import-expression.templ",patterns:[{include:"#template-node"}]}]}]},"inline-element":{begin:/(<\/?)((?:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|q|s|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var)(?=\p{space}|\\|>))/dgiv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.html"},"2":{name:"entity.name.tag.inline.any.html"}},end:/((?: ?\/)?>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.inline.any.html",patterns:[{include:"#tag-stuff"}]},"script-element":{begin:/(<)(script)([^\>]*)(>)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.html"},"2":{name:"entity.name.tag.html"},"3":{patterns:[{include:"#tag-stuff"}]},"4":{name:"punctuation.definition.tag.html"}},end:/<\/script>/dgv,endCaptures:{"0":{patterns:[{include:"#close-element"}]}},name:"meta.tag.script.html",patterns:[{include:"source.js"}]},"script-template":{begin:/(?<=^|\n(?!$))(script) ([A-z_][A-z_0-9]*\()/dgv,beginCaptures:{"1":{name:"keyword.control.go"},"2":{patterns:[{include:"source.go"}]}},end:/(?<=(?<=^|\n(?!$))\}(?=$|\n))/dgv,name:"script-template.templ",patterns:[{begin:/(?<=\()/dgv,end:/(\))/dgv,endCaptures:{"1":{name:"punctuation.definition.end.bracket.round.go"}},name:"params.script-template.templ",patterns:[{include:"source.go"}]},{begin:/(?<=\)) (\{)(?=$|\n)/dgv,beginCaptures:{"1":{name:"punctuation.definition.begin.bracket.curly.go"}},end:/(?<=^|\n(?!$))(\})(?=$|\n)/dgv,endCaptures:{"1":{name:"punctuation.definition.end.bracket.curly.go"}},name:"block.script-template.templ",patterns:[{include:"source.js"}]}]},sgml:{begin:/<!/dgv,captures:{"0":{name:"punctuation.definition.tag.html"}},end:/>/dgv,name:"meta.tag.sgml.html",patterns:[{begin:/DOCTYPE/dgiv,captures:{"1":{name:"entity.name.tag.doctype.html"}},end:/(?=>)/dgv,name:"meta.tag.sgml.doctype.html",patterns:[{match:/"[^"\>]*"/dgv,name:"string.quoted.double.doctype.identifiers-and-DTDs.html"}]},{begin:/\[CDATA\[/dgv,end:/\]\](?=>)/dgv,name:"constant.other.inline-data.html"},{match:/(\p{space}*)(?!--|>)\P{space}(\p{space}*)/dgv,name:"invalid.illegal.bad-comments-or-CDATA.html"}]},"string-double-quoted":{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.html"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.html"}},name:"string.quoted.double.html",patterns:[{include:"#entities"}]},"string-expression":{begin:/\{\p{space}+/dgv,beginCaptures:{"0":{name:"start.string-expression.templ"}},end:/\}/dgv,endCaptures:{"0":{name:"end.string-expression.templ"}},name:"expression.html-template.templ",patterns:[{include:"source.go"}]},"style-element":{begin:/(<)(style)([^\>]*)(>)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.html"},"2":{name:"entity.name.tag.html"},"3":{patterns:[{include:"#tag-stuff"}]},"4":{name:"punctuation.definition.tag.html"}},end:/<\/style>/dgv,endCaptures:{"0":{patterns:[{include:"#close-element"}]}},name:"meta.tag.style.html",patterns:[{include:"source.css"}]},"switch-expression":{begin:/(?<=^|\n(?!$))\p{space}*switch [^\n]+?\{(?=$|\n)/dgv,captures:{"0":{name:"meta.embedded.block.go",patterns:[{include:"source.go"}]}},end:/(?<=^|\n(?!$))\p{space}*\}(?=$|\n)/dgv,name:"switch.html-template.templ",patterns:[{include:"#template-node"},{include:"#case-expression"},{include:"#default-expression"}]},"tag-else-attribute":{begin:/\p{space}(else)\p{space}(\{)(?=$|\n)/dgv,beginCaptures:{"1":{name:"keyword.control.go"},"2":{name:"punctuation.brace.open"}},end:/(?<=^|\n(?!$))\p{space}*(\})(?=$|\n)/dgv,endCaptures:{"1":{name:"punctuation.brace.close"}},name:"else.attribute.html",patterns:[{include:"#tag-stuff"}]},"tag-else-if-attribute":{begin:/\p{space}(else if)\p{space}/dgv,beginCaptures:{"1":{name:"keyword.control.go"}},end:/(?<=\})/dgv,name:"else-if.attribute.html",patterns:[{begin:/(?<=if\p{space})/dgv,end:/(\{)(?=$|\n)/dgv,endCaptures:{"1":{name:"punctuation.brace.open"}},name:"expression.else-if.attribute.html",patterns:[{include:"source.go"}]},{begin:/(?<=\{)(?=$|\n)/dgv,end:/(?<=^|\n(?!$))\p{space}*(\})/dgv,endCaptures:{"1":{name:"punctuation.brace.close"}},name:"block.else-if.attribute.html",patterns:[{include:"#tag-stuff"}]}]},"tag-generic-attribute":{match:/(?<=[^\=])\b([a-zA-Z0-9\:\-]+)/dgv,name:"entity.other.attribute-name.html"},"tag-id-attribute":{begin:/\b(id)\b\p{space}*(=)/dgv,captures:{"1":{name:"entity.other.attribute-name.id.html"},"2":{name:"punctuation.separator.key-value.html"}},end:new EmulatedRegExp("(?<='|\"|[^\\p{space}\\<\\>\\/])","dgv",{"strategy":"not_search_start"}),name:"meta.attribute-with-value.id.html",patterns:[{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.html"}},contentName:"meta.toc-list.id.html",end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.html"}},name:"string.quoted.double.html",patterns:[{include:"#entities"}]},{begin:/'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.html"}},contentName:"meta.toc-list.id.html",end:/'/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.html"}},name:"string.quoted.single.html",patterns:[{include:"#entities"}]},{captures:{"0":{name:"meta.toc-list.id.html"}},match:/(?<==)(?:[^\p{space}\{\}\<\>\/'"]|\/(?!>))+/dgv,name:"string.unquoted.html"}]},"tag-if-attribute":{begin:/(?<=^|\n(?!$))\p{space}*(if)\p{space}/dgv,beginCaptures:{"1":{name:"keyword.control.go"}},end:/(?<=\})/dgv,name:"if.attribute.html",patterns:[{begin:/(?<=if\p{space})/dgv,end:/(\{)(?=$|\n)/dgv,endCaptures:{"1":{name:"punctuation.brace.open"}},name:"expression.if.attribute.html",patterns:[{include:"source.go"}]},{begin:/(?<=\{)(?=$|\n)/dgv,end:/(?<=^|\n(?!$))\p{space}*(\})/dgv,endCaptures:{"1":{name:"punctuation.brace.close"}},name:"block.if.attribute.html",patterns:[{include:"#tag-stuff"}]}]},"tag-stuff":{patterns:[{include:"#tag-id-attribute"},{include:"#tag-generic-attribute"},{include:"#string-double-quoted"},{include:"#string-expression"},{include:"#tag-if-attribute"},{include:"#tag-else-if-attribute"},{include:"#tag-else-attribute"}]},"template-node":{patterns:[{include:"#string-expression"},{include:"#call-expression"},{include:"#import-expression"},{include:"#script-element"},{include:"#style-element"},{include:"#element"},{include:"#html-comment"},{include:"#go-comment-block"},{include:"#go-comment-double-slash"},{include:"#sgml"},{include:"#block-element"},{include:"#inline-element"},{include:"#close-element"},{include:"#else-if-expression"},{include:"#if-expression"},{include:"#else-expression"},{include:"#for-expression"},{include:"#switch-expression"}]}},scopeName:"source.templ",embeddedLangs:["go","javascript","css"],aliases:undefined})
7
+
8
+ export default [
9
+ ...go,
10
+ ...javascript,
11
+ ...css,
12
+ lang
13
+ ]
@@ -0,0 +1,3 @@
1
+ import type { LanguageRegistration } from '@shikijs/types'
2
+ const langs: LanguageRegistration []
3
+ export default langs
@@ -0,0 +1,5 @@
1
+ const lang = Object.freeze({displayName:"Terraform",fileTypes:["tf","tfvars"],name:"terraform",patterns:[{include:"#comments"},{include:"#attribute_definition"},{include:"#block"},{include:"#expressions"}],repository:{attribute_access:{begin:/\.(?!\*)/dgv,beginCaptures:{"0":{name:"keyword.operator.accessor.hcl"}},comment:"Matches traversal attribute access such as .attr",end:/[A-Za-z][\p{L}\p{M}\p{N}\p{Pc}\-]*|\p{Nd}*/dgv,endCaptures:{"0":{patterns:[{comment:"Attribute name",match:/(?!null|false|true)[A-Za-z][\p{L}\p{M}\p{N}\p{Pc}\-]*/dgv,name:"variable.other.member.hcl"},{comment:"Optional attribute index",match:/\p{Nd}+/dgv,name:"constant.numeric.integer.hcl"}]}}},attribute_definition:{captures:{"1":{name:"punctuation.section.parens.begin.hcl"},"2":{name:"variable.other.readwrite.hcl"},"3":{name:"punctuation.section.parens.end.hcl"},"4":{name:"keyword.operator.assignment.hcl"}},comment:"Identifier \"=\" with optional parens",match:/(\()?(\b(?!null\b|false\b|true\b)[A-Za-z][0-9A-Za-z_\-]*)(\))?\p{space}*(=(?!=|>))\p{space}*/dgv,name:"variable.declaration.hcl"},attribute_splat:{begin:/\./dgv,beginCaptures:{"0":{name:"keyword.operator.accessor.hcl"}},comment:"Legacy attribute-only splat",end:/\*/dgv,endCaptures:{"0":{name:"keyword.operator.splat.hcl"}}},block:{begin:/([\p{L}\p{M}\p{N}\p{Pc}][\-\p{L}\p{M}\p{N}\p{Pc}]*)([\p{space}"\-\p{L}\p{M}\p{N}\p{Pc}]*)(\{)/dgv,beginCaptures:{"1":{patterns:[{comment:"Known block type",match:/\bdata|check|import|locals|module|output|provider|resource|terraform|variable\b/dgv,name:"entity.name.type.terraform"},{comment:"Unknown block type",match:/\b(?!null|false|true)[A-Za-z][0-9A-Za-z_\-]*\b/dgv,name:"entity.name.type.hcl"}]},"2":{patterns:[{comment:"Block label",match:/["\-\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"variable.other.enummember.hcl"}]},"3":{name:"punctuation.section.block.begin.hcl"},"5":{name:"punctuation.section.block.begin.hcl"}},comment:"This will match Terraform blocks like `resource \"aws_instance\" \"web\" {` or `module {`",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.block.end.hcl"}},name:"meta.block.hcl",patterns:[{include:"#comments"},{include:"#attribute_definition"},{include:"#block"},{include:"#expressions"}]},block_inline_comments:{begin:/\/\*/dgv,captures:{"0":{name:"punctuation.definition.comment.hcl"}},comment:"Inline comments start with the /* sequence and end with the */ sequence, and may have any characters within except the ending sequence. An inline comment is considered equivalent to a whitespace sequence",end:/\*\//dgv,name:"comment.block.hcl"},brackets:{begin:/\[/dgv,beginCaptures:{"0":{name:"punctuation.section.brackets.begin.hcl"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.section.brackets.end.hcl"}},patterns:[{comment:"Splat operator",match:/\*/dgv,name:"keyword.operator.splat.hcl"},{include:"#comma"},{include:"#comments"},{include:"#inline_for_expression"},{include:"#inline_if_expression"},{include:"#expressions"},{include:"#local_identifiers"}]},char_escapes:{comment:"Character Escapes",match:/\\[nrt"\\]|\\u(\p{AHex}{8}|\p{AHex}{4})/dgv,name:"constant.character.escape.hcl"},comma:{comment:"Commas - used in certain expressions",match:/,/dgv,name:"punctuation.separator.hcl"},comments:{patterns:[{include:"#hash_line_comments"},{include:"#double_slash_line_comments"},{include:"#block_inline_comments"}]},double_slash_line_comments:{begin:/\/\//dgv,captures:{"0":{name:"punctuation.definition.comment.hcl"}},comment:"Line comments start with // sequence and end with the next newline sequence. A line comment is considered equivalent to a newline sequence",end:/(?=$|\n)\n?/dgv,name:"comment.line.double-slash.hcl"},expressions:{patterns:[{include:"#literal_values"},{include:"#operators"},{include:"#tuple_for_expression"},{include:"#object_for_expression"},{include:"#brackets"},{include:"#objects"},{include:"#attribute_access"},{include:"#attribute_splat"},{include:"#functions"},{include:"#parens"}]},for_expression_body:{patterns:[{comment:"in keyword",match:/\bin\b/dgv,name:"keyword.operator.word.hcl"},{comment:"if keyword",match:/\bif\b/dgv,name:"keyword.control.conditional.hcl"},{match:/:/dgv,name:"keyword.operator.hcl"},{include:"#expressions"},{include:"#comments"},{include:"#comma"},{include:"#local_identifiers"}]},functions:{begin:/([\:\-\p{L}\p{M}\p{N}\p{Pc}]+)(\()/dgv,beginCaptures:{"1":{patterns:[{match:/\b(core::)?(abs|abspath|alltrue|anytrue|base64decode|base64encode|base64gzip|base64sha256|base64sha512|basename|bcrypt|can|ceil|chomp|chunklist|cidrhost|cidrnetmask|cidrsubnet|cidrsubnets|coalesce|coalescelist|compact|concat|contains|csvdecode|dirname|distinct|element|endswith|file|filebase64|filebase64sha256|filebase64sha512|fileexists|filemd5|fileset|filesha1|filesha256|filesha512|flatten|floor|format|formatdate|formatlist|indent|index|join|jsondecode|jsonencode|keys|length|log|lookup|lower|matchkeys|max|md5|merge|min|nonsensitive|one|parseint|pathexpand|plantimestamp|pow|range|regex|regexall|replace|reverse|rsadecrypt|sensitive|setintersection|setproduct|setsubtract|setunion|sha1|sha256|sha512|signum|slice|sort|split|startswith|strcontains|strrev|substr|sum|templatefile|textdecodebase64|textencodebase64|timeadd|timecmp|timestamp|title|tobool|tolist|tomap|tonumber|toset|tostring|transpose|trim|trimprefix|trimspace|trimsuffix|try|upper|urlencode|uuid|uuidv5|values|yamldecode|yamlencode|zipmap)\b/dgv,name:"support.function.builtin.terraform"},{match:/\bprovider::[A-Za-z][\p{L}\p{M}\p{N}\p{Pc}_\-]*::[A-Za-z][\p{L}\p{M}\p{N}\p{Pc}_\-]*\b/dgv,name:"support.function.provider.terraform"}]},"2":{name:"punctuation.section.parens.begin.hcl"}},comment:"Built-in function calls",end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.parens.end.hcl"}},name:"meta.function-call.hcl",patterns:[{include:"#comments"},{include:"#expressions"},{include:"#comma"}]},hash_line_comments:{begin:/#/dgv,captures:{"0":{name:"punctuation.definition.comment.hcl"}},comment:"Line comments start with # sequence and end with the next newline sequence. A line comment is considered equivalent to a newline sequence",end:/(?=$|\n)\n?/dgv,name:"comment.line.number-sign.hcl"},hcl_type_keywords:{comment:"Type keywords known to HCL.",match:/\b(any|string|number|bool|list|set|map|tuple|object)\b/dgv,name:"storage.type.hcl"},heredoc:{begin:/(<<-?)\p{space}*([\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(?=$|\n)/dgv,beginCaptures:{"1":{name:"keyword.operator.heredoc.hcl"},"2":{name:"keyword.control.heredoc.hcl"}},comment:"String Heredoc",end:/(?<=^|\n(?!$))\p{space}*\2\p{space}*(?=$|\n)()()/dgv,endCaptures:{"0":{name:"keyword.control.heredoc.hcl"}},name:"string.unquoted.heredoc.hcl",patterns:[{include:"#string_interpolation"}]},inline_for_expression:{captures:{"1":{name:"keyword.control.hcl"},"2":{patterns:[{match:/=>/dgv,name:"storage.type.function.hcl"},{include:"#for_expression_body"}]}},match:/(for)\b([^\n]*)\n/dgv},inline_if_expression:{begin:/(if)\b/dgv,beginCaptures:{"1":{name:"keyword.control.conditional.hcl"}},end:/\n/dgv,patterns:[{include:"#expressions"},{include:"#comments"},{include:"#comma"},{include:"#local_identifiers"}]},language_constants:{comment:"Language Constants",match:/\b(true|false|null)\b/dgv,name:"constant.language.hcl"},literal_values:{patterns:[{include:"#numeric_literals"},{include:"#language_constants"},{include:"#string_literals"},{include:"#heredoc"},{include:"#hcl_type_keywords"},{include:"#named_value_references"}]},local_identifiers:{comment:"Local Identifiers",match:/\b(?!null|false|true)[A-Za-z][0-9A-Za-z_\-]*\b/dgv,name:"variable.other.readwrite.hcl"},named_value_references:{comment:"Constant values available only to Terraform.",match:/\b(var|local|module|data|path|terraform)\b/dgv,name:"variable.other.readwrite.terraform"},numeric_literals:{patterns:[{captures:{"1":{name:"punctuation.separator.exponent.hcl"}},comment:"Integer, no fraction, optional exponent",match:/\b\p{Nd}+([Ee][\+\-]?)\p{Nd}+\b/dgv,name:"constant.numeric.float.hcl"},{captures:{"1":{name:"punctuation.separator.decimal.hcl"},"2":{name:"punctuation.separator.exponent.hcl"}},comment:"Integer, fraction, optional exponent",match:/\b\p{Nd}+(\.)\p{Nd}+(?:([Ee][\+\-]?)\p{Nd}+)?\b/dgv,name:"constant.numeric.float.hcl"},{comment:"Integers",match:/\b\p{Nd}+\b/dgv,name:"constant.numeric.integer.hcl"}]},object_for_expression:{begin:/(\{)\p{space}?(for)\b/dgv,beginCaptures:{"1":{name:"punctuation.section.braces.begin.hcl"},"2":{name:"keyword.control.hcl"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.braces.end.hcl"}},patterns:[{match:/=>/dgv,name:"storage.type.function.hcl"},{include:"#for_expression_body"}]},object_key_values:{patterns:[{include:"#comments"},{include:"#literal_values"},{include:"#operators"},{include:"#tuple_for_expression"},{include:"#object_for_expression"},{include:"#heredoc"},{include:"#functions"}]},objects:{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.section.braces.begin.hcl"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.braces.end.hcl"}},name:"meta.braces.hcl",patterns:[{include:"#comments"},{include:"#objects"},{include:"#inline_for_expression"},{include:"#inline_if_expression"},{captures:{"1":{name:"meta.mapping.key.hcl variable.other.readwrite.hcl"},"2":{name:"keyword.operator.assignment.hcl",patterns:[{match:/=>/dgv,name:"storage.type.function.hcl"}]}},comment:"Literal, named object key",match:/\b((?!null|false|true)[A-Za-z][0-9A-Za-z_\-]*)\p{space}*(=>?)\p{space}*/dgv},{captures:{"0":{patterns:[{include:"#named_value_references"}]},"1":{name:"meta.mapping.key.hcl string.quoted.double.hcl"},"2":{name:"punctuation.definition.string.begin.hcl"},"3":{name:"punctuation.definition.string.end.hcl"},"4":{name:"keyword.operator.hcl"}},comment:"String object key",match:/\b((")[^\n]*("))\p{space}*(=)\p{space}*/dgv},{begin:/(?<=^|\n(?!$))\p{space}*\(/dgv,beginCaptures:{"0":{name:"punctuation.section.parens.begin.hcl"}},comment:"Computed object key (any expression between parens)",end:/(\))\p{space}*(=|:)\p{space}*/dgv,endCaptures:{"1":{name:"punctuation.section.parens.end.hcl"},"2":{name:"keyword.operator.hcl"}},name:"meta.mapping.key.hcl",patterns:[{include:"#named_value_references"},{include:"#attribute_access"}]},{include:"#object_key_values"}]},operators:{patterns:[{match:/>=/dgv,name:"keyword.operator.hcl"},{match:/<=/dgv,name:"keyword.operator.hcl"},{match:/==/dgv,name:"keyword.operator.hcl"},{match:/!=/dgv,name:"keyword.operator.hcl"},{match:/\+/dgv,name:"keyword.operator.arithmetic.hcl"},{match:/-/dgv,name:"keyword.operator.arithmetic.hcl"},{match:/\*/dgv,name:"keyword.operator.arithmetic.hcl"},{match:/\//dgv,name:"keyword.operator.arithmetic.hcl"},{match:/%/dgv,name:"keyword.operator.arithmetic.hcl"},{match:/&&/dgv,name:"keyword.operator.logical.hcl"},{match:/\|\|/dgv,name:"keyword.operator.logical.hcl"},{match:/!/dgv,name:"keyword.operator.logical.hcl"},{match:/>/dgv,name:"keyword.operator.hcl"},{match:/</dgv,name:"keyword.operator.hcl"},{match:/\?/dgv,name:"keyword.operator.hcl"},{match:/\.\.\./dgv,name:"keyword.operator.hcl"},{match:/:/dgv,name:"keyword.operator.hcl"},{match:/=>/dgv,name:"keyword.operator.hcl"}]},parens:{begin:/\(/dgv,beginCaptures:{"0":{name:"punctuation.section.parens.begin.hcl"}},comment:"Parens - matched *after* function syntax",end:/\)/dgv,endCaptures:{"0":{name:"punctuation.section.parens.end.hcl"}},patterns:[{include:"#comments"},{include:"#expressions"}]},string_interpolation:{begin:/(?<![\%\$])([\%\$]\{)/dgv,beginCaptures:{"1":{name:"keyword.other.interpolation.begin.hcl"}},comment:"String interpolation",end:/\}/dgv,endCaptures:{"0":{name:"keyword.other.interpolation.end.hcl"}},name:"meta.interpolation.hcl",patterns:[{comment:"Trim left whitespace",match:/~\p{space}/dgv,name:"keyword.operator.template.left.trim.hcl"},{comment:"Trim right whitespace",match:/\p{space}~/dgv,name:"keyword.operator.template.right.trim.hcl"},{comment:"if/else/endif and for/in/endfor directives",match:/\b(if|else|endif|for|in|endfor)\b/dgv,name:"keyword.control.hcl"},{include:"#expressions"},{include:"#local_identifiers"}]},string_literals:{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.hcl"}},comment:"Strings",end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.hcl"}},name:"string.quoted.double.hcl",patterns:[{include:"#string_interpolation"},{include:"#char_escapes"}]},tuple_for_expression:{begin:/(\[)\p{space}?(for)\b/dgv,beginCaptures:{"1":{name:"punctuation.section.brackets.begin.hcl"},"2":{name:"keyword.control.hcl"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.section.brackets.end.hcl"}},patterns:[{include:"#for_expression_body"}]}},scopeName:"source.hcl.terraform",embeddedLangs:undefined,aliases:["tf","tfvars"]})
2
+
3
+ export default [
4
+ lang
5
+ ]
package/dist/tex.d.mts ADDED
@@ -0,0 +1,3 @@
1
+ import type { LanguageRegistration } from '@shikijs/types'
2
+ const langs: LanguageRegistration []
3
+ export default langs
package/dist/tex.mjs ADDED
@@ -0,0 +1,9 @@
1
+ import { EmulatedRegExp } from 'oniguruma-to-es'
2
+ import r from './r.mjs'
3
+
4
+ const lang = Object.freeze({displayName:"TeX",name:"tex",patterns:[{begin:/(?<=(?<=^|\n(?!$))\p{space}*)((\\)iffalse)(?!\p{space}*[\{\}]\p{space}*\\fi)/dgv,beginCaptures:{"1":{name:"keyword.control.tex"},"2":{name:"punctuation.definition.keyword.tex"}},contentName:"comment.line.percentage.tex",end:/((\\)(?:else|fi))/dgv,endCaptures:{"1":{name:"keyword.control.tex"},"2":{name:"punctuation.definition.keyword.tex"}},patterns:[{include:"#comment"},{include:"#braces"},{include:"#conditionals"}]},{captures:{"1":{name:"punctuation.definition.keyword.tex"}},match:/(\\)(backmatter|csname|else|endcsname|fi|frontmatter|mainmatter|unless|if(case|cat|csname|defined|dim|eof|false|fontchar|hbox|hmode|inner|mmode|num|odd|true|vbox|vmode|void|x)?)(?![a-zA-Z\@])/dgv,name:"keyword.control.tex"},{captures:{"1":{name:"keyword.control.catcode.tex"},"2":{name:"punctuation.definition.keyword.tex"},"3":{name:"punctuation.separator.key-value.tex"},"4":{name:"constant.numeric.category.tex"}},match:/((\\)catcode)`(?:\\)?[^\n](=)(\p{Nd}+)/dgv,name:"meta.catcode.tex"},{include:"#comment"},{match:/[\[\]]/dgv,name:"punctuation.definition.brackets.tex"},{begin:/(\$\$|\$)/dgv,beginCaptures:{"1":{name:"punctuation.definition.string.begin.tex"}},end:/((?!))/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.tex"}},name:"meta.math.block.tex support.class.math.block.tex",patterns:[{match:/\\\$/dgv,name:"constant.character.escape.tex"},{include:"#math"},{include:"$self"}]},{match:/\\\\/dgv,name:"keyword.control.newline.tex"},{captures:{"1":{name:"punctuation.definition.function.tex"}},match:/(\\)_*[\p{Alphabetic}\@]+(?:_[\p{Alphabetic}\@]+)*:[NncVvoxefTFpwD]*/dgv,name:"support.class.general.latex3.tex"},{captures:{"1":{name:"punctuation.definition.function.tex"}},match:/(\.)[\p{Alphabetic}\@]+(?:_[\p{Alphabetic}\@]+)*:[NncVvoxefTFpwD]*/dgv,name:"support.class.general.latex3.tex"},{captures:{"1":{name:"punctuation.definition.function.tex"}},match:/(\\)(?:[\,\;]|[\p{Alphabetic}\@]+)/dgv,name:"support.function.general.tex"},{captures:{"1":{name:"punctuation.definition.keyword.tex"}},match:/(\\)[^a-zA-Z\@]/dgv,name:"constant.character.escape.tex"}],repository:{braces:{begin:/(?<!\\)\{/dgv,beginCaptures:{"0":{name:"punctuation.group.begin.tex"}},end:/(?<!\\)\}/dgv,endCaptures:{"0":{name:"punctuation.group.end.tex"}},name:"meta.group.braces.tex",patterns:[{include:"#braces"}]},comment:{begin:/((?<=^|\n(?!$))[ \t]+)?(?=%)/dgv,beginCaptures:{"1":{name:"punctuation.whitespace.comment.leading.tex"}},end:new EmulatedRegExp("","dgv",{"strategy":"not_search_start"}),patterns:[{begin:/%:?/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.tex"}},end:/(?=$|\n)\n?/dgv,name:"comment.line.percentage.tex"},{begin:/(?<=^|\n(?!$))(%!TEX) (\P{space}*) =/dgv,beginCaptures:{"1":{name:"punctuation.definition.comment.tex"}},end:/(?=$|\n)\n?/dgv,name:"comment.line.percentage.directive.tex"}]},conditionals:{begin:/(?<=(?<=^|\n(?!$))\p{space}*)\\if[a-z]*/dgv,end:/(?<=(?<=^|\n(?!$))\p{space}*)\\fi/dgv,patterns:[{include:"#comment"},{include:"#conditionals"}]},math:{patterns:[{begin:/((\\)(?:text|mbox))(\{)/dgv,beginCaptures:{"1":{name:"constant.other.math.tex"},"2":{name:"punctuation.definition.function.tex"},"3":{name:"punctuation.definition.arguments.begin.tex meta.text.normal.tex"}},contentName:"meta.text.normal.tex",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.arguments.end.tex meta.text.normal.tex"}},patterns:[{include:"#math"},{include:"$self"}]},{match:/\\\{|\\\}/dgv,name:"punctuation.math.bracket.pair.tex"},{match:/\\(left|right|((big|bigg|Big|Bigg)[lr]?))([\(\[\<\>\]\)\.\|]|\\[\{\}\|]|\\[lr]?[Vv]ert|\\[lr]angle)/dgv,name:"punctuation.math.bracket.pair.big.tex"},{captures:{"1":{name:"punctuation.definition.constant.math.tex"}},match:/(\\)(s(s(earrow|warrow|lash)|h(ort(downarrow|uparrow|parallel|leftarrow|rightarrow|mid)|arp)|tar|i(gma|m(eq)?)|u(cc(sim|n(sim|approx)|curlyeq|eq|approx)?|pset(neq(q)?|plus(eq)?|eq(q)?)?|rd|m|bset(neq(q)?|plus(eq)?|eq(q)?)?)|p(hericalangle|adesuit)|e(tminus|arrow)|q(su(pset(eq)?|bset(eq)?)|c(up|ap)|uare)|warrow|m(ile|all(s(etminus|mile)|frown)))|h(slash|ook(leftarrow|rightarrow)|eartsuit|bar)|R(sh|ightarrow|e|bag)|Gam(e|ma)|n(s(hort(parallel|mid)|im|u(cc(eq)?|pseteq(q)?|bseteq))|Rightarrow|n(earrow|warrow)|cong|triangle(left(eq(slant)?)?|right(eq(slant)?)?)|i(plus)?|u|p(lus|arallel|rec(eq)?)|e(q|arrow|g|xists)|v(dash|Dash)|warrow|le(ss|q(slant|q)?|ft(arrow|rightarrow))|a(tural|bla)|VDash|rightarrow|g(tr|eq(slant|q)?)|mid|Left(arrow|rightarrow))|c(hi|irc(eq|le(d(circ|S|dash|ast)|arrow(left|right)))?|o(ng|prod|lon|mplement)|dot(s|p)?|u(p|r(vearrow(left|right)|ly(eq(succ|prec)|vee(downarrow|uparrow)?|wedge(downarrow|uparrow)?)))|enterdot|lubsuit|ap)|Xi|Maps(to(char)?|from(char)?)|B(ox|umpeq|bbk)|t(h(ick(sim|approx)|e(ta|refore))|imes|op|wohead(leftarrow|rightarrow)|a(u|lloblong)|riangle(down|q|left(eq(slant)?)?|right(eq(slant)?)?)?)|i(n(t(er(cal|leave))?|plus|fty)?|ota|math)|S(igma|u(pset|bset))|zeta|o(slash|times|int|dot|plus|vee|wedge|lessthan|greaterthan|m(inus|ega)|b(slash|long|ar))|d(i(v(ideontimes)?|a(g(down|up)|mond(suit)?)|gamma)|o(t(plus|eq(dot)?)|ublebarwedge|wn(harpoon(left|right)|downarrows|arrow))|d(ots|agger)|elta|a(sh(v|leftarrow|rightarrow)|leth|gger))|Y(down|up|left|right)|C(up|ap)|u(n(lhd|rhd)|p(silon|harpoon(left|right)|downarrow|uparrows|lus|arrow)|lcorner|rcorner)|jmath|Theta|Im|p(si|hi|i(tchfork)?|erp|ar(tial|allel)|r(ime|o(d|pto)|ec(sim|n(sim|approx)|curlyeq|eq|approx)?)|m)|e(t(h|a)|psilon|q(slant(less|gtr)|circ|uiv)|ll|xists|mptyset)|Omega|D(iamond|ownarrow|elta)|v(d(ots|ash)|ee(bar)?|Dash|ar(s(igma|u(psetneq(q)?|bsetneq(q)?))|nothing|curly(vee|wedge)|t(heta|imes|riangle(left|right)?)|o(slash|circle|times|dot|plus|vee|wedge|lessthan|ast|greaterthan|minus|b(slash|ar))|p(hi|i|ropto)|epsilon|kappa|rho|bigcirc))|kappa|Up(silon|downarrow|arrow)|Join|f(orall|lat|a(t(s(emi|lash)|bslash)|llingdotseq)|rown)|P(si|hi|i)|w(p|edge|r)|l(hd|n(sim|eq(q)?|approx)|ceil|times|ightning|o(ng(left(arrow|rightarrow)|rightarrow|maps(to|from))|zenge|oparrow(left|right))|dot(s|p)|e(ss(sim|dot|eq(qgtr|gtr)|approx|gtr)|q(slant|q)?|ft(slice|harpoon(down|up)|threetimes|leftarrows|arrow(t(ail|riangle))?|right(squigarrow|harpoons|arrow(s|triangle|eq)?))|adsto)|vertneqq|floor|l(c(orner|eil)|floor|l|bracket)?|a(ngle|mbda)|rcorner|bag)|a(s(ymp|t)|ngle|pprox(eq)?|l(pha|eph)|rrownot|malg)|V(dash|vdash)|r(h(o|d)|ceil|times|i(singdotseq|ght(s(quigarrow|lice)|harpoon(down|up)|threetimes|left(harpoons|arrows)|arrow(t(ail|riangle))?|rightarrows))|floor|angle|r(ceil|parenthesis|floor|bracket)|bag)|g(n(sim|eq(q)?|approx)|tr(sim|dot|eq(qless|less)|less|approx)|imel|eq(slant|q)?|vertneqq|amma|g(g)?)|Finv|xi|m(ho|i(nuso|d)|o(o|dels)|u(ltimap)?|p|e(asuredangle|rge)|aps(to|from(char)?))|b(i(n(dnasrepma|ampersand)|g(s(tar|qc(up|ap))|nplus|c(irc|u(p|rly(vee|wedge))|ap)|triangle(down|up)|interleave|o(times|dot|plus)|uplus|parallel|vee|wedge|box))|o(t|wtie|x(slash|circle|times|dot|plus|empty|ast|minus|b(slash|ox|ar)))|u(llet|mpeq)|e(cause|t(h|ween|a))|lack(square|triangle(down|left|right)?|lozenge)|a(ck(s(im(eq)?|lash)|prime|epsilon)|r(o|wedge))|bslash)|L(sh|ong(left(arrow|rightarrow)|rightarrow|maps(to|from))|eft(arrow|rightarrow)|leftarrow|ambda|bag)|Arrownot)(?![a-zA-Z\@])/dgv,name:"constant.character.math.tex"},{captures:{"1":{name:"punctuation.definition.constant.math.tex"}},match:/(\\)(sum|prod|coprod|int|oint|bigcap|bigcup|bigsqcup|bigvee|bigwedge|bigodot|bigotimes|bogoplus|biguplus)\b/dgv,name:"constant.character.math.tex"},{captures:{"1":{name:"punctuation.definition.constant.math.tex"}},match:/(\\)(arccos|arcsin|arctan|arg|cos|cosh|cot|coth|csc|deg|det|dim|exp|gcd|hom|inf|ker|lg|lim|liminf|limsup|ln|log|max|min|pr|sec|sin|sinh|sup|tan|tanh)\b/dgv,name:"constant.other.math.tex"},{begin:/((\\)Sexpr(\{))/dgv,beginCaptures:{"1":{name:"support.function.sexpr.math.tex"},"2":{name:"punctuation.definition.function.math.tex"},"3":{name:"punctuation.section.embedded.begin.math.tex"}},contentName:"support.function.sexpr.math.tex",end:/(((\})))/dgv,endCaptures:{"1":{name:"support.function.sexpr.math.tex"},"2":{name:"punctuation.section.embedded.end.math.tex"},"3":{name:"source.r"}},name:"meta.embedded.line.r",patterns:[{begin:/(?!\})/dgvy,end:/(?=\})/dgv,name:"source.r",patterns:[{include:"source.r"}]}]},{captures:{"1":{name:"punctuation.definition.constant.math.tex"}},match:/(\\)(?!begin\{|verb)([A-Za-z]+)/dgv,name:"constant.other.general.math.tex"},{match:/(?<!\\)\{/dgv,name:"punctuation.math.begin.bracket.curly.tex"},{match:/(?<!\\)\}/dgv,name:"punctuation.math.end.bracket.curly.tex"},{match:/(?<!\\)\(/dgv,name:"punctuation.math.begin.bracket.round.tex"},{match:/(?<!\\)\)/dgv,name:"punctuation.math.end.bracket.round.tex"},{match:/((\p{Nd}*[\.]\p{Nd}+)|\p{Nd}+)/dgv,name:"constant.numeric.math.tex"},{match:/[\+\*\/_\^\-]/dgv,name:"punctuation.math.operator.tex"}]}},scopeName:"text.tex",embeddedLangs:["r"],aliases:undefined})
5
+
6
+ export default [
7
+ ...r,
8
+ lang
9
+ ]
package/dist/tf.d.mts ADDED
@@ -0,0 +1,3 @@
1
+ import type { LanguageRegistration } from '@shikijs/types'
2
+ const langs: LanguageRegistration []
3
+ export default langs
package/dist/tf.mjs ADDED
@@ -0,0 +1,2 @@
1
+ /* Alias tf for terraform */
2
+ export { default } from './terraform.mjs'
@@ -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 tfvars for terraform */
2
+ export { default } from './terraform.mjs'
@@ -0,0 +1,3 @@
1
+ import type { LanguageRegistration } from '@shikijs/types'
2
+ const langs: LanguageRegistration []
3
+ export default langs
package/dist/toml.mjs ADDED
@@ -0,0 +1,7 @@
1
+ import { EmulatedRegExp } from 'oniguruma-to-es'
2
+
3
+ const lang = Object.freeze({displayName:"TOML",fileTypes:["toml"],name:"toml",patterns:[{include:"#comments"},{include:"#groups"},{include:"#key_pair"},{include:"#invalid"}],repository:{comments:{begin:/((?<=^|\n(?!$))[ \t]+)?(?=#)/dgv,beginCaptures:{"1":{name:"punctuation.whitespace.comment.leading.toml"}},end:new EmulatedRegExp("","dgv",{"strategy":"not_search_start"}),patterns:[{begin:/#/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.toml"}},end:/\n/dgv,name:"comment.line.number-sign.toml"}]},groups:{patterns:[{captures:{"1":{name:"punctuation.definition.section.begin.toml"},"2":{patterns:[{match:/[^\p{space}\.]+/dgv,name:"entity.name.section.toml"}]},"3":{name:"punctuation.definition.section.begin.toml"}},match:/(?<=^|\n(?!$))\p{space}*(\[)([^\[\]]*)(\])/dgv,name:"meta.group.toml"},{captures:{"1":{name:"punctuation.definition.section.begin.toml"},"2":{patterns:[{match:/[^\p{space}\.]+/dgv,name:"entity.name.section.toml"}]},"3":{name:"punctuation.definition.section.begin.toml"}},match:/(?<=^|\n(?!$))\p{space}*(\[\[)([^\[\]]*)(\]\])/dgv,name:"meta.group.double.toml"}]},invalid:{match:/\P{space}+(\p{space}*(?=\P{space}))?/dgv,name:"invalid.illegal.not-allowed-here.toml"},key_pair:{patterns:[{begin:/([A-Za-z0-9_\-]+)\p{space}*(=)\p{space}*/dgv,captures:{"1":{name:"variable.other.key.toml"},"2":{name:"punctuation.separator.key-value.toml"}},end:/(?<=\P{space})(?<!=)|(?=$|\n)/dgv,patterns:[{include:"#primatives"}]},{begin:/((")([^\n]*?)("))\p{space}*(=)\p{space}*/dgv,captures:{"1":{name:"variable.other.key.toml"},"2":{name:"punctuation.definition.variable.begin.toml"},"3":{patterns:[{match:/\\([btnfr"\\]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/dgv,name:"constant.character.escape.toml"},{match:/\\[^btnfr"\\]/dgv,name:"invalid.illegal.escape.toml"},{match:/"/dgv,name:"invalid.illegal.not-allowed-here.toml"}]},"4":{name:"punctuation.definition.variable.end.toml"},"5":{name:"punctuation.separator.key-value.toml"}},end:/(?<=\P{space})(?<!=)|(?=$|\n)/dgv,patterns:[{include:"#primatives"}]},{begin:/((')([^']*)('))\p{space}*(=)\p{space}*/dgv,captures:{"1":{name:"variable.other.key.toml"},"2":{name:"punctuation.definition.variable.begin.toml"},"4":{name:"punctuation.definition.variable.end.toml"},"5":{name:"punctuation.separator.key-value.toml"}},end:/(?<=\P{space})(?<!=)|(?=$|\n)/dgv,patterns:[{include:"#primatives"}]},{begin:/(((?:[A-Za-z0-9_\-]+|"(?:[^"\\]|\\[^\n])*"|'[^']*')(?:\p{space}*\.\p{space}*|(?=\p{space}*=))){2,})\p{space}*(=)\p{space}*/dgv,captures:{"1":{name:"variable.other.key.toml",patterns:[{match:/\./dgv,name:"punctuation.separator.variable.toml"},{captures:{"1":{name:"punctuation.definition.variable.begin.toml"},"2":{patterns:[{match:/\\([btnfr"\\]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/dgv,name:"constant.character.escape.toml"},{match:/\\[^btnfr"\\]/dgv,name:"invalid.illegal.escape.toml"}]},"3":{name:"punctuation.definition.variable.end.toml"}},match:/(")((?:[^"\\]|\\[^\n])*)(")/dgv},{captures:{"1":{name:"punctuation.definition.variable.begin.toml"},"2":{name:"punctuation.definition.variable.end.toml"}},match:/(')[^']*(')/dgv}]},"3":{name:"punctuation.separator.key-value.toml"}},comment:"Dotted key",end:/(?<=\P{space})(?<!=)|(?=$|\n)/dgv,patterns:[{include:"#primatives"}]}]},primatives:{patterns:[{begin:/"""/dgvy,beginCaptures:{"0":{name:"punctuation.definition.string.begin.toml"}},end:/"{3,5}/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.toml"}},name:"string.quoted.triple.double.toml",patterns:[{match:/\\([btnfr"\\]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/dgv,name:"constant.character.escape.toml"},{match:/\\[^btnfr"\\\n]/dgv,name:"invalid.illegal.escape.toml"}]},{begin:/"/dgvy,beginCaptures:{"0":{name:"punctuation.definition.string.begin.toml"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.toml"}},name:"string.quoted.double.toml",patterns:[{match:/\\([btnfr"\\]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/dgv,name:"constant.character.escape.toml"},{match:/\\[^btnfr"\\]/dgv,name:"invalid.illegal.escape.toml"}]},{begin:/'''/dgvy,beginCaptures:{"0":{name:"punctuation.definition.string.begin.toml"}},end:/'{3,5}/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.toml"}},name:"string.quoted.triple.single.toml"},{begin:/'/dgvy,beginCaptures:{"0":{name:"punctuation.definition.string.begin.toml"}},end:/'/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.toml"}},name:"string.quoted.single.toml"},{match:/\p{Nd}{4}-(0[1-9]|1[012])-(?!00|3[2-9])[0-3]\p{Nd}([Tt ](?!2[5-9])[0-2]\p{Nd}:[0-5]\p{Nd}:(?!6[1-9])[0-6]\p{Nd}(\.\p{Nd}+)?(Z|[\+\-](?!2[5-9])[0-2]\p{Nd}:[0-5]\p{Nd})?)?/dgvy,name:"constant.other.date.toml"},{match:/(?!2[5-9])[0-2]\p{Nd}:[0-5]\p{Nd}:(?!6[1-9])[0-6]\p{Nd}(\.\p{Nd}+)?/dgvy,name:"constant.other.time.toml"},{match:/(true|false)/dgvy,name:"constant.language.boolean.toml"},{match:/0x\p{AHex}(\p{AHex}|_\p{AHex})*/dgvy,name:"constant.numeric.hex.toml"},{match:/0o[0-7]([0-7]|_[0-7])*/dgvy,name:"constant.numeric.octal.toml"},{match:/0b[01]([01]|_[01])*/dgvy,name:"constant.numeric.binary.toml"},{match:/[\+\-]?(inf|nan)/dgvy,name:"constant.numeric.toml"},{match:/([\+\-]?(0|([1-9]((\p{Nd}|_\p{Nd})+)?)))(?=[\.eE])(\.(\p{Nd}((\p{Nd}|_\p{Nd})+)?))?([eE]([\+\-]?\p{Nd}((\p{Nd}|_\p{Nd})+)?))?/dgvy,name:"constant.numeric.float.toml"},{match:/([\+\-]?(0|([1-9]((\p{Nd}|_\p{Nd})+)?)))/dgvy,name:"constant.numeric.integer.toml"},{begin:/\[/dgvy,beginCaptures:{"0":{name:"punctuation.definition.array.begin.toml"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.definition.array.end.toml"}},name:"meta.array.toml",patterns:[{begin:/(?=["'']|[\+\-]?\p{Nd}|[\+\-]?(inf|nan)|true|false|\[|\{)/dgv,end:/,|(?=\])/dgv,endCaptures:{"0":{name:"punctuation.separator.array.toml"}},patterns:[{include:"#primatives"},{include:"#comments"},{include:"#invalid"}]},{include:"#comments"},{include:"#invalid"}]},{begin:/\{/dgvy,beginCaptures:{"0":{name:"punctuation.definition.inline-table.begin.toml"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.inline-table.end.toml"}},name:"meta.inline-table.toml",patterns:[{begin:/(?=\P{space})/dgv,end:/,|(?=\})/dgv,endCaptures:{"0":{name:"punctuation.separator.inline-table.toml"}},patterns:[{include:"#key_pair"}]},{include:"#comments"}]}]}},scopeName:"source.toml",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
@@ -0,0 +1,18 @@
1
+ import typescript from './typescript.mjs'
2
+ import es_tag_css from './es-tag-css.mjs'
3
+ import es_tag_glsl from './es-tag-glsl.mjs'
4
+ import es_tag_html from './es-tag-html.mjs'
5
+ import es_tag_sql from './es-tag-sql.mjs'
6
+ import es_tag_xml from './es-tag-xml.mjs'
7
+
8
+ const lang = Object.freeze({displayName:"TypeScript with Tags",name:"ts-tags",patterns:[{include:"source.ts"}],scopeName:"source.ts.tags",embeddedLangs:["typescript","es-tag-css","es-tag-glsl","es-tag-html","es-tag-sql","es-tag-xml"],aliases:["lit"]})
9
+
10
+ export default [
11
+ ...typescript,
12
+ ...es_tag_css,
13
+ ...es_tag_glsl,
14
+ ...es_tag_html,
15
+ ...es_tag_sql,
16
+ ...es_tag_xml,
17
+ lang
18
+ ]
package/dist/ts.d.mts ADDED
@@ -0,0 +1,3 @@
1
+ import type { LanguageRegistration } from '@shikijs/types'
2
+ const langs: LanguageRegistration []
3
+ export default langs
package/dist/ts.mjs ADDED
@@ -0,0 +1,2 @@
1
+ /* Alias ts for typescript */
2
+ export { default } from './typescript.mjs'
package/dist/tsp.d.mts ADDED
@@ -0,0 +1,3 @@
1
+ import type { LanguageRegistration } from '@shikijs/types'
2
+ const langs: LanguageRegistration []
3
+ export default langs
package/dist/tsp.mjs ADDED
@@ -0,0 +1,2 @@
1
+ /* Alias tsp for typespec */
2
+ export { default } from './typespec.mjs'
package/dist/tsv.d.mts ADDED
@@ -0,0 +1,3 @@
1
+ import type { LanguageRegistration } from '@shikijs/types'
2
+ const langs: LanguageRegistration []
3
+ export default langs
package/dist/tsv.mjs ADDED
@@ -0,0 +1,5 @@
1
+ const lang = Object.freeze({displayName:"TSV",fileTypes:["tsv","tab"],name:"tsv",patterns:[{captures:{"1":{name:"rainbow1"},"2":{name:"keyword.rainbow2"},"3":{name:"entity.name.function.rainbow3"},"4":{name:"comment.rainbow4"},"5":{name:"string.rainbow5"},"6":{name:"variable.parameter.rainbow6"},"7":{name:"constant.numeric.rainbow7"},"8":{name:"entity.name.type.rainbow8"},"9":{name:"markup.bold.rainbow9"},"10":{name:"invalid.rainbow10"}},match:/([^\t]*\t?)([^\t]*\t?)([^\t]*\t?)([^\t]*\t?)([^\t]*\t?)([^\t]*\t?)([^\t]*\t?)([^\t]*\t?)([^\t]*\t?)([^\t]*\t?)/dgv,name:"rainbowgroup"}],scopeName:"text.tsv",embeddedLangs:undefined,aliases:undefined})
2
+
3
+ export default [
4
+ lang
5
+ ]
package/dist/tsx.d.mts ADDED
@@ -0,0 +1,3 @@
1
+ import type { LanguageRegistration } from '@shikijs/types'
2
+ const langs: LanguageRegistration []
3
+ export default langs