| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
|
| |
* 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 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>
|
|
|
|
|
|
|
|
|
|
| |
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 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
|