Remove logging when switching color dark/light

This commit is contained in:
Kevin Cotugno 2023-10-06 10:17:50 -07:00
parent 9660a18350
commit 23055b852c

View File

@ -2,10 +2,7 @@
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua -- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
-- Add any additional keymaps here -- Add any additional keymaps here
local Util = require("lazy.core.util")
function toggle_background() function toggle_background()
Util.info(vim.opt.background:get())
if vim.opt.background:get() == "dark" then if vim.opt.background:get() == "dark" then
vim.opt.background = "light" vim.opt.background = "light"
else else