Skip to content

support boolean and numeric values in using directives highlighting #253

Closed
@bishabosha

Description

@bishabosha
//> using booleanKeys false, true
//> using numericKey -1

val foo = true
val bar = -1

true and false should also be highlighted the same as in the rhs of foo, currently they highlight like the directive's key. perhaps there is an priority issue because booleans (through #constants) are included in the matched patterns.

Additionally, in -1 the - should be highlighted the same as in the rhs of bar, currently the - is the same colour as the directive's key. This seems to be because the #constants patterns do not include the leading negation sign

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions