diff --git a/lua/core/bootstrap.lua b/lua/core/bootstrap.lua index b727ba8..ef19550 100644 --- a/lua/core/bootstrap.lua +++ b/lua/core/bootstrap.lua @@ -40,21 +40,13 @@ 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): " + -- use very minimal chadrc + fn.mkdir(path, "p") - 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") - - local file = io.open(path .. "/chadrc.lua", "w") - if file then - file:write "---@type ChadrcConfig\nlocal M = {}\n\nM.ui = { theme = 'onedark' }\n\nreturn M" - file:close() - end + local file = io.open(path .. "/chadrc.lua", "w") + if file then + file:write "---@type ChadrcConfig\nlocal M = {}\n\nM.ui = { theme = 'onedark' }\n\nreturn M" + file:close() end end end