diff --git a/nvim/.config/nvim/lua/plugins/auto-dark-mode.lua b/nvim/.config/nvim/lua/plugins/auto-dark-mode.lua index 4030de8..0dfa6d8 100644 --- a/nvim/.config/nvim/lua/plugins/auto-dark-mode.lua +++ b/nvim/.config/nvim/lua/plugins/auto-dark-mode.lua @@ -3,14 +3,12 @@ return { opts = { update_interval = 3000, set_dark_mode = function() - -- vim.api.nvim_set_option_value("background", "dark", {}) - vim.opt.background = "dark" - -- vim.cmd("colorscheme gruvbox") + vim.api.nvim_set_option_value("background", "dark", {}) + vim.cmd("colorscheme gruvbox") end, set_light_mode = function() vim.api.nvim_set_option_value("background", "light", {}) - vim.opt.background = "light" - -- vim.cmd("colorscheme gruvbox") + vim.cmd("colorscheme gruvbox") end, }, }