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: better syntax highlighting for strings #95

Merged
merged 3 commits into from
Jan 9, 2025
Merged

Conversation

asterite
Copy link
Contributor

@asterite asterite commented Jan 9, 2025

Description

Problem

Resolves #50

Summary

A few things here.

Multiline format strings are correctly hihglighted

Before:

image

After:

image

Format string interpolation is highlighted

Before:

image

After:

image

Raw strings 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 9, 2025 17:57
@TomAFrench TomAFrench merged commit 16d9956 into master Jan 9, 2025
4 checks passed
@TomAFrench TomAFrench deleted the ab/syntax-strings branch January 9, 2025 18:00
@github-actions github-actions bot mentioned this pull request Jan 9, 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
Development

Successfully merging this pull request may close these issues.

Improve fmtstr multi-line interpretation
2 participants