We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The syntax highlighting is weird in this example, Some is in white, while None is green (monokai theme).
Some
None
I tried this:
hx
fn main() { let opt = Some(5); match opt { Some(a) => {} None => {} } }
I expected this to happen: Both Some and None are highlighted in the same way.
Instead, this happened: Some is white, while None is green
please provide a copy of `~/.cache/helix/helix.log` here if possible, you may need to redact some of the lines
Linux
Kitty, Alacritty
helix 22.05
The text was updated successfully, but these errors were encountered:
It's being highlighted as @constructor
@constructor
Sorry, something went wrong.
monokai theme content , the constructor is text.
constructor
text
cd ~/.config/helix make themes folder ,copy your theme from runtime/themes/monokai.toml, and rewrite constructor of content
~/.config/helix
themes
runtime/themes/monokai.toml
"constructor" = { fg = "fn_declaration" }
reload hx or input command :config-reload
:config-reload
Successfully merging a pull request may close this issue.
Summary
The syntax highlighting is weird in this example,
Some
is in white, whileNone
is green (monokai theme).Reproduction Steps
I tried this:
hx
I expected this to happen:
Both
Some
andNone
are highlighted in the same way.Instead, this happened:
Some
is white, whileNone
is greenHelix log
~/.cache/helix/helix.log
Platform
Linux
Terminal Emulator
Kitty, Alacritty
Helix Version
helix 22.05
The text was updated successfully, but these errors were encountered: