rm reference for example_config in bootstrap

This commit is contained in:
siduck 2024-03-10 08:55:15 +05:30 committed by Tim Blume
parent e622153fbd
commit cd2dddfc4b

View file

@ -40,13 +40,6 @@ M.gen_chadrc_template = function()
local path = fn.stdpath "config" .. "/lua/custom" local path = fn.stdpath "config" .. "/lua/custom"
if fn.isdirectory(path) ~= 1 then if fn.isdirectory(path) ~= 1 then
local input = 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 -- use very minimal chadrc
fn.mkdir(path, "p") fn.mkdir(path, "p")
@ -56,7 +49,6 @@ M.gen_chadrc_template = function()
file:close() file:close()
end end
end end
end
end end
return M return M