-
-
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
Not all themes display rulers #5721
Comments
Except for kanagawa, these all use foreground rulers. The default and rasmus set Solarized light and dark set Kanagawa has a background ruler though. It looks to me like it's displaying a ruler. |
I fixed some themes locally and didn't test others, just noticed there's no rulers were displayed. Also it's kinda weird way to separate rulers - themes differentiate |
Updated list of themes which do not display rulers:
|
I think at the very least, the default theme should display both foreground and background rulers. I wanted to display rulers the way I was used to in vim (what is called background rulers in Helix apparently), so I added
in my
Only this morning did I figure this out when trying other themes! :) (by the way, the live preview when running |
I just noticed this on the default theme in Helix. I had set a ruler for 100 characters, and when I was typing the character changed colour, but the vertical bar isn't visible. There is no indication the ruler has been set correctly based on the configuration. This then looks like a rendering bug to the user in Helix displaying one character in a different colour. I am not sure why there needs to be fancy foreground and background separation, but in at least the default theme, Helix should act the same as other editors using background colour visible vertical ruler lines on screen. If people wanted to have smart foreground colours about text beyond rulers, they should really theme all text beyond the ruler in the different colour, not a single character. |
There are foreground and background colors, you probably set only foreground which changes font color. |
That's the issue here: we are talking about the default theme. I think at the very least the default theme should have both background and foreground set up for the rulers in order to have a nice default experience. User can then move on to another theme if they wish so :) |
Is anything holding back this issue? Otherwise, I could probably fix this. Should the respective themes just be fixed or should helix just assume a default of, e.g., |
We just need to figure out if these themes are using foreground rulers intentionally or if it'd be ok to switch to background. If you'd like to make a PR that switches these to background rulers we can tag the theme authors and ask |
Summary
themes which do not display rulers
Basically theme doesn't have proper bg color for
ui.virtual.ruler
or fg color forui.virtual.rulers
. Usually they should have eithergray
color or the same color asui.cursorline.primary
Reproduction Steps
editor.rulers
value.Helix log
No response
Platform
Windows
Terminal Emulator
Windows Terminal
Helix Version
helix 22.12 (4d548a0)
The text was updated successfully, but these errors were encountered: