nvim-treesitter / nvim-treesitter/nvim-treesitter-textobjects
Accept counts
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Tree-sitter Query
- Stars
- 2.8k
- Forks
- 271
- Avg merge
- 8d 8h
- Merged PRs (30d)
- 1
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the move commands and select commands in the plugin and read how textobjects are resolved in nested structures. Define the expected count behavior for moving and for selecting an outer textobject, then add or update the relevant tests so both command groups accept counts and nested selection reaches the requested level.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100