From d1b2eba7243bbfbda514017fb36b64ff60a8e578 Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Wed, 14 Aug 2024 11:46:24 +0200 Subject: [PATCH] Reset nvim background color to match terminal on start --- vim/plugin/colors.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vim/plugin/colors.lua b/vim/plugin/colors.lua index 575d61e..f88ca05 100644 --- a/vim/plugin/colors.lua +++ b/vim/plugin/colors.lua @@ -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")