tree-sitter-langs icon indicating copy to clipboard operation
tree-sitter-langs copied to clipboard

Initial support for kotlin

Open knobo opened this issue 2 years ago • 5 comments

knobo avatar Mar 06 '22 10:03 knobo

I don't know it this is good enough to merge. I will anyway work some more on this.

knobo avatar Mar 06 '22 10:03 knobo

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.)

ubolonton avatar Mar 19 '22 04:03 ubolonton

Example file, like this: examples/hl.kt

knobo avatar Mar 28 '22 17:03 knobo

Should I do something more with this?

knobo avatar Sep 20 '22 13:09 knobo

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
EMACS-Screenshot-2022-09-24-19:49:42 EMACS-Screenshot-2022-09-24-19:49:03

meain avatar Sep 24 '22 14:09 meain

Kotlin is added in #212. Feel free to open PRs for improvements!

jcs090218 avatar Sep 04 '23 04:09 jcs090218