Skip to content

Commit 4949871

Browse files
feat: Verilog, SystemVerilog, and VHDL code is syntax highlighted
Bump @pierre/highlights to 0.3.0, which adds Verilog/SystemVerilog and VHDL lexers, and regenerate the mobile native highlighter for the new token and language IDs. @pierre/diffs already maps .v/.vh, .sv/.svh and .vhd/.vhdl to these languages. Add the three languages to the code-block language picker. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 47f2c8d commit 4949871

8 files changed

Lines changed: 125419 additions & 75662 deletions

File tree

‎apps/mobile/modules/t3-highlights/Vendor/highlights/highlights.c‎

Lines changed: 125041 additions & 75426 deletions
Large diffs are not rendered by default.

‎apps/mobile/modules/t3-highlights/Vendor/highlights/highlights.h‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Generated by apps/mobile/scripts/generate-highlights.mts from @pierre/highlights 0.2.0 (highlights.wasm sha256 cf5fc4d83e7c1ddab19d163de096f787f87efe61504909aa469434f61ef51e2e). Do not edit. */
1+
/* Generated by apps/mobile/scripts/generate-highlights.mts from @pierre/highlights 0.3.0 (highlights.wasm sha256 6a635551a678464827515ea678b477e3b3f41c7c97e0f3edfc73beae4f504a8a). Do not edit. */
22
/* Automatically generated by wasm2c */
33
#ifndef HIGHLIGHTS_H_GENERATED_
44
#define HIGHLIGHTS_H_GENERATED_
@@ -40,7 +40,7 @@ typedef struct w2c_highlights {
4040
u32 w2c_g8;
4141
u32 w2c_g9;
4242
u32 w2c_g10;
43-
u64 w2c_g11;
43+
u32 w2c_g11;
4444
u32 w2c_g12;
4545
u32 w2c_g13;
4646
u32 w2c_g14;
@@ -92,7 +92,7 @@ typedef struct w2c_highlights {
9292
u32 w2c_g60;
9393
u32 w2c_g61;
9494
u32 w2c_g62;
95-
u32 w2c_g63;
95+
u64 w2c_g63;
9696
u32 w2c_g64;
9797
u32 w2c_g65;
9898
u32 w2c_g66;
@@ -153,6 +153,12 @@ typedef struct w2c_highlights {
153153
u32 w2c_g121;
154154
u32 w2c_g122;
155155
u32 w2c_g123;
156+
u32 w2c_g124;
157+
u32 w2c_g125;
158+
u32 w2c_g126;
159+
u32 w2c_g127;
160+
u32 w2c_g128;
161+
u32 w2c_g129;
156162
wasm_rt_memory_t w2c_memory;
157163
wasm_rt_funcref_table_t w2c_T0;
158164
} w2c_highlights;

0 commit comments

Comments
 (0)