Skip to content

Fix an issue that \xN8 and \xN9 in Rust strings are incorrectly colored - #196198

Merged
Alex Ross (alexr00) merged 4 commits into
microsoft:mainfrom
noritada:fix/coloring-for-rust-binary-strings-revised
Oct 30, 2023
Merged

Alex Ross (alexr00) merged 4 commits into
microsoft:mainfrom
noritada:fix/coloring-for-rust-binary-strings-revised

Conversation

@noritada

Copy link
Copy Markdown
Contributor

This PR is an updated version of PR #166792, providing a fix for #166781.

Fix to the Rust grammar file in the original PR has now been incorporated into the upstream.
This PR includes following changes:

  • The latest upstream grammar file retrieved using vscode-grammar-updater
  • Updated test data

(Test data in #166792 needed updates because 2 color themes were added since last year.)

I have included updates to the grammar files to prevent test failures, but since I believe that regular updates to the grammar files are the work of the development team, I would appreciate it if you could update the PR as needed.
Many thanks.

@noritada Noritada Kobayashi (noritada) changed the title Fix/coloring for rust binary strings revised Fix an issue that \xN8 and \xN9 in Rust strings are incorrectly colored Oct 22, 2023
@noritada
Noritada Kobayashi (noritada) force-pushed the fix/coloring-for-rust-binary-strings-revised branch from 7f3295b to 516d5b2 Compare October 22, 2023 09:20
@alexr00 Alex Ross (alexr00) added this to the November 2023 milestone Oct 23, 2023

@alexr00 Alex Ross (alexr00) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you for adding a new test!

@alexr00
Alex Ross (alexr00) enabled auto-merge (squash) October 30, 2023 11:08
@alexr00
Alex Ross (alexr00) merged commit c9b23f1 into microsoft:main Oct 30, 2023
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants