Skip to content

wrapscan support #863

Description

@Kaiser-Yang

Is your feature request related to a problem? Please describe.

Many motions in nvim can be wrapscanned, for example "n" and "N" when they hit the bottom or the top, they go top or bottom to research. I hope the motion in nvim-treesitter-textobjects can be wrapscanned too.

Describe the solution you'd like

For example, when there is no function below and I use "]m" to go to next, it can go to the first function. That will be definitely fancy if there is a configuration to enable or disable the feature.

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

Metadata

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