Skip to content

Code: Insert a ZWNJ before after type hints#6236

Merged
bors[bot] merged 1 commit into
rust-lang:masterfrom
lnicola:hints-zwnj
Oct 15, 2020
Merged

Code: Insert a ZWNJ before after type hints#6236
bors[bot] merged 1 commit into
rust-lang:masterfrom
lnicola:hints-zwnj

Conversation

@lnicola

@lnicola lnicola commented Oct 15, 2020

Copy link
Copy Markdown
Member

to prevent the editor from displaying a ligature there.

Fixes #6235

@bjorn3

bjorn3 commented Oct 15, 2020

Copy link
Copy Markdown
Member

Could you add a comment that it is a ZWNJ?

@matklad

matklad commented Oct 15, 2020

Copy link
Copy Markdown
Contributor

bors r+

@bors

bors Bot commented Oct 15, 2020

Copy link
Copy Markdown
Contributor

@bors bors Bot merged commit 7dd09a7 into rust-lang:master Oct 15, 2020
@lnicola lnicola deleted the hints-zwnj branch October 15, 2020 11:00
bors added a commit that referenced this pull request Jan 3, 2023
Use ZWNJ to prevent VSCode from forming ligatures between hints and code

Turns out VSCode still has this issue for native hints as well, cc #6236
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong color of ? operator in face of hints

3 participants