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

feat: some syntax highlighting improvements #93

Merged
merged 4 commits into from
Jan 8, 2025
Merged

Conversation

asterite
Copy link
Contributor

@asterite asterite commented Jan 8, 2025

Description

Problem

Resolves #89
Resolves #90

Summary

A few things here.

crate is now highlighted

Before:

image

After:

image

Struct members visibility is now highlighted

Before:

image

After:

image

Calls with turbofish are colored the same way as calls

Before:

image

After:

image

Comments inside use are highlighted

Before:

image

After:

image

Additional Context

PR Checklist

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt on default settings.

@asterite asterite requested a review from a team January 8, 2025 13:32
Copy link
Member

@TomAFrench TomAFrench left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@asterite asterite merged commit ed74a75 into master Jan 8, 2025
4 checks passed
@asterite asterite deleted the ab/syntax-pub-crate branch January 8, 2025 13:47
@github-actions github-actions bot mentioned this pull request Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants