svelte-highlight 7.16.2 → 7.17.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 (364) hide show
  1. package/HighlightStream.svelte +218 -3
  2. package/HighlightStream.svelte.d.ts +25 -0
  3. package/HighlightVirtual.svelte +13 -20
  4. package/LICENSE.highlight.txt +1 -1
  5. package/README.md +19 -10
  6. package/languages/1c.js +1 -1
  7. package/languages/abnf.js +1 -1
  8. package/languages/accesslog.js +1 -1
  9. package/languages/actionscript.js +1 -1
  10. package/languages/ada.js +7 -6
  11. package/languages/all.js +8 -0
  12. package/languages/angelscript.js +1 -1
  13. package/languages/apache.js +1 -1
  14. package/languages/applescript.js +1 -1
  15. package/languages/arcade.js +1 -1
  16. package/languages/arduino.js +91 -67
  17. package/languages/armasm.js +1 -1
  18. package/languages/asciidoc.js +1 -1
  19. package/languages/aspectj.js +1 -1
  20. package/languages/autohotkey.js +1 -1
  21. package/languages/autoit.js +1 -1
  22. package/languages/avrasm.js +1 -1
  23. package/languages/awk.js +1 -1
  24. package/languages/axapta.js +1 -1
  25. package/languages/bash.js +1 -1
  26. package/languages/basic.js +1 -1
  27. package/languages/bnf.js +1 -1
  28. package/languages/brainfuck.js +1 -1
  29. package/languages/c.js +91 -66
  30. package/languages/cal.js +1 -1
  31. package/languages/capnproto.js +1 -1
  32. package/languages/ceylon.js +1 -1
  33. package/languages/clean.js +1 -1
  34. package/languages/clojure-repl.js +1 -1
  35. package/languages/clojure.js +1 -1
  36. package/languages/cmake.js +4 -2
  37. package/languages/coffeescript.js +1 -1
  38. package/languages/coq.js +1 -1
  39. package/languages/cos.js +1 -1
  40. package/languages/cpp.js +90 -65
  41. package/languages/cql.d.ts +2 -0
  42. package/languages/cql.js +203 -0
  43. package/languages/crmsh.js +1 -1
  44. package/languages/crystal.js +27 -34
  45. package/languages/csharp.js +4 -4
  46. package/languages/csp.js +8 -1
  47. package/languages/css.js +20 -13
  48. package/languages/d.js +1 -1
  49. package/languages/dart.js +18 -3
  50. package/languages/delphi.js +1 -1
  51. package/languages/diff.js +2 -2
  52. package/languages/django.js +1 -1
  53. package/languages/dns.js +71 -43
  54. package/languages/dockerfile.js +1 -1
  55. package/languages/dos.js +3 -3
  56. package/languages/dsconfig.js +1 -1
  57. package/languages/dts.js +1 -1
  58. package/languages/dust.js +1 -1
  59. package/languages/ebnf.js +1 -1
  60. package/languages/elixir.js +59 -50
  61. package/languages/elm.js +1 -1
  62. package/languages/erb.js +1 -1
  63. package/languages/erlang-repl.js +1 -1
  64. package/languages/erlang.js +1 -1
  65. package/languages/excel.js +1 -1
  66. package/languages/fix.js +1 -1
  67. package/languages/flix.js +1 -1
  68. package/languages/flux.d.ts +2 -0
  69. package/languages/flux.js +272 -0
  70. package/languages/fortran.js +1 -1
  71. package/languages/freedesktop.d.ts +2 -0
  72. package/languages/freedesktop.js +45 -0
  73. package/languages/fsharp.js +1 -1
  74. package/languages/gams.js +1 -1
  75. package/languages/gauss.js +1 -1
  76. package/languages/gcode.js +1 -1
  77. package/languages/gherkin.js +36 -38
  78. package/languages/glsl.js +1 -1
  79. package/languages/gml.js +1 -1
  80. package/languages/go.js +10 -3
  81. package/languages/golo.js +1 -1
  82. package/languages/gradle.js +1 -1
  83. package/languages/graphql.js +1 -1
  84. package/languages/groovy.js +60 -5
  85. package/languages/haml.js +1 -1
  86. package/languages/handlebars.js +1 -1
  87. package/languages/haskell.js +2 -1
  88. package/languages/haxe.js +1 -1
  89. package/languages/hsp.js +1 -1
  90. package/languages/http.js +1 -1
  91. package/languages/hy.js +1 -1
  92. package/languages/index.d.ts +8 -0
  93. package/languages/index.js +4 -0
  94. package/languages/inform7.js +1 -1
  95. package/languages/ini.js +1 -1
  96. package/languages/irpf90.js +1 -1
  97. package/languages/isbl.js +1 -1
  98. package/languages/java.js +28 -25
  99. package/languages/javascript.js +9 -3
  100. package/languages/jboss-cli.js +1 -1
  101. package/languages/json.js +12 -9
  102. package/languages/julia-repl.js +1 -1
  103. package/languages/julia.js +1 -1
  104. package/languages/kotlin.js +3 -3
  105. package/languages/lasso.js +1 -1
  106. package/languages/latex.js +1 -1
  107. package/languages/ldif.js +1 -1
  108. package/languages/leaf.js +7 -2
  109. package/languages/less.js +60 -45
  110. package/languages/lisp.js +7 -2
  111. package/languages/livecodeserver.js +1 -1
  112. package/languages/livescript.js +1 -1
  113. package/languages/llvm.js +18 -3
  114. package/languages/lsl.js +1 -1
  115. package/languages/lua.js +2 -1
  116. package/languages/makefile.js +1 -1
  117. package/languages/markdown.js +8 -4
  118. package/languages/mathematica.js +1 -1
  119. package/languages/matlab.js +1 -1
  120. package/languages/maxima.js +1 -1
  121. package/languages/mel.js +1 -1
  122. package/languages/mercury.js +1 -1
  123. package/languages/mipsasm.js +1 -1
  124. package/languages/mizar.js +1 -1
  125. package/languages/mojolicious.js +1 -1
  126. package/languages/monkey.js +1 -1
  127. package/languages/moonscript.js +1 -1
  128. package/languages/n1ql.js +1 -1
  129. package/languages/nestedtext.js +1 -1
  130. package/languages/nginx.js +1 -1
  131. package/languages/nim.js +1 -1
  132. package/languages/nix.js +1 -1
  133. package/languages/node-repl.js +1 -1
  134. package/languages/nsis.js +20 -5
  135. package/languages/objectivec.js +1 -1
  136. package/languages/ocaml.js +1 -1
  137. package/languages/openscad.js +1 -1
  138. package/languages/oxygene.js +1 -1
  139. package/languages/parser3.js +1 -1
  140. package/languages/perl.js +1 -1
  141. package/languages/pf.js +1 -1
  142. package/languages/pgsql.js +1 -1
  143. package/languages/php-template.js +1 -1
  144. package/languages/php.js +150 -24
  145. package/languages/plaintext.js +1 -1
  146. package/languages/pony.js +1 -1
  147. package/languages/powershell.js +1 -1
  148. package/languages/processing.js +1 -1
  149. package/languages/profile.js +1 -1
  150. package/languages/prolog.js +1 -1
  151. package/languages/properties.js +1 -1
  152. package/languages/protobuf.js +1 -1
  153. package/languages/prql.d.ts +2 -0
  154. package/languages/prql.js +160 -0
  155. package/languages/puppet.js +1 -1
  156. package/languages/purebasic.js +1 -1
  157. package/languages/python-repl.js +1 -1
  158. package/languages/python.js +31 -11
  159. package/languages/q.js +1 -1
  160. package/languages/qml.js +1 -1
  161. package/languages/r.js +1 -1
  162. package/languages/reasonml.js +1 -1
  163. package/languages/rib.js +1 -1
  164. package/languages/roboconf.js +1 -1
  165. package/languages/routeros.js +1 -1
  166. package/languages/rsl.js +1 -1
  167. package/languages/ruby.js +2 -2
  168. package/languages/ruleslanguage.js +1 -1
  169. package/languages/rust.js +23 -11
  170. package/languages/sas.js +1 -1
  171. package/languages/scala.js +1 -1
  172. package/languages/scheme.js +1 -1
  173. package/languages/scilab.js +1 -1
  174. package/languages/scss.js +16 -9
  175. package/languages/shell.js +2 -2
  176. package/languages/smali.js +1 -1
  177. package/languages/smalltalk.js +1 -1
  178. package/languages/sml.js +1 -1
  179. package/languages/sqf.js +175 -10
  180. package/languages/sql.js +1 -1
  181. package/languages/stan.js +1 -1
  182. package/languages/stata.js +1 -1
  183. package/languages/step21.js +1 -1
  184. package/languages/stylus.js +18 -11
  185. package/languages/subunit.js +1 -1
  186. package/languages/swift.js +1 -1
  187. package/languages/taggerscript.js +1 -1
  188. package/languages/tap.js +1 -1
  189. package/languages/tcl.js +1 -1
  190. package/languages/thrift.js +1 -1
  191. package/languages/tp.js +1 -1
  192. package/languages/twig.js +1 -1
  193. package/languages/typescript.js +9 -3
  194. package/languages/vala.js +1 -1
  195. package/languages/vbnet.js +1 -1
  196. package/languages/vbscript-html.js +1 -1
  197. package/languages/vbscript.js +1 -1
  198. package/languages/verilog.js +1 -1
  199. package/languages/vhdl.js +1 -1
  200. package/languages/vim.js +1 -1
  201. package/languages/wasm.js +1 -1
  202. package/languages/wren.js +1 -1
  203. package/languages/x86asm.js +1 -1
  204. package/languages/xl.js +1 -1
  205. package/languages/xml.js +3 -3
  206. package/languages/xquery.js +1 -1
  207. package/languages/yaml.js +1 -1
  208. package/languages/zephir.js +1 -1
  209. package/package.json +1 -1
  210. package/styles/a11y-dark.css +1 -1
  211. package/styles/a11y-dark.js +1 -1
  212. package/styles/a11y-light.css +1 -1
  213. package/styles/a11y-light.js +1 -1
  214. package/styles/an-old-hope.css +1 -1
  215. package/styles/an-old-hope.js +1 -1
  216. package/styles/arduino-light.css +1 -1
  217. package/styles/arduino-light.js +1 -1
  218. package/styles/arta.css +1 -1
  219. package/styles/arta.js +1 -1
  220. package/styles/brown-paper.css +1 -1
  221. package/styles/brown-paper.js +1 -1
  222. package/styles/codepen-embed.css +1 -1
  223. package/styles/codepen-embed.js +1 -1
  224. package/styles/cybertopia-cherry.css +10 -9
  225. package/styles/cybertopia-cherry.js +10 -9
  226. package/styles/cybertopia-dimmer.css +10 -9
  227. package/styles/cybertopia-dimmer.js +10 -9
  228. package/styles/cybertopia-icecap.css +10 -9
  229. package/styles/cybertopia-icecap.js +10 -9
  230. package/styles/cybertopia-saturated.css +10 -9
  231. package/styles/cybertopia-saturated.js +10 -9
  232. package/styles/dark.css +1 -1
  233. package/styles/dark.js +1 -1
  234. package/styles/docco.css +1 -1
  235. package/styles/docco.js +1 -1
  236. package/styles/equinox.css +25 -0
  237. package/styles/equinox.d.ts +1 -0
  238. package/styles/equinox.js +27 -0
  239. package/styles/far.css +1 -1
  240. package/styles/far.js +1 -1
  241. package/styles/gml.css +1 -1
  242. package/styles/gml.js +1 -1
  243. package/styles/googlecode.css +1 -1
  244. package/styles/googlecode.js +1 -1
  245. package/styles/hybrid.css +1 -1
  246. package/styles/hybrid.js +1 -1
  247. package/styles/index.d.ts +2 -0
  248. package/styles/index.js +2 -0
  249. package/styles/intellij-light.css +1 -1
  250. package/styles/intellij-light.js +1 -1
  251. package/styles/ir-black.css +1 -1
  252. package/styles/ir-black.js +1 -1
  253. package/styles/isbl-editor-dark.css +1 -1
  254. package/styles/isbl-editor-dark.js +1 -1
  255. package/styles/isbl-editor-light.css +1 -1
  256. package/styles/isbl-editor-light.js +1 -1
  257. package/styles/magula.css +1 -1
  258. package/styles/magula.js +1 -1
  259. package/styles/mono-blue.css +1 -1
  260. package/styles/mono-blue.js +1 -1
  261. package/styles/monokai-sublime.css +1 -1
  262. package/styles/monokai-sublime.js +1 -1
  263. package/styles/monokai.css +1 -1
  264. package/styles/monokai.js +1 -1
  265. package/styles/nnfx-dark.css +1 -1
  266. package/styles/nnfx-dark.js +1 -1
  267. package/styles/nnfx-light.css +1 -1
  268. package/styles/nnfx-light.js +1 -1
  269. package/styles/obsidian.css +1 -1
  270. package/styles/obsidian.js +1 -1
  271. package/styles/paraiso-dark.css +1 -1
  272. package/styles/paraiso-dark.js +1 -1
  273. package/styles/paraiso-light.css +1 -1
  274. package/styles/paraiso-light.js +1 -1
  275. package/styles/pojoaque.css +1 -1
  276. package/styles/pojoaque.js +1 -1
  277. package/styles/purebasic.css +1 -1
  278. package/styles/purebasic.js +1 -1
  279. package/styles/qtcreator-dark.css +1 -1
  280. package/styles/qtcreator-dark.js +1 -1
  281. package/styles/qtcreator-light.css +1 -1
  282. package/styles/qtcreator-light.js +1 -1
  283. package/styles/rainbow.css +1 -1
  284. package/styles/rainbow.js +1 -1
  285. package/styles/routeros.css +1 -1
  286. package/styles/routeros.js +1 -1
  287. package/styles/school-book.css +1 -1
  288. package/styles/school-book.js +1 -1
  289. package/styles/shades-of-purple.css +1 -1
  290. package/styles/shades-of-purple.js +1 -1
  291. package/styles/srcery.css +1 -1
  292. package/styles/srcery.js +1 -1
  293. package/styles/stackoverflow-dark.css +1 -1
  294. package/styles/stackoverflow-dark.js +1 -1
  295. package/styles/stackoverflow-light.css +1 -1
  296. package/styles/stackoverflow-light.js +1 -1
  297. package/styles/tomorrow-night-blue.css +1 -1
  298. package/styles/tomorrow-night-blue.js +1 -1
  299. package/styles/tomorrow-night-bright.css +1 -1
  300. package/styles/tomorrow-night-bright.js +1 -1
  301. package/styles/vs-dark.css +21 -0
  302. package/styles/vs-dark.d.ts +1 -0
  303. package/styles/vs-dark.js +23 -0
  304. package/styles/vs.css +1 -1
  305. package/styles/vs.js +1 -1
  306. package/styles/xcode.css +1 -1
  307. package/styles/xcode.js +1 -1
  308. package/styles/xt256.css +1 -1
  309. package/styles/xt256.js +1 -1
  310. package/themes/a11y-dark.css +1 -1
  311. package/themes/a11y-dark.js +1 -1
  312. package/themes/a11y-light.css +1 -1
  313. package/themes/a11y-light.js +1 -1
  314. package/themes/an-old-hope.css +1 -1
  315. package/themes/an-old-hope.js +1 -1
  316. package/themes/arta.css +1 -1
  317. package/themes/arta.js +1 -1
  318. package/themes/brown-paper.css +1 -1
  319. package/themes/brown-paper.js +1 -1
  320. package/themes/codepen-embed.css +1 -1
  321. package/themes/codepen-embed.js +1 -1
  322. package/themes/cybertopia-cherry.css +1 -1
  323. package/themes/cybertopia-cherry.js +49 -48
  324. package/themes/cybertopia-dimmer.css +1 -1
  325. package/themes/cybertopia-dimmer.js +49 -48
  326. package/themes/cybertopia-icecap.css +1 -1
  327. package/themes/cybertopia-icecap.js +49 -48
  328. package/themes/cybertopia-saturated.css +1 -1
  329. package/themes/cybertopia-saturated.js +49 -48
  330. package/themes/dark.css +1 -1
  331. package/themes/dark.js +1 -1
  332. package/themes/docco.css +1 -1
  333. package/themes/docco.js +1 -1
  334. package/themes/equinox.css +1 -0
  335. package/themes/equinox.d.ts +1 -0
  336. package/themes/equinox.js +51 -0
  337. package/themes/far.css +1 -1
  338. package/themes/far.js +1 -1
  339. package/themes/googlecode.css +1 -1
  340. package/themes/googlecode.js +1 -1
  341. package/themes/index.d.ts +2 -0
  342. package/themes/index.js +2 -0
  343. package/themes/ir-black.css +1 -1
  344. package/themes/ir-black.js +1 -1
  345. package/themes/paraiso-dark.css +1 -1
  346. package/themes/paraiso-dark.js +1 -1
  347. package/themes/paraiso-light.css +1 -1
  348. package/themes/paraiso-light.js +1 -1
  349. package/themes/pojoaque.css +1 -1
  350. package/themes/pojoaque.js +1 -1
  351. package/themes/rainbow.css +1 -1
  352. package/themes/rainbow.js +1 -1
  353. package/themes/school-book.css +1 -1
  354. package/themes/school-book.js +1 -1
  355. package/themes/tomorrow-night-blue.css +1 -1
  356. package/themes/tomorrow-night-blue.js +1 -1
  357. package/themes/tomorrow-night-bright.css +1 -1
  358. package/themes/tomorrow-night-bright.js +1 -1
  359. package/themes/vs-dark.css +1 -0
  360. package/themes/vs-dark.d.ts +1 -0
  361. package/themes/vs-dark.js +45 -0
  362. package/themes/vs.css +1 -1
  363. package/themes/vs.js +1 -1
  364. package/virtual-window.js +67 -0
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Grammar "nestedtext" derived from highlight.js 11.11.1 (BSD-3-Clause).
2
+ * Grammar "nestedtext" derived from highlight.js 11.12.0 (BSD-3-Clause).
3
3
  * Copyright (c) 2006, Ivan Sagalaev. Full text: LICENSE.highlight.txt.
4
4
  */
5
5
  export const nestedtext =
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Grammar "nginx" derived from highlight.js 11.11.1 (BSD-3-Clause).
2
+ * Grammar "nginx" derived from highlight.js 11.12.0 (BSD-3-Clause).
3
3
  * Copyright (c) 2006, Ivan Sagalaev. Full text: LICENSE.highlight.txt.
4
4
  */
5
5
  export const nginx =
package/languages/nim.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Grammar "nim" derived from highlight.js 11.11.1 (BSD-3-Clause).
2
+ * Grammar "nim" derived from highlight.js 11.12.0 (BSD-3-Clause).
3
3
  * Copyright (c) 2006, Ivan Sagalaev. Full text: LICENSE.highlight.txt.
4
4
  */
5
5
  export const nim = /** @type {import("./index.d.ts").LanguageType<"nim">} */ ({
package/languages/nix.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Grammar "nix" derived from highlight.js 11.11.1 (BSD-3-Clause).
2
+ * Grammar "nix" derived from highlight.js 11.12.0 (BSD-3-Clause).
3
3
  * Copyright (c) 2006, Ivan Sagalaev. Full text: LICENSE.highlight.txt.
4
4
  */
5
5
  export const nix = /** @type {import("./index.d.ts").LanguageType<"nix">} */ ({
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Grammar "node-repl" derived from highlight.js 11.11.1 (BSD-3-Clause).
2
+ * Grammar "node-repl" derived from highlight.js 11.12.0 (BSD-3-Clause).
3
3
  * Copyright (c) 2006, Ivan Sagalaev. Full text: LICENSE.highlight.txt.
4
4
  */
5
5
  export const nodeRepl =
package/languages/nsis.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Grammar "nsis" derived from highlight.js 11.11.1 (BSD-3-Clause).
2
+ * Grammar "nsis" derived from highlight.js 11.12.0 (BSD-3-Clause).
3
3
  * Copyright (c) 2006, Ivan Sagalaev. Full text: LICENSE.highlight.txt.
4
4
  */
5
5
  export const nsis =
@@ -33,6 +33,7 @@ export const nsis =
33
33
  completedtext: ["keyword", 1],
34
34
  componenttext: ["keyword", 1],
35
35
  copyfiles: ["keyword", 1],
36
+ cpu: ["keyword", 1],
36
37
  crccheck: ["keyword", 1],
37
38
  createdirectory: ["keyword", 1],
38
39
  createfont: ["keyword", 1],
@@ -88,12 +89,15 @@ export const nsis =
88
89
  getinstdirerror: ["keyword", 1],
89
90
  getknownfolderpath: ["keyword", 1],
90
91
  getlabeladdress: ["keyword", 1],
92
+ getregview: ["keyword", 1],
93
+ getshellvarcontext: ["keyword", 1],
91
94
  gettempfilename: ["keyword", 1],
92
95
  getwinver: ["keyword", 1],
93
96
  goto: ["keyword", 1],
94
97
  hidewindow: ["keyword", 1],
95
98
  icon: ["keyword", 1],
96
99
  ifabort: ["keyword", 1],
100
+ ifaltregview: ["keyword", 1],
97
101
  iferrors: ["keyword", 1],
98
102
  iffileexists: ["keyword", 1],
99
103
  ifrebootflag: ["keyword", 1],
@@ -131,7 +135,11 @@ export const nsis =
131
135
  lockwindow: ["keyword", 1],
132
136
  logset: ["keyword", 1],
133
137
  logtext: ["keyword", 1],
138
+ manifestappendcustomstring: ["keyword", 1],
139
+ manifestdisablewindowfiltering: ["keyword", 1],
134
140
  manifestdpiaware: ["keyword", 1],
141
+ manifestdpiawareness: ["keyword", 1],
142
+ manifestgdiscaling: ["keyword", 1],
135
143
  manifestlongpathaware: ["keyword", 1],
136
144
  manifestmaxversiontested: ["keyword", 1],
137
145
  manifestsupportedos: ["keyword", 1],
@@ -151,6 +159,7 @@ export const nsis =
151
159
  quit: ["keyword", 1],
152
160
  readenvstr: ["keyword", 1],
153
161
  readinistr: ["keyword", 1],
162
+ readmemory: ["keyword", 1],
154
163
  readregdword: ["keyword", 1],
155
164
  readregstr: ["keyword", 1],
156
165
  reboot: ["keyword", 1],
@@ -176,6 +185,7 @@ export const nsis =
176
185
  setcompress: ["keyword", 1],
177
186
  setcompressor: ["keyword", 1],
178
187
  setcompressordictsize: ["keyword", 1],
188
+ setcompressionlevel: ["keyword", 1],
179
189
  setctlcolors: ["keyword", 1],
180
190
  setcurinsttype: ["keyword", 1],
181
191
  setdatablockoptimize: ["keyword", 1],
@@ -204,7 +214,9 @@ export const nsis =
204
214
  strcpy: ["keyword", 1],
205
215
  strlen: ["keyword", 1],
206
216
  subcaption: ["keyword", 1],
217
+ target: ["keyword", 1],
207
218
  unicode: ["keyword", 1],
219
+ unsafestrcpy: ["keyword", 1],
208
220
  uninstallbuttontext: ["keyword", 1],
209
221
  uninstallcaption: ["keyword", 1],
210
222
  uninstallicon: ["keyword", 1],
@@ -343,7 +355,7 @@ export const nsis =
343
355
  relevance: 0,
344
356
  rules: [],
345
357
  begin:
346
- "\\b(Function|PageEx|Section|SectionGroup|FunctionEnd|SectionEnd)(?!\\.)(?=\\b|\\s)",
358
+ "\\b(Function|PageEx|Section|SectionGroup|FunctionEnd|PageExEnd|SectionEnd|SectionGroupEnd)(?!\\.)(?=\\b|\\s)",
347
359
  end: "\\B|\\b",
348
360
  keywords: {
349
361
  function: ["keyword", 1],
@@ -351,7 +363,9 @@ export const nsis =
351
363
  section: ["keyword", 1],
352
364
  sectiongroup: ["keyword", 1],
353
365
  functionend: ["keyword", 1],
366
+ pageexend: ["keyword", 1],
354
367
  sectionend: ["keyword", 1],
368
+ sectiongroupend: ["keyword", 1],
355
369
  },
356
370
  keywordPattern: "\\w+",
357
371
  notAfterDot: true,
@@ -413,14 +427,14 @@ export const nsis =
413
427
  rules: [],
414
428
  scope: "keyword",
415
429
  begin:
416
- "!(?:addincludedir|addplugindir|appendfile|assert|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|searchparse|searchreplace|system|tempfile|undef|uninstfinalize|verbose|warning)",
430
+ "!(?:addincludedir|addplugindir|appendfile|appendmemfile|assert|cd|define|delfile|echo|else|elseif|elseifdef|elseifmacrodef|elseifmacrondef|elseifndef|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|macroundef|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|uninstfinalize|verbose|warning)\\b",
417
431
  end: "\\B|\\b",
418
432
  },
419
433
  {
420
434
  rules: [],
421
435
  scope: "params",
422
436
  begin:
423
- "(?:ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HKCR|HKCU|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM|HKPD|HKU|IDABORT|IDCANCEL|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY)",
437
+ "(?:ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HKCC|HKCR|HKCR32|HKCR64|HKCU|HKCU32|HKCU64|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM|HKLM32|HKLM64|HKPD|HKU|IDABORT|IDCANCEL|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|MB_YESNOCANCEL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SW_HIDE|SW_SHOW|SW_SHOWMAXIMIZED|SW_SHOWMINIMIZED|SW_SHOWNORMAL)\\b",
424
438
  end: "\\B|\\b",
425
439
  },
426
440
  {
@@ -433,7 +447,8 @@ export const nsis =
433
447
  relevance: 0,
434
448
  rules: [],
435
449
  scope: "number",
436
- begin: "\\b\\d+(\\.\\d+)?",
450
+ begin:
451
+ "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",
437
452
  end: "\\B|\\b",
438
453
  },
439
454
  ],
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Grammar "objectivec" derived from highlight.js 11.11.1 (BSD-3-Clause).
2
+ * Grammar "objectivec" derived from highlight.js 11.12.0 (BSD-3-Clause).
3
3
  * Copyright (c) 2006, Ivan Sagalaev. Full text: LICENSE.highlight.txt.
4
4
  */
5
5
  export const objectivec =
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Grammar "ocaml" derived from highlight.js 11.11.1 (BSD-3-Clause).
2
+ * Grammar "ocaml" derived from highlight.js 11.12.0 (BSD-3-Clause).
3
3
  * Copyright (c) 2006, Ivan Sagalaev. Full text: LICENSE.highlight.txt.
4
4
  */
5
5
  export const ocaml =
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Grammar "openscad" derived from highlight.js 11.11.1 (BSD-3-Clause).
2
+ * Grammar "openscad" derived from highlight.js 11.12.0 (BSD-3-Clause).
3
3
  * Copyright (c) 2006, Ivan Sagalaev. Full text: LICENSE.highlight.txt.
4
4
  */
5
5
  export const openscad =
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Grammar "oxygene" derived from highlight.js 11.11.1 (BSD-3-Clause).
2
+ * Grammar "oxygene" derived from highlight.js 11.12.0 (BSD-3-Clause).
3
3
  * Copyright (c) 2006, Ivan Sagalaev. Full text: LICENSE.highlight.txt.
4
4
  */
5
5
  export const oxygene =
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Grammar "parser3" derived from highlight.js 11.11.1 (BSD-3-Clause).
2
+ * Grammar "parser3" derived from highlight.js 11.12.0 (BSD-3-Clause).
3
3
  * Copyright (c) 2006, Ivan Sagalaev. Full text: LICENSE.highlight.txt.
4
4
  */
5
5
  export const parser3 =
package/languages/perl.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Grammar "perl" derived from highlight.js 11.11.1 (BSD-3-Clause).
2
+ * Grammar "perl" derived from highlight.js 11.12.0 (BSD-3-Clause).
3
3
  * Copyright (c) 2006, Ivan Sagalaev. Full text: LICENSE.highlight.txt.
4
4
  */
5
5
  export const perl =
package/languages/pf.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Grammar "pf" derived from highlight.js 11.11.1 (BSD-3-Clause).
2
+ * Grammar "pf" derived from highlight.js 11.12.0 (BSD-3-Clause).
3
3
  * Copyright (c) 2006, Ivan Sagalaev. Full text: LICENSE.highlight.txt.
4
4
  */
5
5
  export const pf = /** @type {import("./index.d.ts").LanguageType<"pf">} */ ({
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Grammar "pgsql" derived from highlight.js 11.11.1 (BSD-3-Clause).
2
+ * Grammar "pgsql" derived from highlight.js 11.12.0 (BSD-3-Clause).
3
3
  * Copyright (c) 2006, Ivan Sagalaev. Full text: LICENSE.highlight.txt.
4
4
  */
5
5
  export const pgsql =
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Grammar "php-template" derived from highlight.js 11.11.1 (BSD-3-Clause).
2
+ * Grammar "php-template" derived from highlight.js 11.12.0 (BSD-3-Clause).
3
3
  * Copyright (c) 2006, Ivan Sagalaev. Full text: LICENSE.highlight.txt.
4
4
  */
5
5
  export const phpTemplate =
package/languages/php.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Grammar "php" derived from highlight.js 11.11.1 (BSD-3-Clause).
2
+ * Grammar "php" derived from highlight.js 11.12.0 (BSD-3-Clause).
3
3
  * Copyright (c) 2006, Ivan Sagalaev. Full text: LICENSE.highlight.txt.
4
4
  */
5
5
  export const php = /** @type {import("./index.d.ts").LanguageType<"php">} */ ({
@@ -12,8 +12,8 @@ export const php = /** @type {import("./index.d.ts").LanguageType<"php">} */ ({
12
12
  states: [
13
13
  {
14
14
  rules: [
15
- 1, 31, 34, 37, 41, 44, 45, 46, 47, 48, 49, 50, 4, 5, 6, 7, 8, 55, 25,
16
- 56, 64, 67, 69, 71, 12, 16, 18, 20, 21, 22, 23, 24,
15
+ 1, 43, 46, 49, 53, 56, 57, 58, 59, 60, 61, 62, 4, 5, 6, 7, 8, 73, 31,
16
+ 74, 88, 91, 93, 95, 18, 22, 24, 26, 27, 28, 29, 30,
17
17
  ],
18
18
  keywords: {
19
19
  __CLASS__: ["keyword", 1],
@@ -205,7 +205,8 @@ export const php = /** @type {import("./index.d.ts").LanguageType<"php">} */ ({
205
205
  },
206
206
  {
207
207
  rules: [
208
- 2, 3, 4, 5, 6, 7, 8, 26, 12, 16, 18, 20, 21, 22, 23, 24, 25, 29, 30,
208
+ 2, 3, 4, 5, 6, 7, 8, 32, 35, 38, 18, 22, 24, 26, 27, 28, 29, 30, 31,
209
+ 41, 42,
209
210
  ],
210
211
  begin:
211
212
  "#\\[\\s*\\\\?(?:(\\\\?[A-Z][a-z0-9_\\x7f-\\xff]+|\\\\?[A-Z]+(?=[A-Z][a-z0-9_\\x7f-\\xff])){1,}(?![A-Za-z0-9])(?![$])|[A-Z]+(?![A-Za-z0-9])(?![$]))",
@@ -222,7 +223,9 @@ export const php = /** @type {import("./index.d.ts").LanguageType<"php">} */ ({
222
223
  endWrapScope: "meta",
223
224
  },
224
225
  {
225
- rules: [2, 3, 4, 5, 6, 7, 8, 9, 12, 16, 18, 20, 21, 22, 23, 24, 25],
226
+ rules: [
227
+ 2, 3, 4, 5, 6, 7, 8, 9, 12, 15, 18, 22, 24, 26, 27, 28, 29, 30, 31,
228
+ ],
226
229
  begin: "\\[",
227
230
  end: "]",
228
231
  keywords: {
@@ -290,14 +293,44 @@ export const php = /** @type {import("./index.d.ts").LanguageType<"php">} */ ({
290
293
  "[ ]+((?:I|a|is|so|us|to|at|if|in|it|on|[A-Za-z]+['](d|ve|re|ll|t|s|n)|[A-Za-z]+[-][a-z]+|[A-Za-z][a-z]{2,})[.]?[:]?([.][ ]|[ ])){3}",
291
294
  end: "\\B|\\b",
292
295
  },
293
- { rules: [13, 14, 15], scope: "string", begin: '"', end: '"' },
296
+ { rules: [13, 14], scope: "comment", begin: "//", end: "$" },
297
+ {
298
+ relevance: 0,
299
+ rules: [],
300
+ scope: "doctag",
301
+ begin: "[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",
302
+ end: "(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",
303
+ excludeBegin: true,
304
+ },
305
+ {
306
+ rules: [],
307
+ begin:
308
+ "[ ]+((?:I|a|is|so|us|to|at|if|in|it|on|[A-Za-z]+['](d|ve|re|ll|t|s|n)|[A-Za-z]+[-][a-z]+|[A-Za-z][a-z]{2,})[.]?[:]?([.][ ]|[ ])){3}",
309
+ end: "\\B|\\b",
310
+ },
311
+ { rules: [16, 17], scope: "comment", begin: "#", end: "$" },
312
+ {
313
+ relevance: 0,
314
+ rules: [],
315
+ scope: "doctag",
316
+ begin: "[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",
317
+ end: "(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",
318
+ excludeBegin: true,
319
+ },
320
+ {
321
+ rules: [],
322
+ begin:
323
+ "[ ]+((?:I|a|is|so|us|to|at|if|in|it|on|[A-Za-z]+['](d|ve|re|ll|t|s|n)|[A-Za-z]+[-][a-z]+|[A-Za-z][a-z]{2,})[.]?[:]?([.][ ]|[ ])){3}",
324
+ end: "\\B|\\b",
325
+ },
326
+ { rules: [19, 20, 21], scope: "string", begin: '"', end: '"' },
294
327
  { relevance: 0, rules: [], begin: "\\\\[\\s\\S]", end: "\\B|\\b" },
295
328
  { rules: [], scope: "subst", begin: "\\$\\w+", end: "\\B|\\b" },
296
329
  { rules: [], scope: "subst", begin: "\\{\\$", end: "\\}" },
297
- { rules: [17], scope: "string", begin: "'", end: "'" },
330
+ { rules: [23], scope: "string", begin: "'", end: "'" },
298
331
  { relevance: 0, rules: [], begin: "\\\\[\\s\\S]", end: "\\B|\\b" },
299
332
  {
300
- rules: [19, 14, 15],
333
+ rules: [25, 20, 21],
301
334
  scope: "string",
302
335
  begin: '<<<[ \\t]*(?:(\\w+)|"(\\w+)")\\n',
303
336
  end: "[ \\t]*(\\w+)\\b",
@@ -347,7 +380,37 @@ export const php = /** @type {import("./index.d.ts").LanguageType<"php">} */ ({
347
380
  end: "\\B|\\b",
348
381
  captureScopes: { 1: "keyword", 2: null, 3: null, 4: "title.class" },
349
382
  },
350
- { rules: [27, 28], scope: "comment", begin: "/\\*", end: "\\*/" },
383
+ { rules: [33, 34], scope: "comment", begin: "/\\*", end: "\\*/" },
384
+ {
385
+ relevance: 0,
386
+ rules: [],
387
+ scope: "doctag",
388
+ begin: "[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",
389
+ end: "(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",
390
+ excludeBegin: true,
391
+ },
392
+ {
393
+ rules: [],
394
+ begin:
395
+ "[ ]+((?:I|a|is|so|us|to|at|if|in|it|on|[A-Za-z]+['](d|ve|re|ll|t|s|n)|[A-Za-z]+[-][a-z]+|[A-Za-z][a-z]{2,})[.]?[:]?([.][ ]|[ ])){3}",
396
+ end: "\\B|\\b",
397
+ },
398
+ { rules: [36, 37], scope: "comment", begin: "//", end: "$" },
399
+ {
400
+ relevance: 0,
401
+ rules: [],
402
+ scope: "doctag",
403
+ begin: "[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",
404
+ end: "(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",
405
+ excludeBegin: true,
406
+ },
407
+ {
408
+ rules: [],
409
+ begin:
410
+ "[ ]+((?:I|a|is|so|us|to|at|if|in|it|on|[A-Za-z]+['](d|ve|re|ll|t|s|n)|[A-Za-z]+[-][a-z]+|[A-Za-z][a-z]{2,})[.]?[:]?([.][ ]|[ ])){3}",
411
+ end: "\\B|\\b",
412
+ },
413
+ { rules: [39, 40], scope: "comment", begin: "#", end: "$" },
351
414
  {
352
415
  relevance: 0,
353
416
  rules: [],
@@ -375,7 +438,7 @@ export const php = /** @type {import("./index.d.ts").LanguageType<"php">} */ ({
375
438
  begin: "[A-Z]+(?![A-Za-z0-9])(?![$])",
376
439
  end: "\\B|\\b",
377
440
  },
378
- { rules: [32, 33], scope: "comment", begin: "#", end: "$" },
441
+ { rules: [44, 45], scope: "comment", begin: "#", end: "$" },
379
442
  {
380
443
  relevance: 0,
381
444
  rules: [],
@@ -390,7 +453,7 @@ export const php = /** @type {import("./index.d.ts").LanguageType<"php">} */ ({
390
453
  "[ ]+((?:I|a|is|so|us|to|at|if|in|it|on|[A-Za-z]+['](d|ve|re|ll|t|s|n)|[A-Za-z]+[-][a-z]+|[A-Za-z][a-z]{2,})[.]?[:]?([.][ ]|[ ])){3}",
391
454
  end: "\\B|\\b",
392
455
  },
393
- { rules: [35, 36], scope: "comment", begin: "//", end: "$" },
456
+ { rules: [47, 48], scope: "comment", begin: "//", end: "$" },
394
457
  {
395
458
  relevance: 0,
396
459
  rules: [],
@@ -405,7 +468,7 @@ export const php = /** @type {import("./index.d.ts").LanguageType<"php">} */ ({
405
468
  "[ ]+((?:I|a|is|so|us|to|at|if|in|it|on|[A-Za-z]+['](d|ve|re|ll|t|s|n)|[A-Za-z]+[-][a-z]+|[A-Za-z][a-z]{2,})[.]?[:]?([.][ ]|[ ])){3}",
406
469
  end: "\\B|\\b",
407
470
  },
408
- { rules: [38, 39, 40], scope: "comment", begin: "/\\*", end: "\\*/" },
471
+ { rules: [50, 51, 52], scope: "comment", begin: "/\\*", end: "\\*/" },
409
472
  { rules: [], scope: "doctag", begin: "@[A-Za-z]+", end: "\\B|\\b" },
410
473
  {
411
474
  relevance: 0,
@@ -427,9 +490,9 @@ export const php = /** @type {import("./index.d.ts").LanguageType<"php">} */ ({
427
490
  end: "\\B|\\b",
428
491
  keywords: { __halt_compiler: ["keyword", 1] },
429
492
  keywordPattern: "\\w+",
430
- starts: 42,
493
+ starts: 54,
431
494
  },
432
- { rules: [43], scope: "comment", begin: "\\B|\\b", end: "\\b\\B" },
495
+ { rules: [55], scope: "comment", begin: "\\B|\\b", end: "\\b\\B" },
433
496
  {
434
497
  rules: [],
435
498
  scope: "meta",
@@ -468,7 +531,7 @@ export const php = /** @type {import("./index.d.ts").LanguageType<"php">} */ ({
468
531
  },
469
532
  {
470
533
  relevance: 0,
471
- rules: [51],
534
+ rules: [63],
472
535
  begin:
473
536
  "(\\b)((?!fn\\b|function\\b|__CLASS__\\b|__DIR__\\b|__FILE__\\b|__FUNCTION__\\b|__COMPILER_HALT_OFFSET__\\b|__LINE__\\b|__METHOD__\\b|__NAMESPACE__\\b|__TRAIT__\\b|die\\b|echo\\b|exit\\b|include\\b|include_once\\b|print\\b|require\\b|require_once\\b|array\\b|abstract\\b|and\\b|as\\b|binary\\b|bool\\b|boolean\\b|break\\b|callable\\b|case\\b|catch\\b|class\\b|clone\\b|const\\b|continue\\b|declare\\b|default\\b|do\\b|double\\b|else\\b|elseif\\b|empty\\b|enddeclare\\b|endfor\\b|endforeach\\b|endif\\b|endswitch\\b|endwhile\\b|enum\\b|eval\\b|extends\\b|final\\b|finally\\b|float\\b|for\\b|foreach\\b|from\\b|global\\b|goto\\b|if\\b|implements\\b|instanceof\\b|insteadof\\b|int\\b|integer\\b|interface\\b|isset\\b|iterable\\b|list\\b|match\\b|mixed\\b|new\\b|never\\b|object\\b|or\\b|private\\b|protected\\b|public\\b|readonly\\b|real\\b|return\\b|string\\b|switch\\b|throw\\b|trait\\b|try\\b|unset\\b|use\\b|var\\b|void\\b|while\\b|xor\\b|yield|Error\\b|AppendIterator\\b|ArgumentCountError\\b|ArithmeticError\\b|ArrayIterator\\b|ArrayObject\\b|AssertionError\\b|BadFunctionCallException\\b|BadMethodCallException\\b|CachingIterator\\b|CallbackFilterIterator\\b|CompileError\\b|Countable\\b|DirectoryIterator\\b|DivisionByZeroError\\b|DomainException\\b|EmptyIterator\\b|ErrorException\\b|Exception\\b|FilesystemIterator\\b|FilterIterator\\b|GlobIterator\\b|InfiniteIterator\\b|InvalidArgumentException\\b|IteratorIterator\\b|LengthException\\b|LimitIterator\\b|LogicException\\b|MultipleIterator\\b|NoRewindIterator\\b|OutOfBoundsException\\b|OutOfRangeException\\b|OuterIterator\\b|OverflowException\\b|ParentIterator\\b|ParseError\\b|RangeException\\b|RecursiveArrayIterator\\b|RecursiveCachingIterator\\b|RecursiveCallbackFilterIterator\\b|RecursiveDirectoryIterator\\b|RecursiveFilterIterator\\b|RecursiveIterator\\b|RecursiveIteratorIterator\\b|RecursiveRegexIterator\\b|RecursiveTreeIterator\\b|RegexIterator\\b|RuntimeException\\b|SeekableIterator\\b|SplDoublyLinkedList\\b|SplFileInfo\\b|SplFileObject\\b|SplFixedArray\\b|SplHeap\\b|SplMaxHeap\\b|SplMinHeap\\b|SplObjectStorage\\b|SplObserver\\b|SplPriorityQueue\\b|SplQueue\\b|SplStack\\b|SplSubject\\b|SplTempFileObject\\b|TypeError\\b|UnderflowException\\b|UnexpectedValueException\\b|UnhandledMatchError\\b|ArrayAccess\\b|BackedEnum\\b|Closure\\b|Fiber\\b|Generator\\b|Iterator\\b|IteratorAggregate\\b|Serializable\\b|Stringable\\b|Throwable\\b|Traversable\\b|UnitEnum\\b|WeakReference\\b|WeakMap\\b|Directory\\b|__PHP_Incomplete_Class\\b|parent\\b|php_user_filter\\b|self\\b|static\\b|stdClass\\b))([a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*(?![A-Za-z0-9])(?![$]))([ \t\n]*)((?=(?=\\()))",
474
537
  end: "\\B|\\b",
@@ -483,7 +546,8 @@ export const php = /** @type {import("./index.d.ts").LanguageType<"php">} */ ({
483
546
  {
484
547
  relevance: 0,
485
548
  rules: [
486
- 3, 49, 4, 5, 6, 7, 8, 52, 12, 16, 18, 20, 21, 22, 23, 24, 25, 50,
549
+ 3, 61, 4, 5, 6, 7, 8, 64, 67, 70, 18, 22, 24, 26, 27, 28, 29, 30, 31,
550
+ 62,
487
551
  ],
488
552
  begin: "\\(",
489
553
  end: "\\)",
@@ -675,7 +739,37 @@ export const php = /** @type {import("./index.d.ts").LanguageType<"php">} */ ({
675
739
  },
676
740
  keywordPattern: "\\w+",
677
741
  },
678
- { rules: [53, 54], scope: "comment", begin: "/\\*", end: "\\*/" },
742
+ { rules: [65, 66], scope: "comment", begin: "/\\*", end: "\\*/" },
743
+ {
744
+ relevance: 0,
745
+ rules: [],
746
+ scope: "doctag",
747
+ begin: "[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",
748
+ end: "(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",
749
+ excludeBegin: true,
750
+ },
751
+ {
752
+ rules: [],
753
+ begin:
754
+ "[ ]+((?:I|a|is|so|us|to|at|if|in|it|on|[A-Za-z]+['](d|ve|re|ll|t|s|n)|[A-Za-z]+[-][a-z]+|[A-Za-z][a-z]{2,})[.]?[:]?([.][ ]|[ ])){3}",
755
+ end: "\\B|\\b",
756
+ },
757
+ { rules: [68, 69], scope: "comment", begin: "//", end: "$" },
758
+ {
759
+ relevance: 0,
760
+ rules: [],
761
+ scope: "doctag",
762
+ begin: "[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",
763
+ end: "(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",
764
+ excludeBegin: true,
765
+ },
766
+ {
767
+ rules: [],
768
+ begin:
769
+ "[ ]+((?:I|a|is|so|us|to|at|if|in|it|on|[A-Za-z]+['](d|ve|re|ll|t|s|n)|[A-Za-z]+[-][a-z]+|[A-Za-z][a-z]{2,})[.]?[:]?([.][ ]|[ ])){3}",
770
+ end: "\\B|\\b",
771
+ },
772
+ { rules: [71, 72], scope: "comment", begin: "#", end: "$" },
679
773
  {
680
774
  relevance: 0,
681
775
  rules: [],
@@ -699,7 +793,7 @@ export const php = /** @type {import("./index.d.ts").LanguageType<"php">} */ ({
699
793
  },
700
794
  {
701
795
  relevance: 0,
702
- rules: [57, 58, 59, 60],
796
+ rules: [75, 76, 77, 78],
703
797
  scope: "function",
704
798
  begin: "\\b(fn|function)(?!\\.)(?=\\b|\\s)",
705
799
  end: "[;{]",
@@ -727,7 +821,9 @@ export const php = /** @type {import("./index.d.ts").LanguageType<"php">} */ ({
727
821
  },
728
822
  { rules: [], begin: "=>", end: "\\B|\\b", endsParent: true },
729
823
  {
730
- rules: [60, 1, 49, 4, 5, 6, 7, 8, 61, 12, 16, 18, 20, 21, 22, 23, 24],
824
+ rules: [
825
+ 78, 1, 61, 4, 5, 6, 7, 8, 79, 82, 85, 18, 22, 24, 26, 27, 28, 29, 30,
826
+ ],
731
827
  scope: "params",
732
828
  begin: "\\(",
733
829
  end: "\\)",
@@ -921,7 +1017,37 @@ export const php = /** @type {import("./index.d.ts").LanguageType<"php">} */ ({
921
1017
  },
922
1018
  keywordPattern: "\\w+",
923
1019
  },
924
- { rules: [62, 63], scope: "comment", begin: "/\\*", end: "\\*/" },
1020
+ { rules: [80, 81], scope: "comment", begin: "/\\*", end: "\\*/" },
1021
+ {
1022
+ relevance: 0,
1023
+ rules: [],
1024
+ scope: "doctag",
1025
+ begin: "[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",
1026
+ end: "(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",
1027
+ excludeBegin: true,
1028
+ },
1029
+ {
1030
+ rules: [],
1031
+ begin:
1032
+ "[ ]+((?:I|a|is|so|us|to|at|if|in|it|on|[A-Za-z]+['](d|ve|re|ll|t|s|n)|[A-Za-z]+[-][a-z]+|[A-Za-z][a-z]{2,})[.]?[:]?([.][ ]|[ ])){3}",
1033
+ end: "\\B|\\b",
1034
+ },
1035
+ { rules: [83, 84], scope: "comment", begin: "//", end: "$" },
1036
+ {
1037
+ relevance: 0,
1038
+ rules: [],
1039
+ scope: "doctag",
1040
+ begin: "[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",
1041
+ end: "(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",
1042
+ excludeBegin: true,
1043
+ },
1044
+ {
1045
+ rules: [],
1046
+ begin:
1047
+ "[ ]+((?:I|a|is|so|us|to|at|if|in|it|on|[A-Za-z]+['](d|ve|re|ll|t|s|n)|[A-Za-z]+[-][a-z]+|[A-Za-z][a-z]{2,})[.]?[:]?([.][ ]|[ ])){3}",
1048
+ end: "\\B|\\b",
1049
+ },
1050
+ { rules: [86, 87], scope: "comment", begin: "#", end: "$" },
925
1051
  {
926
1052
  relevance: 0,
927
1053
  rules: [],
@@ -938,7 +1064,7 @@ export const php = /** @type {import("./index.d.ts").LanguageType<"php">} */ ({
938
1064
  },
939
1065
  {
940
1066
  relevance: 0,
941
- rules: [65, 66],
1067
+ rules: [89, 90],
942
1068
  scope: "class",
943
1069
  begin: "\\b(enum)(?!\\.)(?=\\b|\\s)",
944
1070
  end: "\\{",
@@ -966,7 +1092,7 @@ export const php = /** @type {import("./index.d.ts").LanguageType<"php">} */ ({
966
1092
  },
967
1093
  {
968
1094
  relevance: 0,
969
- rules: [65, 68],
1095
+ rules: [89, 92],
970
1096
  scope: "class",
971
1097
  begin: "\\b(class|interface|trait)(?!\\.)(?=\\b|\\s)",
972
1098
  end: "\\{",
@@ -989,7 +1115,7 @@ export const php = /** @type {import("./index.d.ts").LanguageType<"php">} */ ({
989
1115
  },
990
1116
  {
991
1117
  relevance: 0,
992
- rules: [70],
1118
+ rules: [94],
993
1119
  begin: "\\b(namespace)(?!\\.)(?=\\b|\\s)",
994
1120
  end: ";",
995
1121
  illegal: "[.']",
@@ -1006,7 +1132,7 @@ export const php = /** @type {import("./index.d.ts").LanguageType<"php">} */ ({
1006
1132
  },
1007
1133
  {
1008
1134
  relevance: 0,
1009
- rules: [72, 73],
1135
+ rules: [96, 97],
1010
1136
  begin: "\\b(use)(?!\\.)(?=\\b|\\s)",
1011
1137
  end: ";",
1012
1138
  keywords: { use: ["keyword", 1] },
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Grammar "plaintext" derived from highlight.js 11.11.1 (BSD-3-Clause).
2
+ * Grammar "plaintext" derived from highlight.js 11.12.0 (BSD-3-Clause).
3
3
  * Copyright (c) 2006, Ivan Sagalaev. Full text: LICENSE.highlight.txt.
4
4
  */
5
5
  export const plaintext =
package/languages/pony.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Grammar "pony" derived from highlight.js 11.11.1 (BSD-3-Clause).
2
+ * Grammar "pony" derived from highlight.js 11.12.0 (BSD-3-Clause).
3
3
  * Copyright (c) 2006, Ivan Sagalaev. Full text: LICENSE.highlight.txt.
4
4
  */
5
5
  export const pony =
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Grammar "powershell" derived from highlight.js 11.11.1 (BSD-3-Clause).
2
+ * Grammar "powershell" derived from highlight.js 11.12.0 (BSD-3-Clause).
3
3
  * Copyright (c) 2006, Ivan Sagalaev. Full text: LICENSE.highlight.txt.
4
4
  */
5
5
  export const powershell =
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Grammar "processing" derived from highlight.js 11.11.1 (BSD-3-Clause).
2
+ * Grammar "processing" derived from highlight.js 11.12.0 (BSD-3-Clause).
3
3
  * Copyright (c) 2006, Ivan Sagalaev. Full text: LICENSE.highlight.txt.
4
4
  */
5
5
  export const processing =
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Grammar "profile" derived from highlight.js 11.11.1 (BSD-3-Clause).
2
+ * Grammar "profile" derived from highlight.js 11.12.0 (BSD-3-Clause).
3
3
  * Copyright (c) 2006, Ivan Sagalaev. Full text: LICENSE.highlight.txt.
4
4
  */
5
5
  export const profile =
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Grammar "prolog" derived from highlight.js 11.11.1 (BSD-3-Clause).
2
+ * Grammar "prolog" derived from highlight.js 11.12.0 (BSD-3-Clause).
3
3
  * Copyright (c) 2006, Ivan Sagalaev. Full text: LICENSE.highlight.txt.
4
4
  */
5
5
  export const prolog =
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Grammar "properties" derived from highlight.js 11.11.1 (BSD-3-Clause).
2
+ * Grammar "properties" derived from highlight.js 11.12.0 (BSD-3-Clause).
3
3
  * Copyright (c) 2006, Ivan Sagalaev. Full text: LICENSE.highlight.txt.
4
4
  */
5
5
  export const properties =
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Grammar "protobuf" derived from highlight.js 11.11.1 (BSD-3-Clause).
2
+ * Grammar "protobuf" derived from highlight.js 11.12.0 (BSD-3-Clause).
3
3
  * Copyright (c) 2006, Ivan Sagalaev. Full text: LICENSE.highlight.txt.
4
4
  */
5
5
  export const protobuf =
@@ -0,0 +1,2 @@
1
+ export { prql } from "./";
2
+ export { prql as default } from "./";