Skip to content

Refactor into standalone plugin #503

Closed
@clason

Description

Nvim-treesitter 1.0 (expected later this year) will completely remove the module system in order to significantly reduce complexity.

This means that nvim-treesitter-textobjects needs to be refactored into a standalone plugin, similarly to https://github.com/nvim-treesitter/nvim-treesitter-context or the indent.lua module in 1.0. (There's no need to hook into nvim-treesitter; textobjects should simply work if a suitable parser and queries are in runtimepath. This should also allow simplifying the setup as it no longer needs to be shoehorned into the nvim-treesitter setup structure.)

As a bonus, the incremental-selection (also removed in 1.0) feature could be integrated here as a in/an node object.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions