Skip to content

Commit

Permalink
Add support for non-interactive bootstrapping (NvChad#2528)
Browse files Browse the repository at this point in the history
NvChad#2528 (comment)

---------

Co-authored-by: Sidhanth Rathod <[email protected]>
  • Loading branch information
x0wllaar and siduck authored Jan 2, 2024
1 parent e121bde commit 2fedda1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/core/bootstrap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ 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): "
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..."
Expand Down

0 comments on commit 2fedda1

Please sign in to comment.