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

Make Rust type colors consistent with other languages #298

Merged
merged 1 commit into from
Mar 24, 2019
Merged

Make Rust type colors consistent with other languages #298

merged 1 commit into from
Mar 24, 2019

Conversation

17cupsofcoffee
Copy link
Contributor

Since #288 was merged, Rust types have been showing up in blue rather than in yellow. This isn't consistent with other languages - consider the following two code samples in Rust and TypeScript, which are effectively the same constructs, just with different keywords:

Rust example

TypeScript example

VS Code's Rust grammar uses the entity.name.type.rust scope for types - I think simply removing this rule would make it fall back to the existing definition for entity.name.type. That said, I'm not hugely experienced with VS Code color schemes, so it's entirely possible that I've messed this up 😅

Copy link
Collaborator

@jens1o jens1o left a comment

Choose a reason for hiding this comment

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

lgtm

@Binaryify Binaryify merged commit d00dbfc into Binaryify:master Mar 24, 2019
@17cupsofcoffee 17cupsofcoffee deleted the patch-1 branch March 24, 2019 10:51
Binaryify added a commit that referenced this pull request Aug 8, 2019
Make Rust type colors consistent with other languages
Binaryify added a commit that referenced this pull request Aug 8, 2019
Make Rust type colors consistent with other languages
Binaryify added a commit that referenced this pull request Aug 8, 2019
Make Rust type colors consistent with other languages
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