Skip to content

[FR] Fully separated equal chains #2937

@pcdevil

Description

@pcdevil

Is your feature request related to a problem? Please describe.
I have difficulties to read === and !== ligatures and also to distinguish them from the == / !=.

Describe the solution you'd like
Fira Code's provides an ss08 variant where the equal signs are kept with two lines and parts are fully separated:

Image

Key details:

  • both double-, and triple-equal signs keep the characters separate
    • (the lines are connected in case of != but done elegantly)
  • the number of lines are two in both cases
  • a diagonal stroke is used for negation

It would be great to have a similar setting for Iosevka as it'd greatly improve the readability for me!

Describe alternatives you've considered
I tried fine-tuning the lig-equal-chain and lig-neq settings, and while the outcome is considerably better with some values, the problem of === is still present.

Additional context
My issue is related to the JavaScript JSPT ligation set as the triple-equal is represented with three horizontally arranged lines, but not restricted to it: it's also inconvenient to read with the default preset where there difference between == and === is only the width.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions