Remove color stuff from vim

This commit is contained in:
Andrew Tomaka 2025-01-01 10:59:33 -05:00
parent f4a6822129
commit f965bc7b0c
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE

View file

@ -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", "<leader>sz", ":luafile ~/.config/nvim/init.lua<cr>")