add: update config global variable

This commit is contained in:
asep.komarudin 2024-05-21 15:17:31 +07:00
parent e59e8dba26
commit 24320e58f8
5 changed files with 15 additions and 29 deletions

View file

@ -1,4 +1,4 @@
local transparent_mode = require("core.config").transparent_mode
local transparent_mode = vim.g.pcode_transparent_mode
if transparent_mode ~= nil then
if transparent_mode == 1 then
vim.cmd("TransparentDisable")