NeoVimConfiguration/lua/core/plugin_config/darklight.lua

9 lines
303 B
Lua

require('darklight').setup({
mode = 'custom', -- Sets darklight to custom mode
light_mode_callback = function() -- Function to call to set light mode
vim.opt.background="light"
end,
dark_mode_callback = function() -- Function to call to set dark mode
vim.opt.background="dark"
end,
})