Commit Graph

3 Commits (fc97ecc3e3186b9dfe958869178bdb6b8cd7d8df)

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
8 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'
8 months ago
Jaakko Paju 73deba7044
Add textobject queries for Scala (#9191) 9 months ago