-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Underline ignores its color #7065
Comments
Can you try setting
To force undercurl it seems that the curly underline isn't showing up at all |
@gabydd Nope, it didn't help |
theme changes need to be done in a theme file, see making a theme https://docs.helix-editor.com/themes.html#creating-a-theme you can use |
@gabydd Oh, I meant to write |
I was unable to reproduce, tried on Alacritty but I got the expected results. |
If I remember correctly this is a Windows thing. The underline colors and styles get ignored (and filtered out) by conpty, so there's nothing that helix or even the terminal emulator can do. |
That makes sense that it is a terminal issue, if it is not you should be able see the curly underline on most themes, cause almost all of them use it |
This also affects alacritty on windows, so it can probably be marked as upstream and closed |
Leave it open, in case someone else runs into it |
Like me. I can also confirm it's broken on Windows but not on Linux. |
Interestingly I have the issue on Linux with Alacrity using tmux i.e. the undercurl color is derived from syntax highlighting instead of the predefined Also I have tried setting |
Update: I was able to get undercurl color working correctly on tmux by following suggestion at: https://old.reddit.com/r/neovim/comments/vqbu8m/undercurl_support_on_different_terminals/ieoxghg/ Specifically enabling coloring by adding following to
|
Can you please share, How to toggle this by keyboard shortcut? this doesn't work:
But this is working find:
|
Summary
Underline ignores its color and uses the color of a word.
Reproduction Steps
I tried this:
In
mytheme.toml
:I expected this to happen:
The color of the underline is red, the color of the word is blue
Instead, this happened:
The color of the underline is blue and the color of the word is also blue
Helix log
No response
Platform
Windows
Terminal Emulator
Windows Terminal, Alacritty
Helix Version
helix 23.05 (7f5940b)
The text was updated successfully, but these errors were encountered: