Skip to content
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

Use SyntaxText.Unit as style for foo() #5195

Merged
merged 1 commit into from
Jul 9, 2024
Merged

Conversation

pchiusano
Copy link
Member

Before:

image

Right now the parens are styled using the SyntaxText.DelayForceChar. This PR switches to the SyntaxText.Unit style, which by default will render like the () here:

CleanShot 2024-07-09 at 15 23 10@2x

The ' in type signatures will still be styled the same.

No unit tests added for this. We actually don't have any unit tests for syntax highlighting. Maybe we should one day, though it doesn't seem very important.

@pchiusano pchiusano merged commit 2591ade into trunk Jul 9, 2024
35 checks passed
@pchiusano pchiusano deleted the force-highlighting branch July 9, 2024 21:20
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.

2 participants