mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-07-02 21:44:29 +02:00
add: auto command config
This commit is contained in:
parent
70428b51b5
commit
2cceb76b43
4 changed files with 16 additions and 7 deletions
7
lua/custom/autocmd.lua
Normal file
7
lua/custom/autocmd.lua
Normal file
|
@ -0,0 +1,7 @@
|
|||
local transparent_mode = require("core.config").transparent_mode
|
||||
if transparent_mode ~= nil then
|
||||
if transparent_mode == 1 then
|
||||
vim.cmd("TransparentDisable")
|
||||
vim.cmd("TransparentEnable")
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue