aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/scala/highlights.scm
Commit message (Collapse)AuthorAge
* Improve tree-sitter queries for Scala (#9475)Jaakko Paju2024-02-04
| | | | | | - 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
* highlight(scala): highlight abstract methods in traits and classes (#9340)Jaakko Paju2024-01-28
|
* Update Scala tree-sitter grammar (#9348)Jaakko Paju2024-01-22
| | | | | | | * Update Scala tree-sitter grammar * Support block comments Modify comment handling in textobjects and highlights to support new TS-scala node type 'block_comment'
* highlight(scala): update to fix potential crash (#5576)eugene yokota2023-01-19
| | | | | | | | | | | | * highlight(scala): update to fix crash tree-sitter-scala has recently add a fix to workaround segv crashes in other editors. Not sure if it happens to Helix as well, but it's probably a good idea to use the latest. * highlight(scala): String interpolator support This captures String interpolator as `function` Co-authored-by: Chris Kipp <ckipp@pm.me>
* highlight(scala): update the Scala highlight queries (#5546)eugene yokota2023-01-16
| | | | | | | | | | There have been a lot of changes in tree-sitter/tree-sitter-scala, including partial support for Scala 3 syntax and breaking changes in some of the nodes. This bumps up the grammar to the latest, and adjusts the queries. Co-authored-by: Anton Sviridov <keynmol@gmail.com> Co-authored-by: Chris Kipp <ckipp@pm.me>
* Add scala syntax highlights (#1278)Oliver Hechtl2021-12-18
* add partial scala syntax highlights * ran cargo xtask docgen * updated tree-sitter-scala, fixed highlights * fix comments * move identifier to the end of the highlights * add indents