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

Fix & Tweak Rust's Syntax Highlighting #5238

Merged
merged 2 commits into from
Dec 21, 2022
Merged

Fix & Tweak Rust's Syntax Highlighting #5238

merged 2 commits into from
Dec 21, 2022

Conversation

Chickenkeeper
Copy link
Contributor

@Chickenkeeper Chickenkeeper commented Dec 21, 2022

  • Loop labels are now highlighted as @label instead of @type
  • unsafe is now @keyword.special
  • macro_rules! is now @function.macro
  • @type.variant is replaced with @type.enum.variant so enum constructors are highlighted correctly
  • Some newlines were removed for consistency

@the-mikedavis the-mikedavis merged commit c4263d6 into helix-editor:master Dec 21, 2022
@Chickenkeeper Chickenkeeper deleted the rust-syntax-highlight-tweaks branch December 22, 2022 00:17
hadronized pushed a commit to hadronized/helix that referenced this pull request Jan 4, 2023
freqmod pushed a commit to freqmod/helix that referenced this pull request Feb 8, 2023
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.

3 participants