Fix highlighting for objects and enum entries
JetObjectDeclarationName is now highlighted with KOTLIN_CLASS
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package testing
|
||||
|
||||
object <info textAttributesKey="KOTLIN_CLASS">O</info> {
|
||||
fun <info textAttributesKey="KOTLIN_FUNCTION_DECLARATION">foo</info>() = 42
|
||||
}
|
||||
|
||||
fun <info textAttributesKey="KOTLIN_FUNCTION_DECLARATION">testing</info>() {
|
||||
<info textAttributesKey="KOTLIN_INSTANCE_PROPERTY">O</info>.<info textAttributesKey="KOTLIN_FUNCTION_CALL">foo</info>()
|
||||
val <info textAttributesKey="KOTLIN_LOCAL_VARIABLE">o</info> = <info textAttributesKey="KOTLIN_INSTANCE_PROPERTY">O</info>
|
||||
<info textAttributesKey="KOTLIN_LOCAL_VARIABLE">o</info>.<info textAttributesKey="KOTLIN_FUNCTION_CALL">foo</info>()
|
||||
}
|
||||
Reference in New Issue
Block a user