zed-extensions / kotlin

Syntax highlighting for Kotlin in Zed.
MIT License
23 stars 10 forks source link

Add more keywords #12

Closed martinbeentjes closed 4 months ago

martinbeentjes commented 5 months ago

This PR adds extra keywords for the Kotlin language, hopefully this is correct. Otherwise please point me to the right place.

martinbeentjes commented 5 months ago

Looking at https://kotlinlang.org/docs/keyword-reference.html#special-identifiers, should I be able to implement that complete list easily?

cholwell commented 5 months ago

I dont see why not, although I know zero about treesitter / scm file

I did notice that there is already this line but idk what it does:

(import_header
  "import" @include)

but neither package or import are highlighted for me so 🤷‍♂️