Adjust light mode swapping
This commit is contained in:
parent
790cb6846b
commit
f1c82d8b8b
3
init.lua
3
init.lua
@ -970,6 +970,7 @@ function file_exists(name)
|
|||||||
return f ~= nil and io.close(f)
|
return f ~= nil and io.close(f)
|
||||||
end
|
end
|
||||||
|
|
||||||
if file_exists("/home/aselimov/.config/.stlight") then
|
local home = os.getenv("HOME")
|
||||||
|
if file_exists(home .. "/.config/nvim/light_mode") then
|
||||||
vim.opt.background = "light"
|
vim.opt.background = "light"
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user