-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
inherit does not work with base16_theme #5156
Comments
Is your runtime linked correctly? Are you able to see the other themes in |
I can reproduce this. It looks like it's not currently possible to use the base16 or true-color default themes with inherits since their TOML doesn't end up in the runtime directory. |
Yeah, all the themes are there and I can switch between them. |
I opened a pull request that fix this issue by getting TOML from by byte array. but I am not sure if this is a good way to do it. |
Summary
I'm following the docs guide and created a new theme file
mytheme.toml
and placed it at~/.config/helix/themes/mytheme.toml
:Running
:theme mytheme
inhx myfile.json
results in this output:I've tried running
cargo xtask themelint ~/.config/helix/themes/mytheme
but the output doesn't make sense since I expect the default theme to be correct:All I want is to change the default color of the rulers since it is set to an obnoxious red by default. I picked
base16_theme
as theinherits
because it is the output of running:theme
in the editor. I'm working on a clone of the repo from yesterday. Please see below for the exact git commit.Reproduction Steps
I tried this:
hx
I expected this to happen:
Instead, this happened:
Helix log
~/.cache/helix/helix.log
Platform
Linux
Terminal Emulator
zsh 5.4.1 (x86_64-unknown-linux-gnu) running in tmux 3.3a
Helix Version
22.12-25-g0f2ae35a
The text was updated successfully, but these errors were encountered: