add user_config

This commit is contained in:
siduck76
2021-08-12 17:28:03 +05:30
parent d5c64d335e
commit 0efa21c9c9
10 changed files with 253 additions and 84 deletions

View File

@@ -84,7 +84,7 @@ M.change_theme = function(current_theme, new_theme)
return
end
local file = vim.fn.stdpath("config") .. "/lua/user_config.lua"
local file = vim.fn.stdpath("config") .. "/lua/chadrc.lua"
-- store in data variable
local data = assert(M.file("r", file))
local find = "theme = .?" .. current_theme .. ".?"