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
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:
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:
Had the same issue, here's what I did. I can see all of the themes.
In setup examples, the readme shows you can define a toggle, your default style, and the set of themes it switches between if one of the available. From my lua,
style='deep',
-- toggle theme style --- nil to disabletoggle_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 vim.opt.background in order to decide whether to set the light theme. This workaround seems fine until it's fixed (lazy.vim style):
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: