Files
dotfiles/config/nvim/lua/utils.lua

12 lines
184 B
Lua

local M = {}
M.toggleBackground = function ()
if vim.opt.background:get() == "dark" then
vim.opt.background = "light"
else
vim.opt.background = "dark"
end
end
return M