Commit Graph

3 Commits (02b6f1488a4a1438b268f87d96c474a946ea3e5e)

Author SHA1 Message Date
Jaakko Paju 75d61d8149
Improve tree-sitter queries for Scala (#9475)
- Simplify function highlighting
- Highlight extension methods
- Textobject query (mia/maa) for class/trait constructor parameters/arguments
- Textobject query (mif/maf) for Scala 3 braceless lambdas
10 months ago
Jaakko Paju 9ed3dc52e0
Update Scala tree-sitter grammar (#9348)
* Update Scala tree-sitter grammar

* Support block comments

Modify comment handling in textobjects and highlights to support new TS-scala node type 'block_comment'
10 months ago
Jaakko Paju 73deba7044
Add textobject queries for Scala (#9191) 11 months ago