-
Notifications
You must be signed in to change notification settings - Fork 573
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Variant: colon vertically centered #2321
Comments
I got same problem . reprocue can by simply using a rust code like |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days. |
Zed switched their default font from 'Zed Mono' (an Iosevka derivative) to 'Zed Plex Mono' (an IBM Plex Mono derivative) so this is not longer a major concern. I really like all the other ligatures in Iosevka, but having dancing colons made it unsuitable for Rust programming so in the absence of this variant I've moved elsewhere. |
The vertical placement of
:
(and related ligatures:::
,:::
, etc) varies depending on context:Specifically typing
::<
character-by-character (used for the turbo fish operator in rust) results in the three distinct positions of the colon. The horizontal movement when making the::
(expected ligature behavior) and vertical movement when typing the subsequent character. I find the vertical movement extremely distracting. It occurs when a:
is followed by any of<>=-+
(not just<
).Depending on context, the colon(s) move up or down when the next character is typed. Here is an animated example demonstrating these behaviors:
Proposal: add variants for the colon character
:
so a vertically centered placement can be enabled as a default. This currently possible with the*
character, but not for:
. Such a variant would also make it possible to avoid two successive::
within a single call being displayed at different heights (see:mem::size_of::<u8>
in the gif above.)I observed this behavior in the Zed editor which includes an Iosevka customization Zed Mono. Here is the associated custom build config.
The text was updated successfully, but these errors were encountered: