Skip to content

Interface with tree-sitter directly for testing (creating Grammar from tree-sitter objects). #26

@hadronized

Description

@hadronized

Hello,

I am the kak-tree-sitter author and currently finishing my integration of tree-house to replace tree-sitter-highlight. I have issues with the generated events for highlighting, and so I wanted to write tests to ensure what I compute is actually correct.

However, there is no way to use in-memory languages, such as tree-sitter-rust, as the only thing I found is tree_house_bindings::Grammar::new(), which expects a Path.

Any idea? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions