rm reference for example_config in bootstrap
This commit is contained in:
parent
e622153fbd
commit
cd2dddfc4b
1 changed files with 6 additions and 14 deletions
|
@ -40,13 +40,6 @@ M.gen_chadrc_template = function()
|
|||
local path = fn.stdpath "config" .. "/lua/custom"
|
||||
|
||||
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
|
||||
fn.mkdir(path, "p")
|
||||
|
||||
|
@ -57,6 +50,5 @@ M.gen_chadrc_template = function()
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
Loading…
Reference in a new issue