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.
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.