TreeSitterSyntaxProviderOptions
TreeSitterSyntaxProviderOptions =
object
Properties
Section titled “Properties”warmLanguages?
Section titled “warmLanguages?”
readonlyoptionalwarmLanguages?: () => readonlyTreeSitterLanguageId[]
Languages to compile ahead of their first document, read each time a document’s first parse answers, so the host’s set can change (a workspace switch) and paint is never delayed. Each is compiled once with its injection closure; unknown ids and load failures are skipped.
Returns
Section titled “Returns”readonly TreeSitterLanguageId[]
workerOwner?
Section titled “workerOwner?”
readonlyoptionalworkerOwner?:TreeSitterWorkerOwner