Closed starsep closed 3 years ago
Same goes for keywords like
val expect: String
val actual: Int
val vararg: List<Int>
We can add a positive lookahead on the soft keywords to fix this. https://github.com/nishtahir/language-kotlin/blob/5738095b675a42b520b40b673ba2ea52f50cd91c/src/keywords.YAML-tmLanguage#L23
It seems that
data
is always highlighted as a class modifier i.e. as indata class
.