function toggleTransparent() transparent = not transparent if transparent then vim.cmd("hi Normal ctermbg=NONE") else vim.cmd("set background=dark") vim.cmd("syntax enable") end end