Remove logging when switching color dark/light
This commit is contained in:
parent
9660a18350
commit
23055b852c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user