From f965bc7b0c8846a71d0a4d866b1ad37d74f12be3 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Wed, 1 Jan 2025 10:59:33 -0500 Subject: [PATCH] Remove color stuff from vim --- nvim/.config/nvim/lua/config.lua | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/nvim/.config/nvim/lua/config.lua b/nvim/.config/nvim/lua/config.lua index 9e5f3e1..c190d8a 100644 --- a/nvim/.config/nvim/lua/config.lua +++ b/nvim/.config/nvim/lua/config.lua @@ -33,17 +33,6 @@ vim.api.nvim_create_autocmd({"WinLeave"}, { end }) ---- background matching terminal -function ChangeBackground() - local home = os.getenv("HOME") - local user = os.getenv("USER") - local file = io.open(home.."/.config/"..user.."/color.yml", "rb") - local background = file:read() - file:close() - vim.opt.background = background -end -ChangeBackground() - -- LEADER CONFIGURATION vim.keymap.set("n", "sz", ":luafile ~/.config/nvim/init.lua")