Skip to content

Current node highlight preview functionality #39

Open
@kuator

Description

@kuator

Currently, without treesitter-unit, it's not possible to determine the syntax node the user is currently located in. This is why installing treesitter-unit becomes necessary. However, this functionality is fundamental and would be a strong candidate for inclusion as a built-in feature.

Here's a demo showcasing a potential implementation of a treewalker with highlight preview enabled:

Peek.2025-05-20.20-56.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bakingWaiting to see if this is functionality desired by manyfeature request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions