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

Add a highlight for the keyword.storage scope to the onedark theme #11802

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

irh
Copy link
Contributor

@irh irh commented Sep 30, 2024

Rust highlight queries make use of keyword.storage for keywords like struct, enum, and also for references, and modifiers like mut and ref.

Using a color that's different to the one used for "variable.parameter" (red) improves differentiation for mutable function arguments.

e.g.

Before:
Screenshot 2024-09-30 at 17 21 48

After:
Screenshot 2024-09-30 at 17 21 16

Rust highlight queries make use of keyword.storage for keywords like
`struct`, `enum`, and also for modifiers like `mut` and `ref`.

Using a color that's different to the one used for
`"variable.parameter"` (red) improves differentiation for mutable
function arguments.
@archseer archseer merged commit 57ec3b7 into helix-editor:master Oct 1, 2024
@irh irh deleted the keyword-storage-onedark branch October 1, 2024 05:44
plul pushed a commit to plul/helix that referenced this pull request Oct 13, 2024
…elix-editor#11802)

Rust highlight queries make use of keyword.storage for keywords like
`struct`, `enum`, and also for modifiers like `mut` and `ref`.

Using a color that's different to the one used for
`"variable.parameter"` (red) improves differentiation for mutable
function arguments.
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.

2 participants