Skip to content

Add documentation for Treesitter capture groupsΒ #380

@bew

Description

@bew

The plugin uses many query files for Treesitter support, using capture groups like @scope.tag, @open.tag, ..
I wanted to experiment with changing some queries, or add new queries for a custom languages, BUT I couldn't find any documentation for these capture groups.

πŸ‘‰ Could you please add some documentation (in help file at least) for these?


Related question: why are the TS queries in /after/queries/ instead of in /queries/ like most other TS plugins like nvim-treesitter ? (this makes it a little awkward to override those query files, most of my overrides are in /queries/ and I'd have to have a separate set of overrides for matchup πŸ€”)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions