rm reference for example_config in bootstrap

v2.0
siduck 3 months ago
parent 13cce81d99
commit ccf6bc397f

@ -40,13 +40,6 @@ M.gen_chadrc_template = function()
local path = fn.stdpath "config" .. "/lua/custom"
if fn.isdirectory(path) ~= 1 then
local input = vim.env.NVCHAD_EXAMPLE_CONFIG or fn.input "Do you want to install example custom config? (y/N): "
if input:lower() == "y" then
M.echo "Cloning example custom config repo..."
shell_call { "git", "clone", "--depth", "1", "https://github.com/NvChad/example_config", path }
fn.delete(path .. "/.git", "rf")
else
-- use very minimal chadrc
fn.mkdir(path, "p")
@ -57,6 +50,5 @@ M.gen_chadrc_template = function()
end
end
end
end
return M

Loading…
Cancel
Save