[HIGHLIGHT] Specific keyword rules for val,var highlighting.

'Kotlin keyword' rule configured as fallback rule for all Kotlin keywords:
- Created 'var'/'val' rules with fallback to 'Kotlin keyword'
- BUILTIN_ANNOTATION rule fallback changed from Java to 'Kotlin keyword'

 #KT-13344 Fixed
This commit is contained in:
Vladimir Ilmov
2019-11-05 12:31:50 +03:00
parent 34ea47a868
commit 9fb95e776e
4 changed files with 12 additions and 3 deletions
@@ -60,7 +60,10 @@ livetemplate.description.exval=Extension read-only property
livetemplate.description.exvar=Extension read-write property
options.kotlin.attribute.descriptor.annotation=Annotation
options.kotlin.attribute.descriptor.builtin.annotation=Modifier
options.kotlin.attribute.descriptor.builtin.annotation=Keywords//Modifier
options.kotlin.attribute.descriptor.builtin.keyword.val=Keywords//'val'
options.kotlin.attribute.descriptor.builtin.keyword.var=Keywords//'var'
options.kotlin.attribute.descriptor.builtin.keyword=Keywords//Keyword
options.kotlin.attribute.descriptor.string.escape=String//Escape in string and template braces
options.kotlin.attribute.descriptor.closure.braces=Braces and Operators//Lambda expression braces and arrow
options.kotlin.attribute.descriptor.safe.access=Braces and Operators//Safe access dot