Skip to content

Refactor tree-sitter / LanguageDefinitions code #2498

Open
@pokey

Description

@pokey

Instead of passing in two tree-sitter-specific components here

treeSitterQueryProvider?: RawTreeSitterQueryProvider;
treeSitter?: TreeSitter;
we should instead just pass in a LanguageDefinitions. Note that we'll need to rework ParseTreeAction, as that still requires tree-sitter. The proper way to do that would be to support passing in a map of custom actions, but maybe there's an easier way to do it in the short term

Metadata

Metadata

Assignees

No one assigned

    Labels

    code qualityImprovements to code quality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions