nvim-treesitter-textobjects
nvim-treesitter-textobjects copied to clipboard
Accept counts
Would be nice if the move commands could accept counts. And also the select commands could accept counts to select an outer textobject in a nested structure.
as in v2af selecting 2 functions? If so, yes, that would be very nice (I came here to file that feature request)
as in v2af selecting 2 functions? If so, yes, that would be very nice (I came here to file that feature request)
Yes, precisely that but maybe also to select the outer ones of two nested functions.
Would be nice if the move commands could accept counts. And also the select commands could accept counts to select an outer textobject in a nested structure.
Select outer and inner, I think here is. https://github.com/nvim-treesitter/nvim-treesitter#incremental-selection
Will add the count option soon, this will also make the plugin a lot faster...
Any news on implementation of this?
would this also cover the use case for jumping to a second match for instance deleting the second argument in a function d2]a