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
Bug: oxocarbon can only be set as color scheme once #38
Comments
same, no issues with other default or added colorschemes nothing coming up from |
Thinking this is the same issue. my startup theme is set to nightfly, and although oxocarbon is loaded as shown below with Lazy.nvim, I can't switch to it at all. Running L ● oxocarbon.nvim 0.39ms start running neovim nightly |
Lua modules are cached after require, which prevents clean re-application of oxocarbon when swapping *back*, after swapping to another theme. By always un-caching the module we force a reload each time. Fixes nyoom-engineering#38
Lua modules are cached after require, which prevents clean re-application of oxocarbon when swapping *back*, after swapping to another theme. By always un-caching the module we force a reload each time. Fixes nyoom-engineering#38
To reproduce:
colorscheme
from your neovim config:colorscheme oxocarbon
:colorscheme blue
(or any other colorscheme):colorscheme oxocarbon
againThe first two
colorscheme
will work, but settingoxocarbon
as colorscheme a second time does not work. This is relevant for some use cases where you want to change your colorscheme during runtime, for example styler or auto-dark-mode.I checked, oxocarbon seems to be the only theme that has this issue, other themes, builtin or from the community, do not have this problem.
The text was updated successfully, but these errors were encountered: