-
Notifications
You must be signed in to change notification settings - Fork 146
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
Cannot set light theme via setup(opts)
#173
Comments
Had the same issue, here's what I did. I can see all of the themes. style = 'deep',
-- toggle theme style --- nil to disable
toggle_style_key = '<leader>ts', -- nil to disable or set it to a string, for example "<leader>ts"
toggle_style_list = { 'darker', 'deep', 'warmer', 'light' },
-- toggle_style_list = { 'dark', 'darker', 'cool', 'deep', 'warm', 'warmer', 'light' }, -- List of styles to toggle between |
It looks like onedark actually checks return {{
"navarasu/onedark.nvim",
opts = {
style = "light",
},
config = function(_, opts)
vim.opt.background = "light"
require("onedark").setup(opts)
end
}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've been playing around with the Lazy plugin manager and onedark, basically setting some custom options for loading the color scheme.
For this I've been trying to use the light theme to have a strong visual notice if the modifications I was doing where loading.
It turns out that if I use any other of the provided themes the changes were reflected, but when using the light theme the color scheme was not applied, instead it loaded the dark theme:
onedark.nvim/lua/onedark/init.lua
Line 23 in 462b457
I only have a couple of weeks using Neovim so far so sending a PR would take me a while atm, but I think the referenced line could be the source of my problem and I thought about mentioning this here so you can take a look.
Cheers!
The text was updated successfully, but these errors were encountered: