tree-sitter-langs
tree-sitter-langs copied to clipboard
Initial support for kotlin
I don't know it this is good enough to merge. I will anyway work some more on this.
Can you add a Kotlin file with example code? I think examples/hl.kt
might be a good name.
We don't have automated highlighting tests at the moment, but such a file would still be useful for "look-n-feel tours".
(We can add examples for other languages later on.)
Example file, like this: examples/hl.kt
Should I do something more with this?
I was trying it out locally and looks like there is some issues with the highlight queries. I am not entirely sure as to what is going on. This theme only highlights function names and strings.
Built-in | Tree-sitter |
---|---|
![]() |
![]() |
Kotlin is added in #212. Feel free to open PRs for improvements!