hx complains that theme can't be found #10687
Unanswered
dkragen
asked this question in
Troubleshooting
Replies: 2 comments
-
https://docs.helix-editor.com/install.html#configuring-helixs-runtime-files |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm not sure that relates, but in any case, I found a separate really dumb mistake I made (forgetting to drop .toml in declaring the theme). And hx seems to adopt the theme without any problems now. Sorry for wasting your time. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Sounds ridiculous. But irrespective of whether I use a relative or a full path, whether I use "$HOME"/.config/helix/themes/theme-name.toml or "$HOME"/.config/helix/theme-name.toml or ~ in lieu of "$HOME" or indicate path to the theme files under /usr/lib64/helix/runtime/themes/theme-name.toml, whether I disable SE linux or not, whether I change permissions to full world and full activity (777), of whether I keep the original name (eg,catpuccin_frappe.toml) or change it to theme.toml in ~/.config/helix/config.toml, the style will not load, even though I can see that the configuration itself is loaded, via changes in the editor (vertical tab indicators eg).
Reproduction Steps
I tried this:
hx -c ~/.config/helix/config.toml
Alsohx -c "$HOME/.config/helix/config.toml"
. And I tried multiple themes, including the official ones, to make sure a typo in the theme wasn't part of the problem, too.I expected this to happen:
Theme to update.
Instead, this happened:
Same purple theme.
Yes I tried configuration-reload within the editor. Yes I also quit hx, verified the process was dead, and relaunched helix.
Helix log
~/.cache/helix/helix.log
Re: the attribute complaints, I found a pair of typos in the Sonokai themes. Even after fixing them, helix couldn't find the theme files, which is weird because a) it WAS able to find the typographic errors and b) I can load the same theme files from within the editor itself (:theme sonokai_andromeda.toml, eg) and see the changes in helix. It just seems that when the command line flag -c is used for the user preferred config file, the program misinterprets the theme request somehow.
Platform
Linux - fedora sericea
Terminal Emulator
wezterm-flatpak org.wezfurlong.wezterm/x86_64/stable AND alacritty 0.13.2
Installation Method
both in toolbox environment (container) via rpm and via fresh binary in main environment (not in container)
Helix Version
helix 24.3 (2cadec0)
Beta Was this translation helpful? Give feedback.
All reactions