Synchronous and (way) faster alternative to the RShell using tree-sitter.

Implements

Constructors

Properties

name: "tree-sitter" = 'tree-sitter'
parser: Parser

Methods

  • Initializes the underlying tree-sitter parser. This only needs to be called once globally.

    Parameters

    • OptionaloverrideWasmPath: string

      The path to the tree-sitter-r wasm file, which takes precedence over the config and default paths if set.

    • OptionaloverrideTreeSitterWasmPath: string

      The path to the tree-sitter wasm file, which takes precedence over the config and default paths if set.

    Returns Promise<void>