Closed rod-stuchi closed 2 years ago
To check option simply see vim.g.onedark_config.transparent
To change option use this:
require('onedark').setup({transparent = false})
require('onedark').load()
Very nice
function M.toggle_transparency()
require('onedark').setup({transparent = not vim.g.onedark_config.transparent})
require('onedark').load()
end
Thank you so much
Hi, first of all, thank you for this amazing theme :beer:
I have a function to toggle transparency.
This global property
onedark_transparent_background
has present in ce49cf36dc839564e95290e2cdace396c148bca.I tried with
require('onedark').set_options('transparent', true)
but with no success.My question is, how can I achieve this behavior in new version?