nvim-treesitter / nvim-treesitter/nvim-treesitter-textobjects
Add @block for Scala 3
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
Is your feature request related to a problem? Please describe.
@block is not defined at all for Scala.
Describe the solution you'd like
@block should cover indented_block (for braceless syntax) and block for braced syntax
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 Scala textobject query and reviewing how existing captures are defined. Add the @block capture so it covers both indented_block for braceless syntax and block for braced syntax, then verify the query parses and both forms are matched.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100