Reset nvim background color to match terminal on start

This commit is contained in:
Talia 2024-08-14 11:46:24 +02:00
parent 17159d0fa2
commit d1b2eba724
1 changed files with 3 additions and 0 deletions

View File

@ -65,3 +65,6 @@ if vim.fn.filereadable(os.getenv("HOME") .. "/.dark")==1 then
else
vim.cmd("Light")
end
-- Reset background color to match terminal
vim.cmd("hi Normal ctermbg=NONE guibg=NONE")