You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mrcjkb
changed the title
[Bug] colorschemes added to rtp after init.lua is sourced
[needs triage] colorschemes added to rtp after init.lua is sourced
Apr 3, 2024
Not sure if there's a good solution to this.
Requiring a rocks.init_rtp call would be a breaking change that is no more convenient than using rocks.packadd. Symlinking colorscheme scripts might be a bit hacky and complex.
rocks-config could help abstract this by separating init (pre-plugin-sourcing) and config scripts in some way.
Originally posted by @Rasmus-Bertell in #212
To reproduce:
:Rocks install kanagawa.nvim
init.lua
:vim.cmd.colorscheme("kanagawa")
Expected behaviour:
Actual behaviour:
Workaround:
opt=true
require("rocks").packadd("kanagawa.nvim")
before thevim.cmd.colorscheme
call.The text was updated successfully, but these errors were encountered: