WIP: update-upstream #4

Closed
cscherrNT wants to merge 69 commits from update-upstream into master
1 changed files with 3 additions and 1 deletions
Showing only changes of commit a439de385b - Show all commits

View File

@ -128,7 +128,9 @@ local default_plugins = {
-- custom nvchad cmd to install all mason binaries listed
vim.api.nvim_create_user_command("MasonInstallAll", function()
vim.cmd("MasonInstall " .. table.concat(opts.ensure_installed, " "))
if opts.ensure_installed and #opts.ensure_installed > 0 then
vim.cmd("MasonInstall " .. table.concat(opts.ensure_installed, " "))
end
end, {})
vim.g.mason_binaries_list = opts.ensure_installed