fix(dot): install when list is empty

This commit is contained in:
Daniel Mata 2024-04-24 17:44:21 -05:00
parent f086bcde25
commit 06978b431e

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