fix(dot): install when list is empty (#3052)

This commit is contained in:
Daniel Mata
2024-05-03 02:06:33 -05:00
committed by GitHub
parent f086bcde25
commit 3086bf03e9

View File

@ -18,10 +18,8 @@ return {
{
"williamboman/mason.nvim",
opts = function(_, opts)
vim.list_extend(opts.ensure_installed or {}, {
"shfmt",
"shellcheck",
})
opts.ensure_installed = opts.ensure_installed or {}
vim.list_extend(opts.ensure_installed, { "shellcheck" })
end,
},
-- add some stuff to treesitter