nishtahir / language-kotlin

Textmate language grammar for the Kotlin programming language
Apache License 2.0
12 stars 6 forks source link

!is highlighted as keyword when part of a negated variable name #44

Closed TWiStErRob closed 3 years ago

TWiStErRob commented 3 years ago
a = b !is C // type check keyword, all good
a = b ! is C // type check keyword, all good
a.b = !isC // variable name, no-no
a.b = ! isC // split operator fixes it, but I haven't seen this style anywhere

Notice how in !isC !is is highlighted as a keyword.

TWiStErRob commented 3 years ago

Nice, thanks for the quick fix. How often does GitHub pull and build this?

nishtahir commented 3 years ago

That is upto the Linguist team. Releases usually happen monthly as far as I can tell. There is a release happening soon