Back to suggested via README

This commit is contained in:
Andrew Tomaka 2024-12-31 12:27:12 -05:00
parent f82b969783
commit 61c854604d
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE

View file

@ -3,14 +3,12 @@ return {
opts = { opts = {
update_interval = 3000, update_interval = 3000,
set_dark_mode = function() set_dark_mode = function()
-- vim.api.nvim_set_option_value("background", "dark", {}) vim.api.nvim_set_option_value("background", "dark", {})
vim.opt.background = "dark" vim.cmd("colorscheme gruvbox")
-- vim.cmd("colorscheme gruvbox")
end, end,
set_light_mode = function() set_light_mode = function()
vim.api.nvim_set_option_value("background", "light", {}) vim.api.nvim_set_option_value("background", "light", {})
vim.opt.background = "light" vim.cmd("colorscheme gruvbox")
-- vim.cmd("colorscheme gruvbox")
end, end,
}, },
} }