TreeSitterLanguageAssets
TreeSitterLanguageAssets =
object
Properties
Section titled “Properties”extraWasmUrls?
Section titled “extraWasmUrls?”
readonlyoptionalextraWasmUrls?:Readonly<Record<string,string>>
Grammars the language’s native support loads besides wasmUrl. Markdown names resolver
(tree-sitter-md.wasm) and math (tree-sitter-markdown-math.wasm); MDX, which parses its
prose with the same support, also names markdown. They come from the language’s plugin so
an app that never highlights Markdown never bundles them.
foldQuerySource?
Section titled “foldQuerySource?”
readonlyoptionalfoldQuerySource?:string
highlightQuerySource?
Section titled “highlightQuerySource?”
readonlyoptionalhighlightQuerySource?:string
injectionQuerySource?
Section titled “injectionQuerySource?”
readonlyoptionalinjectionQuerySource?:string
mergeUnitQuerySource?
Section titled “mergeUnitQuerySource?”
readonlyoptionalmergeUnitQuerySource?:string
wasmUrl
Section titled “wasmUrl”
readonlywasmUrl:string