nishtahir / language-kotlin

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

Broken syntax highlighting #1

Closed joshuaavalon closed 5 years ago

joshuaavalon commented 6 years ago

Sorry if this is wrong place to report. I read github/linguist#2315 and find this repository is the responsible for Kotlin grammer.

data class Response(@SerializedName("param1") val param1: String,
                    @SerializedName("param2") val param2: String,
                    @SerializedName("param3") val param3: String) {
}

The first line is not highlighted correctly. If I remove the annotation from the first parameter, the second parameter is not highlight correctly.

data class Response(val param1: String,
                    @SerializedName("param2") val param2: String,
                    @SerializedName("param3") val param3: String) {
}
nishtahir commented 5 years ago

Thanks for reporting this issue. That shouldn't be happening. I'll look into it

nishtahir commented 5 years ago

This is addressed in #3