Skip to content

(Swift) left and right keywords and precedencegroup highligthing #2856

@svanimpe

Description

@svanimpe

Highlight.js highlights left and right as keywords. It's true that they have some special meaning (see https://docs.swift.org/swift-book/ReferenceManual/Declarations.html#grammar_precedence-group-declaration), however, they aren't reserved keywords, so 99% of the time, they will just be variables.

What is the policy regarding keywords? Should only reserved words be highlighted as keywords?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions