Skip to content
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

install.colorscheme not being loaded #122

Closed
ok-nick opened this issue Dec 23, 2022 · 3 comments · Fixed by #96
Closed

install.colorscheme not being loaded #122

ok-nick opened this issue Dec 23, 2022 · 3 comments · Fixed by #96
Labels
bug Something isn't working

Comments

@ok-nick
Copy link

ok-nick commented Dec 23, 2022

Here's what it looks like when setting up lazy:

require("lazy").setup("plugins", {
	install = {
		colorscheme = { "kanagawa" },
	},
	checker = {
		enabled = true,
	},
	performance = {
		rtp = {
			disabled_plugins = {
				"gzip",
				"matchit",
				"matchparen",
				-- "netrwPlugin",
				"tarPlugin",
				"tohtml",
				"zipPlugin",
			},
		},
	},
})

For some reason it doesn't load the theme on startup, I'm not sure what other information to provide. It works fine if I manually set the theme via:

vim.cmd("colorscheme kanagawa")
@ok-nick ok-nick added the bug Something isn't working label Dec 23, 2022
@kuntau
Copy link

kuntau commented Dec 23, 2022

I think the install config is just to load said color the earliest possible, you always have to call colo whatever to set it

@folke
Copy link
Owner

folke commented Dec 23, 2022

no, this is indeed a bug. I already fixed it locally. will push an update soon

@folke
Copy link
Owner

folke commented Dec 23, 2022

and yes, sorry, also what @kuntau says.

The setting only tries loading the colorscheme during an install at startup.
You shold set your colorscheme as normal for other cases.

But so there was an issue with the colorscheme during install not being set

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants