Skip to content

Comparison operators do not have correct highlighting if they are before an arithmetic operator #1

@Tasty-Kiwi

Description

@Tasty-Kiwi

In this case, the > is highlighted correctly (keyword.operator.comparison.hybroid scope):

if a > 1 {}

Screenshot:

Image

And in this one, the > is no longer highlighted correctly (generic angled bracket punctuation.brackets.angle.hybroid scope):

if a > -1 {}

Screenshot:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions