1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[]
= "devup-editor-syntax-highlight"
= "Tree-sitter based syntax highlighting for devup-editor code blocks"
= true
= true
= true
= true
= true
= true
[]
= "warn"
[]
= "warn"
= "warn"
[]
# arborium is the only tree-sitter wrapper that compiles cleanly to
# wasm32-unknown-unknown (it ships its own libc-free sysroot via
# `arborium-sysroot`). We enable grammars via explicit lang-* features
# to keep the WASM binary size in check. MVP: Rust + TS/JS only.
#
# DO NOT enable `all-languages` — the parse tables add ~1.2 MB gzipped
# for all 100+ grammars. See
# `.sisyphus/plans/tier-a-benchmark-decisions.md` for the full bundle
# budget discussion.
= { = "2.16", = false, = [
"lang-rust",
"lang-typescript",
"lang-javascript",
"lang-python",
"lang-json",
"lang-bash",
"lang-html",
"lang-css",
"lang-markdown",
"lang-sql",
# NOTE: TSX/JSX grammars are NOT enabled. tree-sitter-tsx ships
# its own parse tables (doesn't inherit JS/TS parser) so it
# doubles the TypeScript size footprint. For the MVP we map
# `tsx`/`jsx` to the JavaScript grammar; see normalize_language
# in src/lib.rs. Users get reasonable highlighting minus the
# JSX-specific refinements until a follow-up enables `lang-tsx`.
] }