Closed kraftwerk28 closed 2 months ago
Seems like I can reproduce this, and it appears to be a bug having to do with the compiler/cache (stale cache, false/incorrect cache hit, etc.) (i.e. if you delete the cache first and then run this it works fine or as expected). This requires debugging and further investigation. Thank you for the bug report.
In the meantime, you can try:
--noplugin
(may or may not help anything):GithubThemeCompile
. For example, if you do nvim --noplugin -u config.lua config.lua
, then run :GithubThemeCompile
, then quit nvim and reopen it again with nvim --noplugin -u config.lua config.lua
, you should see that things are working as expected (i.e. StatusLine
will be linked to Error
)Related #262
Closing due to inactivity. Can reopen later.
Was facing a similar issue (configured styles not being applied), and :GithubThemeCompile
resolved it. Is there a way to automatically run that on config changes? Is that the expected behavior?
This appears to be resolved as of the latest HEAD (4f44a5c930372c85483d02700f332d34417e50b2), and the fix should be included in v1.0.2 as well. This issue may be closed.
Was facing a similar issue (configured styles not being applied), and
:GithubThemeCompile
resolved it. Is there a way to automatically run that on config changes?
@wadefletch Yes, you could always define a VimEnter
autocmd or something similar, but it should be fixed now. Just update your plugin and you should be all good. 👍
Is that the expected behavior?
No, it was due to a bug in the compiler code. The compiler relies on a custom hash function and compiles your config together with theme settings from the plugin to a lua bytecode file. Its purpose is to improve nvim's startup time when loading plugins during startup (which it does).
Please open a new issue and/or respond here with a comment if you face any similar issues in the future.
config.lua
:Now running neovim with
It seems that overrides work fine with
github_dark
andgithub_dark_colorblind
colorscheme but are broken withgithub_dark_dimmed
,github_dark_high_contrast
.